Pre-populate LucidApp app.json with Filespace entries

David Bull
David Bull
  • Updated

 

There are certain situations in machine deployment where it is beneficial to pre-populate your LucidLink client Filespace entries en masse. 

In order to populate LucidApp with entries you need to modify the app.json file with appropriate properties for either a single Filespace or in multi-Filespace configurations.

Your app.json will require the Filespace unique identifier for each Filespace as well as a valid LucidApp instance ID. Instance IDs should conform to 501, 502, 503 and 504.

Identify your Filespace unique identifier when connected via command-line lucid status locating your Filespace id: <fsuid>.

Modify accordingly the following app.json templates and perform the appropriate environment user acceptance testing before deployment.

Single Filespace entry.

{
"updater": {
"notificationInterval": 86400,
"askMeLaterIgnoreDuration": 1209600
},
"filespaces": [
{
"user": "fsuser",
"filespaceName": "filespace.domain",
"filespace": "filespace.domain"
}
],
"instances": [
{
"filespaceId": "filespace-guid",
"filespaceName": "filespace.domain",
"instance": 501
}
]
}

Multiple Filespace entries.

{
"updater": {
"notificationInterval": 86400,
"askMeLaterIgnoreDuration": 1209600
},
"filespaces": [
{
"user": "user1",
"filespaceName": "filespace1.domain",
"filespace": "filespace1.domain"
},
{
"user": "user2",
"filespaceName": "filespace2.domain",
"filespace": "filespace2.domain"
}
],
"instances": [
{
"filespaceId": "filespace1-guid",
"filespaceName": "filespace1.domain",
"instance": 501
},
{
"filespaceId": "filespace2-guid",
"filespaceName": "filespace2.domain",
"instance": 502
}
]
}
Note: User property may be removed entirely, left blank "user": "", or include a user "user": "username",. SSO configurations will require the additional properties according to the provider. 
"ssoProvider": "okta",
"ssoProvider": "azure",
"ssoLoginName": "email@company",

If your app.json automatically resets there will more than likely be an incorrect property or a formatting issue, such as trailing comma.

Should you require assistance, please fell free to reach out to our support team. 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.