Configuring Domain Specific Links
In order to create a domain specific canonical link for an entity, you must do the following:
• Set the configuration option generateDomainSpecificLinks in your <entity>.json file. It must have the following format:
"generateDomainSpecificLinks": [
{
"domain": "<domain Name>",
"entitySet": "<entity set>"
}
],
The domain and entity set must be valid and will be used to construct the href. The relation will be derived from domain and entity set and will be of the form "<domain>/<entitySet>".
• To retrieve the canonical link you must also specify the following Accept Header :
Accept: application/json;odata.metadata=full
For example, to generate a Change Management-specific canonical link for changeable objects to be used within the Change Management domain you must specify the following in the <entity>.json files for which you want to generate canonical links to changeable objects.
"generateDomainSpecificLinks": [
{
"domain" : "ChangeMgmt",
"entitySet" : "Changeables"}
],