Accessing Resource Previews
Resource previews provide small preview information for the Windchill RV&S resources for supported domains. The Windchill RV&S OSLC Server provides the resource URI that the OSLC client applications can use to discover the link label and a resource icon. The OSLC client applications can then use the link label and icon to display the link in a meaningful way.
The Windchill RV&S OSLC Server supports the following URI with supported authentication for displaying the small preview of the Windchill RV&S resources:
GET <wrvs protocol scheme>://<wrvs server host name>:<wrvs server port number>/previewUIContext>/<alias>/<resource name>?id=<Windchill RV&S Resource ID>&preview=small
For example:
GET https://localhost:7001/extended-web-ui/oslc/redirect/previews/myOSLCServer/requirements?id=15&preview=small (for a live item)
GET https://localhost:7001/extended-web-ui/oslc/redirect/previews/myOSLCServer/defects?id=759&preview=small
GET GET https://localhost:7001/extended-web-ui/oslc/redirect/previews/myOSLCServer/requirements?id=15-1.0&preview=small (for a versioned item)
The OSLC client applications should set the Accept header to text/html when sending the GET request to the Windchill RV&S OSLC Server. In the response for such GET requests, the server provides HTML markups for the following default fields under the preview property as defined in the domain mapping files for supported domains. For instance, requirements-domain-mapping.json:
ID
Created By
Type
State
Text
For more information on the domain mapping files, see Mapping a Domain Using the Windchill RV&S OSLC Server.
The OSLC client applications can use these fields under the preview property to display a small preview of the Windchill RV&S Document and Node types.
* 
PTC recommends using field types other than long text with rich content, Query Backed Relationship (QBR), and relationships field types for small previews and the OSLC title field.