To insert a new node (after creating/connecting a new object) in the structure tree, use the following methods: top.addStructureTreeNode(String objectId, String parentObjectId, String jsTreeID); top.addStructureTreeNode(String objectId, String parentObjectId, String jsTreeID, String emxSuiteDirectory); top.addStructureTreeNode(String objectId, String parentObjectId, String jsTreeID, String urlParams); emxSuiteDirectory is an optional parameter to insert an application-specific alternate tree. urlParams is an optional parameter to add any additional URL parameters like "treeLabel=TaskNote&emxSuiteDirectory=engineeringcentral". The following method is deprecated. If existing custom code uses it, the code will work for now, but the method will be eliminated so you should no longer use it. top.addStructureNode(String objectId, String parentObjectId, String jsTreeID); top.addStructureNode(String objectId, String parentObjectId, String jsTreeID, String emxSuiteDirectory); |