Shared auths and data (Static Slots)
- On this page
- Shared auths and data (Static Slots)
- 1. Setting a static authentication
- Drop-down lists associated with a static auth
- 2. Setting static config
- Updating static slots
For some Embedded Solutions it may be that you want to use shared authentications or set project config data to be the same value across all solution instances, without allowing the End User to set or change them. In this you can use what we call 'Static Slots'.
This is useful in cases where you wish all the End Users of your Solution to make use of the same authentication for a particular service, rather than having to administer multiple personal authentications.
An example of this might be if you have an FTP server with a company login, and you wish all your End Users to make use of this. Or you might have a company login for a service like Hubspot or Salesforce.
1. Setting a static authenticationCopied!
In order to set a static authentication you need to:
In the source workflow that your solution is based on, create the 'master' authentication for the service in question
In the solution editor, move the authentication under 'Hide from users' and tick the 'make static' box:
Drop-down lists associated with a static authCopied!
Note that any drop-down lists associated with the service that your solution statically authenticates to will be connected to the same static authentication.
For example, if you have used config data to allow the End User to choose from a list of Salesforce record types or Slack channels, then the record types or channels available will depend on what the static authentication has access to.
2. Setting static configCopied!
In order to set project config data as static you need to:
Set the config data and give it a default value
In the solution editor, move the config data under 'Hide from users'. As a result, the 'Config default value' will be used for every end user and they won't see the option to see this.
Updating static slotsCopied!
If you need to update a static slot (e.g. creating a new authentication or changing the default value for config data), then you will need to change this in the source workflow and then publish a new solution release.