Content Item redirect from Service Portal Link widget

kevinclark-7EL
Tera Contributor

Hi team,

I'm sure this is probably a simple fix, but I'm struggling to figure it out... 

I'm defining some links using the Icon Menu List widget in Service Portal. 

 

Some of these links I would also like to have exist in the Service Catalogue as Content Items sent to External References (so I only need to manage the link updates in one place), so I've set these up as menu items that reference the Catalogue Item presented on the standard SC Catalogue Item Portal Page.

 

Because of this, the Icon Menu List Widget sends the user to the SC Catalogue Item page containing the link which then needs an additional click instead of directing the user immediately to the external site.

 

My work around would be to just have the link hard-coded to the Menu Item using the built in URL function instead of defining it in the Content Item record, but it'd be neater to manage both links in only one spot.

 

Wondering if anyone can help?

Kevin

4 REPLIES 4

Shambhu5
Kilo Guru

Hi Kevin,

Would you mind if I ask you to share some screen-shots and your final-goal what you want to achieve. 🙂

- Vishrut

kevinclark-7EL
Tera Contributor

Hi Vishrut,

 

Here's an example Content Item record:

find_real_file.png

Here's the Menu Link Icon config:

find_real_file.png

 

And here's how it renders on the Portal:

find_real_file.png

 

And on-click it opens the SC Cat Item Page (as it was configured to do):

 

find_real_file.png

 

What I'd like to happen is for the page to pick up that it's an external content link, and automatically open the external link.

I know I could use the Menu Link's "URL" type which has the desired behaviour, but I wanted to have the Content Item and the Link attached to the Menu Link widget be the same object if possible....

Hi Kevin,

It seems then you will have to go on with your workaround thing only. However there are some similar posts on community that might help you get better idea.

Please find below links:

Reply from Brad Tilton

Also please check your patch and version as suggested in below link:

Check for Version

Please mark my answer as Correct/Helpful in case that helped.

Regards,
Vishrut
find_real_file.png

kevinclark-7EL
Tera Contributor

Thanks Vishrut,

That's helpful, but doesn't get me entirely the answer I was hoping for. 

I imagine it's possible to hack the Catalog Item form or embed a widget on that catalog item page that will lie dormant unless the type of the is an External Content Item, and if it detects an external content item will then automatically redirect to the linked page.

I'm not keen enough just yet to build a custom widget to perform that redirect :).

 

Cheers, 

Kevin