You can create a load job in the Web Client when setting up a plant or project. This allows you to control the type of data entering your system and validate it by converting the SmartPlant Foundation object into a load job. The load job contains one or more control files with all the details of the data that must be validated before entering into the system, such as tags or documents and their attached files. Each load job has a defined classification that determines which type of data must be validated using Data Validator.
You can create a new classification for folders and a load job for that classification using the Desktop Client. Use the sample load files and CSV file located at Smart Community. For more information, see Find sample data on Smart Community.
Alternatively, you can use the following steps and create your own load job for any classification, using the Desktop Client:
-
Create a new classification under the Loader Types classification by loading an XML file using the Loader.
-
Create a job details object and relate the job details object to the newly created classification.
For more information, see Create a new job details object.
-
Create a new method and relate it to the CreateClassObjAndLoad client API and the LoaderOptions feature set using the SPFFeatureSetMethods relationship definition. Ensure that arguments 1, 3, 4, 6, and 8 are configured in the method.
For more information, see CreateClassObjAndLoad client API.
The workflow specified in SPFArgument8 of the new method you create will override any other workflow specified in the job definition in Data Validator Administration.
Set the SPFArgument14 on the method to True to show a configuration selection page in the wizard from which you can select the target system configuration to export the data into a specific configuration scope.
Run a load job
-
In the Load Manager feature set, click Load <Object>.
-
Type a description for the load job.
-
Select the Suppress ENS check box if you want the ENS to be suppressed and objects to be named according to the values in the CSV file.
The Suppress ENS check box is enabled by your administrator.
-
Click Next, and upload the CSV file.
The CSV file formatting is validated after successful upload, before the load job is created. Delete the CSV file if any formatting errors are displayed, and upload it again after rectifying the errors.