2 Replies Latest reply: Feb 13, 2013 2:32 PM by 981310 RSS

    Adding or deleting Shared Nodes using an Action Script

    981310
      Is it possible to add or delete shared nodes using an action script? If so, what script do I use?

      Thanks!
        • 1. Re: Adding or deleting Shared Nodes using an Action Script
          DRMRocks
          Yes it is possible,

          Instead of Adding you need to AddInsert to maintain a Shared node,

          "AddInsert,Version,Hierarchy,Node,Parent,Leaf/Limb Flag"

          Instead of Deletion it's a good practice to Remove shared nodes and after through analysis if required please perform Delete,

          "REMOVE/DELETE,Version,Hierarchy,Node"

          Let me know if you see any issues,

          -Murali
          • 2. Re: Adding or deleting Shared Nodes using an Action Script
            981310
            Thanks Murali - that's almost EXACTLY what I ended up doing! Instead of the 'AddInsert' command though, I used just 'Insert' for making sure I was just adding shared nodes. And I used 'Remove' to remove the nodes that I no longer needed - then performed the thorough analysis yoe mentioned of these removed nodes and deleted them (AFTER nmaking sure they were ALL shared nodes first!)

            -George