Alter the Bootstrap Files
- Last UpdatedMay 10, 2023
- 2 minute read
The default bootstrap files are:
-
BootstrapAssetInstance.xml - Creates multiple portal Instances using a database.
Note: This is an optional file. It is required when the portal configuration needs to be picked from the database instead of the web.config file.
-
BootstrapClasses.xml - Creates the mandatory Class Library for the AIM Dashboard (below the system classes).
Note: This file contains the Classes, such as QueryFormDefinition, ExportDefinition and Set, which are mandatory for AIM to run with all the CRUD operations. It also contains AIM Player Classes, which if not required can be removed by deleting the classes from the comment <!--AVEVA NET Player Classes--> till <!--END AVEVA NET Player Classes-->.
-
BootstrapSampleClasses.xml (optional) - Creates the sample classes.
Note: This is an optional file. If it is not imported, AIM can still run with all the CRUD operations.
-
BootstrapSampleDataGroups.xml - Defines the Data Groups used and the classes they are linked to. See the Data Groups section in Configure Workhub API Data Structure.
-
BootstrapSampleInstances.xml - Defines default values for the Settings panel.
-
BootstrapSampleSearchCategories.xml - Defines the top level categories used in the Search panel. See the Search Categories section in Searching.
-
BootstrapSampleViews.xml - Defines which HTML files for Summary Views and Content Cards are used, and for which class of object they apply.
To use your own bootstrap files:
-
Create a new folder where you will store your modified files.
-
If you want to use the existing bootstrap files as a starting point, copy the files from [installation folder]\Import\Server\Bootstrap to the new folder.
-
Update the bootstrap location using Import Controller:
-
Open Import Controller.
-
Expand Import Servers.
-
Expand the server where the database is located - see Registering the Import Server section if the server has not already been added.
-
Right-click on the database - see Registering the AVEVA Asset Information Management Workhub Database section if the database has not already been registered.
-
Select Properties.
-
In the Bootstrap Folder box, enter the location of your new bootstrap folder.
-
Select OK.
-
To update the bootstrap files after a change:
-
Open Import Controller.
-
Expand Import Servers.
-
Expand the server where the database is located - see Registering the Import Server section if the server has not already been added.
-
Expand the database.
-
Right-click on BootStrap.
-
Select Force Update.
Bootstrapping is complete when the Status of the XML files changes to Existing.
Note: You must perform an IIS reset on the Application Server to see the changes in the web application.