Quantcast
Viewing all articles
Browse latest Browse all 16985

Forum Post: RE: How to bulk load services in to OpenPlant PowerPID?

A property like SERVICE can be prepopulated so that when a new workspace is created the SERVICE values will be available to the users. The process involves the following: Look at the file in the link – rename this to be “Prepopulated Plant Items projdata.mdb”. Edit this in Access to define the services you need. NOTE – The COMP_ID field is a GUID and requires that a unique GUID be supplied. You can use the GUIDS already in this table and simply change the other service fields as needed. If you need to add additional services you will need a Registry Format GUID generator. These are available on line as a free download. There is also one inherent in Visual Studio. Key is to use the REGISTRY FORMAT GUID. Add the additional service, generate a unique GUID with your tool. Copy and paste this into the table. This table can be imported and appended to the OPPID_SERVICE table in the project and populate the SERVICE property. In SQL Server import the Access Database Table(s) as needed by right clicking on the Database name and selecting Task>Import Data… and following the prompts to populate or replace or create new the OPPID_SERVICE table and the system will now contain your list of services. In OpenPlant PowerPID when you access Settings>Drawing and navigate to the Plant Tab the services you added will be available. The link to the database file is located in the Files section of this forum. File name is Prepopulated Plant Items projdata.txt A link to a GUID generator is here: http://www.utoolbox.com/tools/guidgenerator.html I hope this helps, Tony DeRosa Bentley Plant

Viewing all articles
Browse latest Browse all 16985

Trending Articles