Mapping Requirements Domain Using Windchill RV&S OSLC Server
The Windchill RV&S OSLC Server supports discovery of various Documents and Node types that are defined in the Windchill RV&S mapping file ResourcesNameMapping.xml located in the Windchill RV&S server. This mapping file corresponds to the administrative objects on the Windchill RV&S server. For more information on auto-mapped admin objects, see the Windchill RV&S Installation Guide.
The OSLC mapping file requirements-domain-mapping.json located in <installdir>/mapping defines the mapping between the following:
Requirements in the requirements domain with the Windchill RV&S node (requirements).
Requirement collections in the requirements domain with the Windchill RV&S segment (requirement documents).
This enables the Windchill RV&S OSLC Server to expose the requirements domain to the OSLC client applications.
The Windchill RV&S OSLC Server provides the following Service Provider resources:
All Projects
Requirement documents under a specific project
Requirements under a specific requirement document
All requirement documents
All requirements
For a solution other than Requirements and Validation solution that contains requirement documents and requirement types, you can map the corresponding fields with the requirement collection and requirement resources on the Windchill RV&S OSLC Server referring to the Windchill RV&S mapping file ResourcesNameMapping.xml. Ensure that the types and fields corresponding to the requirement document types and requirement types are mapped in the OSLC mapping file requirements-domain-mapping.json. You can edit the existing fields or replace the contents of the file to define the mapping with your custom solution.
* 
It is mandatory to define the "dcterms:identifier" OSLC field in the mapping file. This OSLC field must be mapped with an ID of the Windchill RV&S field.
It is recommended to map the "dcterms:title" OSLC field in the mapping file. PTC recommends this field to be mapped for requirementCollectionTypes and requirementTypes with a shorttext field type of Windchill RV&S.
It is recommended to take a back-up of the original file requirements-domain-mapping.json before making any updates to it.
The mappings are mentioned as an example in the requirements-domain-mapping.json file. You must update the mappings based on the Windchill RV&S mapping file ResourcesNameMapping.xml.
When using the Windchill RV&S OSLC Server with Windchill Modeler, consider the following:
While working with Windchill Modeler for connecting to the Windchill RV&S OSLC Server, PTC recommends mapping the Windchill RV&S field of Short Text type with the “dcterms:title” and “oslc:shortTitle” OSLC fields under the requirementCollectionTypes and requirementTypes properties in the requirements-domain-mapping.json file.
Use the Initialize Summary field for Node trigger provided with the Requirements and Validation Solution for generating values for such fields of Short Text type. This trigger extracts the text of the rich content field from the requirement node and adds it to the fields of the Short Text type.