Skip to content

Create a new Teamcenter plugin

August 25, 2011

Summary:

Teamcenter UI customizations are done using  Teamcenter custom plug-ins. The UI customizations can be created in Eclipse IDE.

Pre-requisite:

  1. Install Eclipse IDE ( Preferably Eclipse Classic IDE from www.eclipse.org ). It is recommended that you use correct version of Eclipse IDE.
  • For TC10.1+ use Eclipse 3.8
  • For TC9.1+ use Eclipse 3.6.
  • For TC 8.0+ use Eclipse 3.5.
  • For Tc2007 use Eclipse 3.2 or 3.3
  1. Install Teamcenter Rich Client 2 Tier (Tc2007 / TC 8.0+ / TC 9.1 / TC 10.1 ).

Overview:

  1. Create a new Eclipse Plug-in project.
  2. Configure Target platform.
  3. Run Teamcenter RAC from Plug-in Development Environment.

Details:

1. Create a new Eclipse Plug-in project :

Create new Teamcenter Plug-in Project.

2.  Configure Target platform : Change the plug-in target platform from default eclipse platform to Teamcenter Rich Client platform.

  • Hit “Windows->Preferences” Menu in Eclipse.
  • Expand “Plug-in Development”, select “Target Platform”.
  • Click on “Add…”
  • Click Add…

     

  • Add Content from TC_ROOT/portal (or TC_ROOT/rac) folder.

    Select Directory, and click Next…

     

  • Browse to “TC_ROOT”\portal directory (or TC_ROOT/rac), click Next…

    Select %TC_ROOT%\\portal folder (or %TC_ROOT%\\rac), click Next…

     

  • Select the New Target Platform, and Click “OK”.

    Select the new Target Platform, click OK

     

3.  Run Teamcenter RAC from Plug-in Development Environment:  Check if the Plug-in development environment is configured correctly.

  1. Hit “Run -> Run” in Eclipse IDE.
  2. When executing this for first time, a dialog would pop up, select “Eclipse Application” and click OK.
  3. The Teamcenter RAC is started.
  4. Invoking TC RAC from Eclipse does not automatically start TAO/TcServer, you may need to invoke it manually by executing %TC_ROOT%\portal\server_configs\start_imr.bat for Tc2007 ( %TC_ROOT%\start_imr.bat for TC 8.0+ / TC9.1+ / TC10.1+ )
  5. Enter Username and Password in Teamcenter login screen, and login. Check if you are able to login to Teamcenter.
  6. If you are able to login, your plug-in environment configuration is working well.

Congratulations, you are all set for your first custom plug-in for Teamcenter. I hope this post helps.

How to customize OR add a custom Menu Item?

How to create a custom Teamcenter Application? ( Perspectives and Views) etc will be discussed in separate  detailed posts.

5 Comments
  1. How can I get the Teamcenter Rich Client 2 Tier ?

  2. Anonymous permalink

    good post!
    does you have an example for the deployment of the plugin? I mean what does I have to Export the plugin in Eclipse

    • From eclipse the plugin can be exported by menu option “File -> Export”. In the export dialog select location where you would like to export the plugin.
      Click OK, the plugin (jar file) will get exported to the selected directory path/plugins folder.

      I hope this answers your question.

  3. Anonymous permalink

    how to a dialog to create business object in teamcenter from RAC

Trackbacks & Pingbacks

  1. Add Custom TCComponent like java classes « PLM Info

Leave a comment