To improve performance, it is recommended that you use a list of object IDs or physicalIDs when you add a new set or modify a set to add new objects, instead of using a list of TNR. The kernel is lenient towards inclusion of invalid or non-existent IDs in the list when adding or modifying sets. The objects when not present or incorrect are not included in the set and there are no errors for invalid or non-existent IDs during the operation. For example, the following code works without any errors and the set is created or modified, but without any new objects added to it:
Use the following command to show any valid objects:
You can use the Modify Set command to modify any set to add or remove business objects and change set options:
Each modification clause is related to the clauses and arguments that define the set. For example, assume you have a set named “Product Comparison.” You want to add two new business objects and remove an old one. You could write a command similar to the following: modify set "Product Comparison" add businessobject "Scent Formula" "Perfume P39" B; add businessobject "Scent Formula" "Perfume P40" A; remove businessobject "Scent Formula" "Scent P13" D; To remove a set entirely, use the Delete Set command. For more information, see Delete Set Command . To change the name of the set, delete the current set and create a new set. | ||||||||||||||||||||||||||