This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Update the file content with web services & sets of AML tags

morenton - Monday, September 14, 2009 2:03 PM:

Hi,

I want to update the content of a file already created into a ARAS vault. I want to do that with web services and a set of AML tags.

Locking and unlocking documents and files are very easy with web services + AML tags. But how can I upload a new content of a file thru web services + AML tags ? Is it possible ?

Regards,



morenton - Friday, October 9, 2009 4:00 AM:

Hi,

With the support of Rob and Peter from ARAS, I can now update a file already created in a vault. To do that :

a) Lock the file : <Item type='File' action='lock' id='if_of_the_file' />

b) Update the file : <Item type='File' action='update' version='0' id='if_of_the_file> ... / ... </Item>

c) Unlock the file : <Item type='File' action='unlock' id='if_of_the_file' />

See that method in action within CATIA V5 at :

http://www.youtube.com/watch?v=itaJvtlL2_Q

Regards,

--

Pascal

ECP, Paris.