Link Set/Link Set Group Configuration

Velma
Tera Guru

In UI Builder, has anyone worked successfully with the Link Set or Link Set Group components with internal ServiceNow links within the instance that are not routes? The component documentation links to API for the JSON of the properties here and there--but the links go to a San Diego version of the component overview page (which is to say, nothing). The samples in the component documentation are just for internal routes, as is the sample data in the "link set items" property (Link Set Group) or "links" property (Link Set) when you add the component to a page.

I was able to get external links working (likely not the ideal way) putting things together here and there and getting lucky. They look like this (sample):

 {
                "label""[label]",
                "value": {
                    "href""[url]",
                    "fields": {}
                },
                "type""external",
                "startsWith": {
                    "icon""headset-outline",
                    "align""center"
                },
                "endsWith": {
                    "type""icon",
                    "value""clipboard-outline",
                    "additionalAttrs"null
                },
                "opensWindow"true,
                "configAria": {},
                "download"false
            }

But what I want are links that go to my current ServiceNow instance whatever that instance is. This is easy to do with the Text Link component--just trim the base part of the URL and slash off and put the rest of it into the "Link" property (mine start with "x_". I have not succeeded in getting that to work with the Link Set/Link Set Group (guessing syntax at JSON is a tricky business). Anybody know how to do it?

0 REPLIES 0