The object with UID [UID] on End1 of the [SPFDocumentRevisions] relationship is missing - cannot be found in the container or dbase - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

Error

The document reservation feature was introduced in SmartPlant Foundation 4.0. To support this feature, the ISPFDocumentMaster interface was made optional for SmartPlant Foundation 4.0 documents. Therefore, this error occurs when creating a SmartPlant Foundation document using the custom document form or the NLF load file.

Solution 1: Create a SmartPlant Foundation document using the NLF load file

Add the ISPFDocumentMaster interface to the NLF instructions.

The following is an example of an NLF file with instructions to create an engineering document:

.SPXEngineeringDocMaster

..Name|EngDocMaster-Basic-001

..Description|Engineering Document from NLF

..SPXDocumentClass|MD|SPFPrimaryClassification_21

..SPFDocState|RESERVED

..SPFRevisionScheme|RevA01|SPFDocRevisionRevisionScheme_12

..SPFMajorRevision|A

..SPFMinorRevision|01

..SPFRevState|WORKING

..SPFProject|0000|DocumentProject_12

..SPXOriginator|AB|DocumentOriginator_12

..SPXDiscipline|A|DocumentDiscipline_12

..ISPFDocumentMaster

For more information, see NLF format and Loader in the SmartPlant Foundation Desktop Client Help.

Solution 2: Create a SmartPlant Foundation document using the custom document form

  1. Add the SPFDisplayItemType interface to the form section.

    For example:

    <SPFDisplayItem>

      <IObject UID="DI_ISPFDocumentMaster" Name="ISPFDocumentMaster" Description="DI for ISPFDocumentMaster" ContainerID="" />

      <ISPFAdminItem />

      <ISPFGUIDisplay SPFGUIDisplayAs="Document Master" />

      <ISPFSubscribableItem />

      <ISPFDisplayItem SPFSizeOfField="35" SPFDisplayItemType="e1InterfaceDef" SPFSizeOfLabel="25" />

    </SPFDisplayItem>

  2. Select the [ISPFGUIDisplay.SPFGUIDisplayAs] option in the document creation form.