BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.

Hi, I want to call below html code, may be I can have this in html file. Can you suggest to call these html code through SAS. TIA. 

 

<html>

<head>
<title>Open URL in New Tab </title>
</head>

<body>


<p> Click the button to open
<b> SAS Site </b>
in new tab
</p>


<button onclick="NewTab()">
Open Here to open SAS S*ite
</button>

<script>
function NewTab() {
window.open(
"SAS: Analytics, Artificial Intelligence and Data Management | SAS", "_blank");
}
</script>

</body>

</html>

1 ACCEPTED SOLUTION

Accepted Solutions
kumarsandip975
Pyrite | Level 9
May be I can give you complete requirement.
1. I am setting up a solution to access sharepoint site from sas studio.
2. This setup will require token.json file, which is kind of manual task which every user has to generate/refreshed(it will expire when user is changing password).
3. As per blog post, https://communities.sas.com/t5/SAS-Communities-Library/How-to-use-SAS-to-access-Microsoft-365/ta-p/6... , I have configured everything and able to access sharepoint site as well.
4. I want to automate tokennization process , this process has two part:
4.1 get the authorization url
4.2 from authorization url response , get the auth_code
This process really challanging for every other users , so I am thinking to automae bit, may be If I can get sutorization url response like some kind og pop-up through some process so that user can use the same in auth_code.

View solution in original post

4 REPLIES 4
kumarsandip975
Pyrite | Level 9
I want to get the new link to be appear on new tab or new window.
kumarsandip975
Pyrite | Level 9
May be I can give you complete requirement.
1. I am setting up a solution to access sharepoint site from sas studio.
2. This setup will require token.json file, which is kind of manual task which every user has to generate/refreshed(it will expire when user is changing password).
3. As per blog post, https://communities.sas.com/t5/SAS-Communities-Library/How-to-use-SAS-to-access-Microsoft-365/ta-p/6... , I have configured everything and able to access sharepoint site as well.
4. I want to automate tokennization process , this process has two part:
4.1 get the authorization url
4.2 from authorization url response , get the auth_code
This process really challanging for every other users , so I am thinking to automae bit, may be If I can get sutorization url response like some kind og pop-up through some process so that user can use the same in auth_code.
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
  • 1428 views
  • 0 likes
  • 2 in conversation