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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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