Plug-In Packages

Plug-In packages are similar to integration packages in that they are exportable and importable collections of information. By enabling the plug-in extension on a job, IFS/Asset Information Integration ManagerTM is able to support the conversion of integration packages to and from the format of the plug-in selected on a particular job. The asset information contained by the plug-in package can then be viewed and edited in the plug-in application.

Excel Plug-In Package

IFS/Asset Information Integration Manager at present provides an Excel Plug-In named Basic for Microsoft Excel that enables data to be converted to and from MS Excel. Limitations of this plug-in are as follows:

Once a plug-in package has been exported it is possible, to open and view this in the Excel application. Once the plug-in package is opened, the mandatory fields can be easily identified as those columns with an asterisk (*) at the end of the header text.

On occassion, an export would have been performed where a business object has relations to another business object. e.g. technical classes which are related to object classes. The object classes are soft relations for the technical class and may not be exported. These records will then appear in red in the plug-in package.

Outbound Plug-In Package

The outbound plug-in package is essentially the exported integration package in xml format that we select to convert to the format of the plug-in selected on a job. On exporting the plug-in package, a file for the job is created in the file location of the export root path where it can be viewed and consequently edited by the addition, deletion or modification of records. Every time a plug-in package on a job is exported, it replaces any existing plug-in package exported on that particular job.

Editing Plug-In Packages

Once a plug-in package is available it is possible to add, modify and delete records as long as the consistency of the business logic is maintained. The Asset Information Schema XML that can be viewed on the IFS/Asset Information Integration Manager tool serves as a guide to modify values on a record by stipulating the type of data (field type), maximum number of characters in a field, mandatory fields and other important field properties.

Business objects could be defined as new in a plug-in package simply by just entering necessary data like IDs, classes, and descriptions. However if you want to define a new document, this will require both document issue and a document title record to be added. Defining the document issue record alone will create an inconsistency. Another situation that creates inconsistency is when defining a document, object or a design part in the plug-in package with a class that is nonexistent in the Asset Data Management database.

Some special considerations when defining the most common business objects in a plug-in package are as follows:

A good recommendation is to copy an existing object’s specification and after that simply change the Object IDs. The following describes briefly how this could be done:

Object – Define a new record for the object as described above.

ObjectSpecification – Copy an existing object’s specification and change the Object ID. Also modify attribute values as required for the new object. Attribute values are found in columns ValueText and ValueNumber.

ObjectTechSpec – Enter the Object ID and its corresponding Technical Specification ID.

The actual document file must be placed in AIIM’s export root path and in the sub folder defined by the file path on the new document.

Note: If dates and times are required to be added for Document Issue and Document Title on a plug-in package, they need to adhere to the ISO Date and Time Format which reads YYYY-MM-DD hh:mm:ss.

Note: Refer to the Manage Plug-In Exercise of the Asset Information Integration Management course within the Asset Design Training Material for detailed examples of how to edit records on a plug-in package. 

Inbound Plug-In Package

The inbound plug-in package is essentially the exported and modified asset information file of a particular job that we select to convert to an integration package. On importing the plug-in package, an import integration package is created in the file location of the import root path. Every time a plug-in package on a job is imported, it replaces any existing integration package created by the import of the plug-in package on that particular job. It is recommended to analyze the converted plug-in package before import in order to find missing values for mandatory fields.