CreateHyperlink Functions
The CreateHyperlink and CreateHyperlinkSession functions return a link to a specified table record in a specified System file. These two functions differ only in respect to parameters for login. For more information, see Login Parameters.
Syntax
The following is the syntax for an HTTP request:
POST /WindchillRiskandReliability12.0/DataEngine.asmx/CreateHyperlink HTTP/1.1
Host: HostName
Content-Type: application/x-www-form-urlencoded
Content-Length: length

UserName=string&Password=string&GroupName=string&ProjectName=string
&SystemName=string&Table=string&Identifier=string
Parameters
In addition to login parameters, both the CreateHyperlink and CreateHyperlinkSession functions use these parameters:
ProjectName—The name of the Windchill Risk and Reliability Project. This value is case-sensitive.
SystemName—The name of the System file. This value is case-sensitive.
Table—The name of the Windchill Risk and Reliability table in which the record is located. This value is case-sensitive.
Identifier—The identifier of the record to which you want to link. This value is not case-sensitive.
The following is an example of an HTTP POST request:
POST /WindchillRiskandReliability12.0/DataEngine.asmx/CreateHyperlink HTTP/1.1
Host: HostName
Content-Type: application/x-www-form-urlencoded
Content-Length: length

UserName=Bill&Password=passwd&GroupName=Manager&ProjectName=Tablet PC &SystemName=Tablet PC&Table=System Tree Items&Identifier=A5
Returns
If the user is authenticated and the Project is found, a link to the specified record is returned.
<?xml version="1.0" encoding="utf-8"?>
<DataEngineFileListResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.ptc.com/WindchillRiskandReliability/12.0/">
<Success>true</Success>
<AdditionalData>http://WindchillRiskandReliabilityServer/
WindchillRiskandReliability/WindchillRiskandReliability.&
viewing=SysTree&id=1037</AdditionalData>
</DataEngineFileListResponse>
If the call fails, the AdditionalData tag provides the reason for the failure.