Table of Contents

Interface EnvironmentSpecs

A context information for the current page, helping the JS talk with the backend

Package: Api.Js.SxcJs

Properties

api

Optional API key - optional if set from external, because it's auto derived from root

Declaration
api: string
Property Value
Type Description
string

appApi

Optional App API Root - required because in Oqtane we'll have a different root for appAPIs

Declaration
appApi: string
Property Value
Type Description
string

page

Page ID

Declaration
page: number
Property Value
Type Description
number

platform

The platform code like 'dnn' or 'oqt'

Declaration
platform: string
Property Value
Type Description
string

root

Portal root path - used for various things incl. the API root

Declaration
root: string
Property Value
Type Description
string

rvt

Request verification token value

Declaration
rvt: string
Property Value
Type Description
string

rvtHeader

Request verification token header name

Declaration
rvtHeader: string
Property Value
Type Description
string