Quantcast
Channel: aras PLM community
Viewing all articles
Browse latest Browse all 1103

Creating a new CAD revision through IOM

$
0
0

Hi,

I've written a set of Python binding for IOM.dll - which by the way I'd really like to make a community project.

I would like to add the ability to do a manual revision.  In the same way that an Owner can right click a released CAD and 'Create New Revsion' from the list view.

I've tried two methods, neither seem to work.  I've tried both my own (Python) code as well as AML Studio with the same results in both.

If I try and run the 'version' action in an Item, I get "You have insufficient permissions to perform 'update' operation."  This makes no sense as I'm not updating an existing record, I'm creating a new one.

I've also tried running the server method 'PE_CreateNewRevision' in the same way as the UI method does, but this simply does nothing.  I'm calling it using innovator.applyMethod( 'PE_CreateNewREvision', item.dom.OuterXml)

So, what am I doing wrong?

Is there a way to use the privilege elevation as PE_CreateNewRevision does from IOM?

TIA,

Jason


Viewing all articles
Browse latest Browse all 1103

Trending Articles