Skip to main content
Version: 0.3.0

SASReportPageElement

SASReportPageElement is a custom HTML element that renders a report page. This element extends HTMLElement.

To find the correct values for url, reportUri, and pageName, see the Getting Started page.

Custom Element Tag

<sas-report-page
authenticationType="guest"
url="http://my-viya-server.com"
reportUri="/reports/reports/c3c6befb-3981-4c9e-b011-7dc11dec5e37"
pageName="vi20"
></sas-report-object>

Attributes

authenticationType: string

Choose the method to authenticate requests to the SAS Viya server.

  • 'guest' automatically signs in to the SAS Viya server as the guest user.
  • 'credentials' uses SAS Logon to establish an authenticated session.

default value: 'credentials'

url: string

Specify the URL of the SAS Viya server that hosts the report. This is the full context root, including the protocol, optional port, and host.

reportUri: string

Specify the report URI.

pageName: string

Specify the name of the report page that you want to display. Either pageName or pageIndex can be used, but not both.

pageIndex: number

Specify the index of the report page that you want to display. 0 is the first page. Either pageName or pageIndex can be used, but not both.