BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
AshleyM
Fluorite | Level 6

I’ve created a stored process that allows users who do not have EG to still run a stored process by enabling a guest account (http://yourserver.com:8080/SASStoredProcess/guest). While this access is sufficient, I’m wondering if and how I can use a direct URL to invoke the stored process, instead of having the anonymous users drill down through the different folders until they find the stored process they are looking for. I’d like to be able to just sent these users a URL that bypasses that navigation. Again, these users do not have EG.

1 ACCEPTED SOLUTION

Accepted Solutions
AshleyM
Fluorite | Level 6

Thought I'd share the answer with you all.

You can determine the URL by using the following approach.

(1) Invoke the SAS Stored Process Web Application using "_action=tree"

http://your.server:8080/SASStoredProcess/do?_action=tree

(2) Drill down and run a specific stored process.
Then, note the URL at the Top of your Web browser.
For example:

http://your.server:8080/SASStoredProcess/do?_program=/Teststp/Test1_stp&_action=form%2Cproperties%2C...

(3) If you want to run the stored process using the Guest account, then change the URL to specify
"/guest?" intead of "/do?".

http://your.server:8080/SASStoredProcess/guest?_program=/Teststp/Test1_stp&_action=form%2Cproperties...

View solution in original post

4 REPLIES 4
Technolero
Pyrite | Level 9

Using the stored process web application, browse to the stored process you want users to run and invoke it.  Take the URL from the address bar of the stored process you just ran and use it as a link for users.

AshleyM
Fluorite | Level 6

Should it build upon the URL that I included above? If so, it doesn't seem to be working. The only URL I can copy and paste is after running the stored process I can send out the URL with the results from my stored process.

Technolero
Pyrite | Level 9

I just got to thinking, if you have a guest account set up, then that account probably would only have access to see one metadata folder so they wouln't need to drill down.  Otherwise, using the sample Hello World! strored process as an example, your url would be something like http://yourserver.com:8080/SASStoredProcess/do?_program=%2FProducts%2FSAS+Intelligence+Platform%2FSa....

AshleyM
Fluorite | Level 6

Thought I'd share the answer with you all.

You can determine the URL by using the following approach.

(1) Invoke the SAS Stored Process Web Application using "_action=tree"

http://your.server:8080/SASStoredProcess/do?_action=tree

(2) Drill down and run a specific stored process.
Then, note the URL at the Top of your Web browser.
For example:

http://your.server:8080/SASStoredProcess/do?_program=/Teststp/Test1_stp&_action=form%2Cproperties%2C...

(3) If you want to run the stored process using the Guest account, then change the URL to specify
"/guest?" intead of "/do?".

http://your.server:8080/SASStoredProcess/guest?_program=/Teststp/Test1_stp&_action=form%2Cproperties...

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 2524 views
  • 1 like
  • 2 in conversation