How to allow users with role "snc_external" access /api/now/tinyurl

TKN
Tera Expert

Hi all,

Is there a way to grant users with the snc_external role access to /api/now/tinyurl?

 

In the out‑of‑the‑box widget-data-table portal widget, the export function URLs are generated using the TinyURL REST API. Everything works correctly for users with the snc_internal role. However, when users with the snc_external role attempt to use the export features, they receive a 403 Forbidden error, and the exported file contains incorrect data.

 

TKN_0-1770284127441.png

TKN_1-1770284398089.png

TKN_0-1770284736467.png

 

 

 

11 REPLIES 11

Ankur Bawiskar
Tera Patron

@TKN 

this link has solution to create ACL and give that role

Not able to download report as excel,pdf etc as a external role on the portal using the custom widge... 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

TKN
Tera Expert

I think it is an ootb issue.

I tested this on a vanilla instance running the latest version. After installing the CSM plugin, I set the system property glide.tiny_url_min_length to 20.

 

When impersonating an external user and navigating to the CSM Portal → My Lists, the 403 Forbidden error on /api/now/tinyurl still occurs.