Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.99 KB

File metadata and controls

46 lines (32 loc) · 1.99 KB

SAS Visual Investigator Solution Extensions

Table of Contents

  1. Home
  2. Getting Started
  3. Adding Mobile Solution Extensions
  4. Manually Uploading Bundles
  5. Debugging Solution Extensions Using Sourcemaps
  6. Using Existing Bearer Token For Upload
  7. Mobile Solution Extensions On Viya 3.5 (10.8)

Using Existing Bearer Token For Upload

If you already have access to a bearer token then you can use this token instead of supplying an admin username and password to upload the solution extension to the server.

To upload your solution extension using an existing bearer token you must ensure that your tooling packages meet the following minimum requirements:

Package Name Minimum Version
@sassoftware/vi-solution-extension-upload 0.7

If you have created your workspace using the command

npx @sassoftware/vi-solution-extension-create

and have chosen the option to use your own bearer token for upload then the .env file in the workspace should look like this

SVI_HOSTNAME=http://server-name.com
SVI_USERNAME=
SVI_PASSWORD=
SVI_BUNDLE_PATH=./dist/elements/main.js
SVI_BEARER_TOKEN=

Add the existing bearer token to the .env file and this will be used in the bundle upload process.

No Bearer Token Environment Variable In .env File

If the workspace has been created using an older version of the @sassoftware/vi-solution-extension-create create script then the SVI_BEARER_TOKEN variable may not be present in the .env file. This can be manually added at any point. As long as the @sassoftware/vi-solution-extension-upload package in the workspace is version 0.7 or higher, then the solution extension will work as expected.