How to enable licenses for a group from the Command Line

How to enable licenses for a group from the Command Line

book

Article ID: KB0077689

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

To allow users to access different features in Spotfire, the respective licenses should be assigned to a group the user belongs to. See the How licenses work reference for more details:
  • "Licenses provide access to the features of Spotfire. The administrator sets licenses for groups, thereby determining what the group members have permission to do within the Spotfire environment."

Issue/Introduction

This article explains on how to enable license from command line on server

Resolution

We can enable the required licenses from the command line with the config tool on the TIBCO Spotfire Server by running a command like the following. This example is enabling the WebPage Panel and Bookmark Panel for the "Everyone" group:
config set-license --group="Everyone" --license="Spotfire.Dxp.EnterprisePlayer" --functions="collaborationPanel,bookmarkPanel"
Licenses should be listed by their technical names and not their display names (for example "Spotfire.Dxp.WebPlayer", rather than "TIBCO Spotfire Consumer"). You can use the list-license command to get the list of licenses. For example:
config list-licenses

 

Additional Information

Doc: How licenses work Doc: set-license command Doc: list-licenses command