Problem
After upgrading with a custom PBS, if you are unable to expand your plant in the Tree view and you are also unable to publish your custom PBS hierarchy, this problem may be the result of having overwritten your custom PBS hierarchy graph definition during the upgrade.
Solution
You must regenerate and reload your custom PBS Hierarchy graph definition.
-
To recreate the PBS Hierarchy graph definition used to expand the hierarchy in the Tree view, find the CMF you modified in the Desktop Client (Find > Integration > Schema Documents).
-
Right-click the CMF file version (CMF_Ver), and click Launch CMF File manager (PBS).
-
Click Load.
One node should appear in the tree view.
-
Make sure the Inherit Clicked Item option is selected.
-
Select the PBSComponent object.
-
Select only the classdefs of your hierarchy.
-
Click Export.
-
Edit the generated file SPF_01_AuthoringSchema.xml.
-
Copy and paste the DirectedGraphDef, DeleteInstruction, and Rel object code into a new XML file.
An example of this code is shown below (yours will vary, depending on your hierarchy).
<Container>
<DirectedGraphDef>
<IDirectedGraphDef GraphDefn="+ISPFPlant/+ISPFPlant/,SPFPlant_SPFArea_21/SPFArea/+ISPFPlant/,SPFArea_SPFUnit_21/SPFUnit/SPFArea/,SPFUnit_SPFBuilding_21/SPFBuilding/SPFUnit/,SPFBuilding_SPFBlock_21/SPFBlock/SPFBuilding/,SPFBlock_SPFTrain_21/SPFTrain/SPFBlock" />
<IObject UID="DGD_PBSHierarchy" Name="PBSHierarchy" />
<ISchemaObj SchemaRevVer="04.02.05" ByCust="True" />
</DirectedGraphDef>
<DeleteInstruction>
<IObject UID="DeleteInstruction-2" Name="Delete_{E3D82BE6-7065-4B1B-8525-1B78D80FB472}" />
<IRefObject RefClass="Rel" RefUID="{E3D82BE6-7065-4B1B-8525-1B78D80FB472}" RefName="" />
<IInstruction />
<IRefRel RefDefUID="GraphDefInterfaceDef" RefUID1="DGD_PBSHierarchy" RefUID2="IPlant" />
<IDeleteInstruction DeleteTransition="Terminated" />
</DeleteInstruction>
<Rel>
<IObject UID="DGD_PBSHierarchy.ISPFPlant" />
<IRel UID1="DGD_PBSHierarchy" UID2="ISPFPlant" DefUID="GraphDefInterfaceDef" />
<ISchemaObj SchemaRevVer="04.02.05" ByCust="True" />
</Rel>
</Container>
-
Launch the Desktop Client Loader (File > Loader), and select the XML file you just created.
-
Click Process.