Académique Documents
Professionnel Documents
Culture Documents
Body Text is the property that contains the Rich Content for Specification objects such as Requirements, Paragraphs, and
Note objects. This content cannot be directly opened in MS Excel as a cell in an Excel Worksheet cannot hold graphics,
tables, and other rich content which can be developed in MS Word. There are occasions where a user wants to go to the
associated Body Text in MS Word from an object exported to Excel to view or modify the Rich Content in MS Word. This
can be done by exposing the URL in the Export to Excel to click on the link to open it in MS Word. This link is readily
available in a Column based export to Excel butt it is not available with a Template based export unless you do some
configuration changes.
8. Select cell I5 and enter the Heading “URL For Body Text”
9. Select cell I7 and enter the property reference “fnd0_body_text_url”
Note: The Requirement Revision object has the “fnd0_body_text_url” property which has the URL link in the form:
http://GTAC1:7001/tc/webclient?TC_file=rm/rmreport.html&TcObjectId=QRZRBeU_I2iyBC&TcReportFormat=WordReport
&TcReportType=ItemReport&TcExportMode=LiveBodyText&TcTemplateName=
This link will open the Body Text for the respective Specification object in MS Word
3. Double-click Sheet1
Note: When using Excel Live, there are Visual Basic Events for the Excel Object model reserved by the Teamcenter
functionality such as the Open event which cannot be used for additional macro processing. In order to get an Excel
macro to run as a “pseudo-open” event, we will piggyback on one of the functionalities verification methods and start
to Post process on the Live connection using the ListBox12345. We will start processing when it loses focus.
In the Code section which just opened, add the following code:
End Sub
Note: This is sample VBA Code and not supported by GTAC or Development.
4. Select File…Close and Return to Microsoft Excel
5. Save this Workbook.
6. Close MS Excel
URL_REQ_default_e
xcel_template.xlsm
-Gene Lawson