• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups
    3 Kudos

    Call scripts at import

    Status: Accepted
    by Distinguished Contributor dkeeley on ‎10-04-2012 04:28 PM

    Hi,

     

    It would be a useful addition if scripts could be called when performing imports. 

     

    Thanks,

     

    David. 

    Status: Accepted
    Comments
    by Distinguished Contributor dkeeley on ‎10-10-2012 02:28 PM

    I had a few more thoughts on this. It would be great if there was also a way to run scripts on multiple items at once.

    by Employee jared.sund on ‎10-10-2012 08:44 PM
    Status changed to: Under Review
    dkeeley, I'll look into scripts running during imports, I agree an import record shoud behave just like adding a new reocrd through the UI (runs behavior scripts). As for running running scripts on multiple items at once, check out the loadItem(dmsID) function in the wikiHelp @ http://wikihelp.autodesk.com/PLM_360/enu/Help/Help/0085-Develope85/0086-Server-S86/0093-Scriptin93 This returns an item: var newItem = loadItem(1234);
    by Distinguished Contributor dkeeley on ‎10-11-2012 10:28 AM

    Thanks. I'll try that. 

    by Employee jared.sund on ‎10-29-2012 08:43 PM
    Status changed to: Accepted
     
    by Distinguished Contributor dkeeley on ‎10-31-2012 02:20 PM

    Hi Jared,

     

    It would be good if there was an easy way to run a script on all items within a workspace. Perhaps this feature could be added also? Or should I create another case for this?

     

    Thanks,

     

    David.

    by Employee jared.sund on ‎10-31-2012 02:36 PM

    Not a bad idea!  Could you open another idea request for this?

    Announcements
    IdeaStation Guidelines
    Review guidelines and best practices
    before posting a new idea


    PLM 360 Survey