Teamcenter Polarion Integration
Teamcenter Polarion Integration
Teamcenter Polarion Integration
Teamcenter/Polarion Integration
4 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.1 FAQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
https://docs.sw.siemens.com/en-US/doc/230235217/PL20220419389880191.xid1465510/xid2021811
Prerequiesites
Note:
Confirm that you have the required prerequisites before installing the integration.
Install the integration
[POLARION_HOME]
\polarion
\extensions
\com.teamcenter.direct.integration
\eclipse
\plugins
#===========================================================================
# Teamcenter Configuration
#
# TC_SERVER_URL -Defines the default Teamcenter Server URL (Required)
# AW_URL - Active Workspace Client URL (Required)
# ACTIVE_HOST_URI_KEY - Active Workspace Client hostkey (Optional)
# STAGING_DIR - Define the cache and staging directories (Required)
# BOOTSTRAP_URLS -
FMS Bootstrap URL (Currently Required but will be optional once CIS provide support)
# TEMP_FMS_DIR - Temporary FMS Directory (Optional) Ex. path of %TEMP% vaiable
# TC_CLIENT_CACHE - Use Tc client cache as derby needs to be true
# IS_TCCS - Flag to define if TCCS enabled (Optional)
#===========================================================================
ACTIVE_HOST_URI_KEY=activehost
AW_URL=http://[YOUR ACTIVE WORKSPACE CLIENT URL]:3000
TC_SERVER_URL=http://[YOUR DEFAULT TEAMCENTER SERVER URL]/tc
STAGING_DIR=C:\\bhm\\staging
BOOTSTRAP_URLS=http://[YOUR BOOTSTRAP URL]:4544
TEMP_FMS_DIR=
TC_CLIENT_CACHE=false
IS_TCCS=false
#===========================================================================
# SSO Connection Variables
# ------------------------
# Set the following variables to define the target Teamcenter SSO server,
# Application ID and SSO Session flag value.
#
# Below Fields are required if SSO enabled.
#
# TC_SSO_APP_ID - Defines the default Teamcenter SSO Application ID.
#
#===========================================================================
TC_SSO_APP_ID=tc
8. Save your changes to the polarion.properties file.
9. Restart the Polarion server.
1. Open the scope (project or global) that you want to configure the integration for and enter Administr
ation.
2. In Navigation, select Work Items Form Configuration.
3. Under Form Layouts, click Edit beside the Work Item Type you want to configure the integration
for.
4. Add the following where you want the widget to appear in a Work Item.
<extension id="linkedTeamcenterItems"/>
5. Click Save.
Enable the Teamcenter widget in the LiveDoc Properties and Work Item sidebars
1. Open the scope (project or global) that you want to configure the integration for and enter Administr
ation.
2. In Navigation, select Documents and Pages Document Properties Sidebar.
3. Add the following where you want the widget to appear in the sidebar.
<extension id="linkedTeamcenterItems"/>
4. Click Save.
5. In Navigation, select Documents and Pages Work Item Properties Sidebar.
6. Add the following where you want the widget to appear in the sidebar.
<extension id="linkedTeamcenterItems"/>
7. Click Save.
https://docs.sw.siemens.com/en-US/doc/230235217/PL20220419389880191.xid1465510/xid2050541
Prerequiesites
Install in Teamcenter
1. Launch Teamcenter Environment Manager (TEM) with administrative privileges. Right-click the tem
.bat program icon and choose Run as administrator.
(Default path: Siemens/Teamcenter13/install/tem.bat)
2. Select Configuration Manager and click Next.
6. Expand the Extensions tree and then the Model Management tree and select Server.
8. Scroll down, select Teamcenter Polarion Direct Integration, and click Next.
9. Shut down the suggested services and all tcserver background processes, and click OK.
Caution:
10. Enter the Password for the infodba user and click Next.
11. Make a note of the template files that are also installed and click Next
The installation may take several minutes depending on the speed of your computer.
12. (Optional) Click Show Details to view what is happening in the background.
A confirmation screen appears with a path to the installation log when the installation is complete.
To allow Polarion Test Case LiveDocs to properly be published to Teamcenter and correctly create Test
Cases (which are children of Paragraphs) in Teamcenter, add the following value to
the TCAllowedChildTypes_Paragraph preference in Product Configurator.
IAV0TestCase
https://docs.sw.siemens.com/en-US/doc/230235217/PL20220419389880191.xid1465510/xid2021807
Introduction
We created the Polarion/Teamcenter Direct Integration to aid an increasing number of Polarion and
Teamcenter customers that author requirements directly in Polarion and want to integrate them with the
Teamcenter ecosystem.
With this integration you can:
4 Getting Started
4.1 FAQ
https://docs.sw.siemens.com/en-US/doc/230235217/PL20220419389880191.xid1465510/xid2021813
You can always view the status of the Job Log in the Polarion Monitor.
5. Is a LiveDoc and all its artifacts published to Teamcenter or is something left out?
Currently Free text (body text that is not in a Heading or Work Item) and Wiki Blocks in a LiveDoc ar
e not visible in Teamcenter.
Tip:
You can view Free Text and Wiki Blocks in the PDF snapshot of the LiveDoc uploaded to
Teamcenter.
6. Some specifications can contain thousands of Work Items. When they're being published to
Teamcenter could they potentially timeout? What happens if the connection between Polarion
and Teamcenter is lost?
The current timeout window is eights hours so even large specification Documents do not time
out.
If the Teamcenter or Polarion servers go down, an error appears in the publishing log, and you
must restart the publishing process when the connection is restored.
7. I published a LiveDoc to Teamcenter but when I try and republish an update, I get the following
error.
This message is displayed when you try to edit a field (in this case, the LiveDoc's title) that is beyond
your permission level.
8. How do I configure the mapping between Polarion and Teamcenter?
The mapping between Polarion and Teamcenter is handled through the POLARION_BHM_INT_DEF_
FILE dataset XML file on the Teamcenter server.
https://docs.sw.siemens.com/en-US/doc/230235217/PL20220419389880191.xid1465510/xid2045548
The connector publishes all images, tables, attachments, links and rich-text content within the Work Items of
the selected LiveDocs to Teamcenter in a read-only, Released state.
Note:
In Polarion LiveDocs Free text (body text that is not in a Heading or Work Item), and Wiki Blocks ar
e not captured in Teamcenter as objects. Instead, the information is visible in a published PDF file
attached to the Teamcenter specification.
Currently, artifact changes made in Teamcenter do not get synced back to Polarion.
See the FAQ section for answers to common user questions.
1. Select the Polarion project that contains the LiveDoc you want to publish to Teamcenter.
2. In Navigation, click Documents and Pages.
3. Expand the Space and select your target LiveDoc.
5. Click Publish.
The publishing time depends on the number LiveDocs, their size, and the number of artifacts they
contain.
6.
Note:
You can always view the status of the Job Log in the Polarion Monitor.
7. Once published, click Close on the confirmation dialog box.
8. Switch to the Teamcenter browser tab and view the LiveDoc there.
Tip:
Refresh your browser, or the LiveDoc (click on the top right) to ensure that you are viewing the
latest revision and to populate the Teamcenter link in the Document Properties sidebar or Work
Item Properties sidebar if it is your first time publishing.
https://docs.sw.siemens.com/en-US/doc/230235217/PL20220419389880191.xid1465510/xid2051479
Note:
In Polarion LiveDocs Free text (body text that is not in a Heading or Work Item), and Wiki Blocks ar
e not captured in Teamcenter as objects. Instead, the information is visible in a published PDF file
attached to the Teamcenter specification.
Currently, artifact changes made in Teamcenter do not get synced back to Polarion.
See the FAQ section for answers to common user questions.
1. Select the Polarion project that contains the LiveDoc you want to publish to Teamcenter.
2. In Navigation, click Documents and Pages.
14 | Page Polarion ALM 22 R2 2023-03-19 16:04
Demo01
Teamcenter/Polarion Integration (rev. 294)
3. Select the target Space's index page by doing one of the following:
a. Expand the Space in Navigation and click on its Index page.
4. Select the boxes to the left of your target LiveDocs and click Publish to Teamcenter at the top
right.
Tip:
If you publish a Requirement specification first and a test case specification later, links are still
15 | Page Polarion ALM 22 R2 2023-03-19 16:04
Demo01
Teamcenter/Polarion Integration (rev. 294)
established.
If you are already logged on to Teamcenter the Publish to Teamcenter dialog box appears. If not, you
are asked to log on to Teamcenter in a new browser tab.
Note:
You can always view the status of the Job Log in the Polarion Monitor.
7. Once published, click Close on the confirmation dialog box.
8. Switch to the Teamcenter browser tab and view the LiveDoc there.
Tip:
Refresh your browser, or the LiveDoc (click on the top right) to ensure that you are viewing the
latest revision and to populate the Teamcenter link in the Document Properties sidebar or Work
Item Properties sidebar if it is your first time publishing.
https://docs.sw.siemens.com/en-US/doc/230235217/PL20220419389880191.xid1465510/xid2051668
You can update a requirement LiveDoc in Polarion and republish it at any time to Teamcenter.
Updates are typically done when significant changes are made to the LiveDoc and must be communicated or
represented in Teamcenter.
Update and republish a LiveDoc to Teamcenter
1. Select the Polarion project that contains the LiveDoc you want to update.
2. In Navigation, click Documents and Pages.
3. Expand the Space and select your target LiveDoc.
The LiveDoc appears on the right.
4. (Optional) Confirm that the LiveDoc has already been published in Teamcenter.
Select and Document Properties to launch the Document Properties sidebar.
If the LiveDoc was published to Teamcenter, a link appears in the Linked Teamcenter Items section.
5. Update your requirements in Polarion and Save your changes.
6. Click (Settings) on the left of the toolbar and click Publish to Teamcenter.
If you are already logged on to Teamcenter, the Publish to Teamcenter dialog box appears. If you are
not, you are asked to log on to Teamcenter in a new browser tab first.
7. Click Publish on the Publish to Teamcenter dialog box.
8. Click Close once published.
9. (Optional) To view your changes in Teamcenter, click the LiveDoc's link in the Linked Teamcenter
Items section of link in the Document Properties sidebar.
Tip:
The letter after / in the link represents the number of revisions published to Teamcenter. (D means
that four revisions of this LiveDoc were published to Teamcenter.)
https://docs.sw.siemens.com/en-US/doc/230235217/PL20220419389880191.xid1465510/xid2045549
After publishing Polarion requirements to Teamcenter, you must refresh your browser. If you do not, the
Teamcenter link in the Document Property or Work Item Property sidebars is not visible the first time you
publish, or the revision letter is not updated if you republish.
When Polarion LiveDocs are published in Teamcenter, they preserve the hierarchy created in the original Liv
eDoc.
In the Documentation tab, the Trace Link icon appears next to the artifacts with existing Trace Links.
Click beside a linked item to open its Overview tab in a new browser tab.
The tree location, and a preview of the linked requirement are also visible.
Click to remove an existing Trace Link.
Click the More... link to launch the Existing Trace Link dialog box.
Update in Polarion
If you want to make changes to a requirement, open it in Polarion and republish it to Teamcenter.
If the selection is a Work Item level artifact (like Titles, or Requirement Work Items), it opens
in the Work Item viewer.
https://docs.sw.siemens.com/en-US/doc/230235217/PL20220419389880191.xid1465510/xid2050995
If you want to configure Teamcenter Parameters or Variant rules, you must unlock a requirement.
Caution:
Artifact changes made in Teamcenter do not get synced back to Polarion.
Unlock a requirement in Teamcenter
1. Select one or more published Polarion objects in Teamcenter that you want to unlock.
You can do this in one of the following ways:
a. Select the requirement in the Tree with Summary view.
Note:
The Modify Polarion Requirements template is provided as simple example.
This template processes the node that you select and the elements below it, and sets them as editable.
4. Click Submit.
A dialog appears confirming that the selected object was submitted to a workflow and it is now
modifiable.
Caution:
The text and structure of the Teamcenter requirement objects should not be modified because they are
changed the next time they are updated from Polarion. Modifications or updates should be limited to
relating parameters, assigning configuration rules and options, or other relations.