How to get URL suffix of Service Portal in Service Catalog
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2018 06:57 AM
We are using multiple Service Portals.
I want to get the URL suffix of Service Portal (ex: sp) when catalog item is requested from only the Service Portal.
I am trying to get the URL suffix using "onSubmit" client script of Variable Set.
- How can I judge whether catalog item is requested from Service Portal using client script?
- Can I get the URL suffix from the Variable Set's client script?
Labels:
- Labels:
-
Service Catalog
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2019 02:35 AM
I know this thread is quite old, but for anyone still looking for an answer to this, in order to get service portal url suffix in client script, one can simply use - $scope.portal.url_suffix