BookmarkSubscribeRSS Feed
Mike_Drutar
SAS Employee

Are you interested in learning how to write SAS programs that interact with the Viya Rest APIs?  If so, here’s a SASGF breakout session you'll want to check out!    

 

This session will demonstrate SAS code which programmatically retrieves a Visual Analytics report’s unique id.  The id is then fed to a macro which requests the reportImages service create an SVG image of the report. 

 

But if you just can’t wait until SASGF to start creating SAS code that connects to the Viya Rest APIs, here’s the first example from the presentation to get you started!  The GitHub button below links to a SAS program which can be run in the SAS Studio 5.1 instance of a Viya 3.4 environment.  The program first finds any Visual Analytics reports named “Retail Insights”.  The resulting reports and their associated unique IDs are then printed in SAS Studio’s results window. 

 

 Take Me to GitHub!

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Discussion stats
  • 0 replies
  • 2672 views
  • 2 likes
  • 1 in conversation