The easiest way to create an adapter header file is to copy one of the existing ones in SmartPlant Foundation. An example file is described in the details section on header file creation earlier in this document. There are a few key things not to forget:
-
Remember to set the schema component and make sure the ToolSchemaMapFile name to that of the tool map schema file created above.
-
Name the adapter file after the adapter code reference that you are using to be consistent with existing header files. For example, SPFAdapter_PAFile.xml.
-
Set the document category, type, title, and component schema for the published document.
-
Set the equipment interface and relationship definition for relating it to the document.
-
Similarly set up the retrieve information.