Issue with CSV Export not Completing for External Users in Custom Application

senon
Tera Sage

hello experts

I have a requirement for external users to log into an instance and access a custom application.
I'm having trouble exporting csv.

 

■Problem
When an external user executes csv export on the list screen in a custom application, the "Export in progress" dialog does not close and remains permanently in "Export starting".

senon_0-1700645509893.png

 

■Background
- External users need to access a custom application and download csv data for a specific record.
- The external user is given the [snc_external] role and her ACL is defined to allow access to the application.
- Similarly, I cannot download JSON, xlsx, or PDF formats. However, I can download the PDF from the form screen.

- I also tried exporting using a URL, but it just downloaded an empty file.
  ⇒[https://docs.servicenow.com/csh?topicname=t_ExportDirectlyFromTheURL.html&version=latest]

 

I don't know how to solve this.

Is there a way for an external user to export a csv?
We are looking for everyone's opinions.


Best regards

senon

1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

Hi @senon 

 

please be really careful with what you are doing as you are breaking down the border between internal and external users. Users with the snc_external role are basically not allowed to do anything in the backoffice (aka Core UI), but only in any portals. I can even imagine that you are violating the license terms of ServiceNow or any security restrictions in your company.

 

If your external users need any data, you instead could think about providing such a functionality via a catalog item. That way you even have more control about what data is leaving the system and then build a customized functionality which is only exporting the requested data for the certain user and not everything!

 

Maik