Is there a simple way to get a list of all raports eg. below a specific folder ? see some of my code below.
Hope you have some code you can share.
Thanks in advance.
Here is my code:
%let BASE_URI=%sysfunc(getoption(servicesbaseurl));
/* Create filename for response */filename rep_id temp;/* Make the request */
proc http
oauth_bearer=sas_services method="GET"
url="&BASE_URI/reports/reports?createdBy=XXXX"
out=rep_id;
run;
libname rep_id json;proc print data=rep_id.items noobs label;
label name='Report Name' id='Report Internal ID';
var name id;
run;
Surely the page you are retrieving here contains a list of reports and links?
Surely the page you are retrieving here contains a list of reports and links?
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.