This section of the file contains the information for each enabled site and plant. Note that:
-
Each site can have multiple plants.
-
When sites are plants are enabled, they are enabled for both APIs.
-
Both APIs can work with multiple sites, regardless of the database type.
Example section
"EnabledSites": [
{
"EnabledPlants": [
{
"PlantDatabaseName": "marine",
"CatalogDatabaseName": "marine",
"SharedContentPath": "D:\\SharedContent"
},
{
"PlantDatabaseName": "for_Api_2502",
"CatalogDatabaseName": "Api2502_CDB",
"SharedContentPath": "D:\\SharedContent"
}
],
"SiteAlias": "SiteAlias",
"Server": "IN-PPM108396\\MSSQL2019",
"DatabaseName": "SAMEER2502_SDB",
"DatabaseProvider": "MSSQL",
"IsUpToDate": true
}
],
Description
-
Enabled Sites - The information for each enabled site and each enabled plant within those sites.
-
EnabledPlants:
-
PlantDatabaseName - Smart 3D plant database name.
-
CatalogDatabaseName - Catalog name to which this plant belongs.
-
SharedContentPath - Symbol Share Path to which the catalog is associated.
-
-
SiteAlias - Unique name for your Smart 3D site that appears in URLs and is specific to the Web API that you are configuring. This alias:
-
Can be the same as your site database name or any other string, but must be a unique site alias name within your configuration
-
Must start with a character or an underscore ( _ )
-
Cannot be longer than 127 characters
-
-
Server - Database server for Smart 3D.
-
DatabaseName - Smart 3D site database name.
-
DatabaseProvider - database provider for Smart 3D.
-
IsUpToDate - Indicates whether the database has been migrated and is up-to-date for the Smart 3D software (true) or not (false).
-