BookmarkSubscribeRSS Feed
JeppeDeigaard
SAS Employee

JeppeDeigaard_0-1607579911630.png

 

Step 1: Export Your SAS Visual Analytics Object

  1. Click on the “3 vertical dot” Icon
  2. Click on “Copy Link…”
  3. Select “Guest Access”, “Interactive Report” & “Embeddable web component”
  4. Click “Copy Link”

JeppeDeigaard_1-1607579911643.png

 

Step 2: Embed the object in you CRM system (here html code)

  1. Paste the link in your html <body>
  2. Add the following in your html <head>:
    1. <script async src="https://unpkg.com/@sassoftware/va-report-components@0.11.0/dist/umd/va-report-components.js"></scrip...>
  3. Voila – Now you are up to speed with Santa!

 

<!DOCTYPE html>

<html>

<head>

   <style>

      body {

                 background-image: url('julebaggrund.jpg');

                }

 

   </style>

 

   <script async src="https://unpkg.com/@sassoftware/va-report-components@0.11.0/dist/umd/va-report-components.js"></scrip...>

 

</head>

<body>

 

<sas-report-object

      style="width:600px; height: 400px; margin:0 auto; padding: 300px 0; text-align:center"

      objectName="ve137"

      authenticationType="guest"

      url=https://viyawaves.sas.com

      reportUri="/reports/reports/785279d5-69eb-467d-9e56-647b792b2498">

   </sas-report-object>

 

</body>

</html>

 

For more information and inspiration see:

 

Happy Holidays

2 REPLIES 2
Timholbek
SAS Employee
Incredible! Also cool that you can embed objects in Mobile Apps - so many options
Happy Christmas
JeppeDeigaard
SAS Employee

Got a question on the subject on linked in – posting Q&A here:

 

Questions: “On VA on SAS9, if you want to embed objects in a standard HTML page, it is a requirement that you configure x-frame options server-side on the applications layer. Is this different on VA on Viya or do you still have to configure server-side?”

 

Answer: “Using VA SDK, the Viya server needs to be configured. The link below describes what needs to be done. See under section “SAS Viya Setup”

 

https://developer.sas.com/sdk/va/docs/getting-started/#installation

 

Please Note: These configuration steps also applies for the iFrame approach.”

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
  • 2 replies
  • 812 views
  • 10 likes
  • 2 in conversation