Tc Requirement Set Rich Content: Set Rich Content

This example shows the input document that sets the rich content of a requirement.

In the snap configuration following values has to fed into fields

  • $req_uid to Object ID
  • $richContent to Rich Content
[
    {
        "req_uid":"QCPAgIiq7hAnmD",
        "richContent": "<p>Req1 Desc</p> <p><b>Some Content second Snap Test again</b></p>"
    }
]

UIDs in Teamcenter are as the name says UNIQUE. The UIDs in the example only exist in our Teamcenter system as expected for our example. Same is valid for Adapter ID "_id" since its base is the UID.

Snap configuration

Snap output


Settings of Snap matching information of input document.

The corresponding response example is:

[
  {
    "success": "true",
    "original": {
      "req_uid": "QCPAgIiq7hAnmD",
      "richContent": "<p>Req1 Desc</p> <p><b>Some Content second Snap Test again</b></p>"
    }
  }
]