Refer information in Web Viewer using URL
The URL shown in web viewer contains technical references to information and is not suitable to use when referring to information. But it is possible to refer to information in the Web Viewer using URLs. The standard URL refers to the information using the technical database id. This should not be considered as a persistent URL. For more persistent URLs Assert offer three methods.
Language code
Language code may be "auto", which will use the user's browser setting when selecting language to present. If user has made an active choice that choice will be used instead.
Method 1 - refer to an ID
URLs may contain the Identity or Persistent Identity of a presentation object. A presentation object is a Catalogue, a Part, a Part assembly or a Document. Information is then referred to according to:
https://{URL}/AssertWeb/{language code}/{site name}/{type of information}/{ID}/{typ of id}
Samples:
https://www.myspareparts.com/AssertWeb/auto/demosite/Catalogue/123/Identity
https://www.myspareparts.com/AssertWeb/auto/demosite/Part/124/Identity
https://www.myspareparts.com/AssertWeb/auto/demosite/Part/1245/PersistentIdentity
Note that the url visible in the web browser is not a persistent url and may change next time a publish is run.
Method 2 - refer to a label
URLs may contain a label which is used to refer to information. This label has to be defined in the Manager on the actual object.
https://{URL}/AssertWeb/{language code}/{site name}/{label}/label
Samples:
Method 3 - refer using Navigate
Version 5.3. This option is available in version 5.3 and later.
URL structure
Stucture if URL is
Language is two character language code or “auto”.
Attribute | Usage |
---|---|
presentation | a persentation |
part OR part-identity | a part number |
catalogue OR catalogue-identity | a product number (identity) |
part-assembly OR part-assembly-identity | a part assembly |
document OR document-identity | a document |
asset-identity | a serial number |
external-order-cart-identity | basket id from eg eCommerce |
organization | organisation token in dealer module |
node-persistent-identity | the Id (persistent-idenity) of a node. Must be used in combination with catalogue attribute. Note! Available in version 5.3.2 and later |
Sample URLs
Related articles