Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Issue in resolving a SRAPI endpoint to a CSV file

Shalaka Vaze
Tera Contributor

Hello Experts,

We have a requirement where user should be able to directly download selected records from the list view of a table into a CSV file via a UI button on the list banner. This is implemented via a Scripted REST API(GET). On clicking the UI button, the invoked script include makes the API call and returns the endpoint URL. This returned URL is then opened in a new window via the UI action and the CSV file gets downloaded.

 

We are passing the selected sys_ids in the API parameter. This is working fine as long as the selected record count does not exceed 20. When it does, the URL is shortened (sysparm_tiny) and the desired file is not generated. If anyone has come across resolving such an issue please guide on how to overcome this limitation. 

0 REPLIES 0