Managing Changes to Remote OSLC Data
You can manually toggle suspect traces for the OSLC links associated with Windchill RV&S Document Model items, if required.
To toggle suspect traces for an OSLC link:
1. Open the document in DocStudio.
2. Select the required item for which the OSLC link is created.
3. In the Select Action list, select Edit OSLC Link.
4. Under the OUTGOING OSLC LINKS column of the item, you can toggle suspect traces.
◦ Click
under
ACTIONS to indicate the OSLC link as a suspect. An icon
under
SUSPECT appears to indicate that the OSLC link is a suspect trace.
◦ To clear the OSLC link as a suspect, click
again under
ACTIONS.
Windchill RV&S administrators can also set a trigger that can update the suspect trace on the OSLC link created on the Windchill RV&S Document Model items. Administrators can use the markSuspectOnOSLCLinks method to set the trigger. For more information on the markSuspectOnOSLCLinks method, see the Event Trigger Java Documentation.
The trigger marks the OSLC link as a suspect trace automatically if it detects a change in the modified date of an external object. After the trigger run, any change in the title is updated in Windchill RV&S. If an OSLC link is marked as a suspect trace, the trigger does not run even if there is a change in the item associated with the OSLC link.
Consider the following for the trigger created using the markSuspectOnOSLCLinks method:
• For the OSLC server authentication, the is.properties file should include the server ID of the supported OSLC servers with the user name and password of authorized users in the format ServerID=username;password where ServerID is the ID of the OSLC server. Ensure that you use encrypted passwords. For more information on encrypting server-side passwords, see the Windchill RV&S Help Center.
The specified server ID should also match with the server ID set in the OslcServers.xml file.
If the Windchill RV&S OSLC Server is configured with ISAM authentication scheme, the is.properties file should include the server ID of the supported OSLC servers with the user name of authorized users in the format ServerID=username where ServerID is the ID of the OSLC server.
| Use \\ if you want to specify username in the DOMAIN\username format in the is.properties file. For example, mydomain\\user1. |
• The trigger marks the OSLC links as suspect traces again if it detects any changes since the suspect status was last cleared.
• Running the trigger on a single large query is a time-intensive operation. Specify multiple queries instead for efficient execution of the trigger.