cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Infoengine - revise Object skipping revisions

grocha
1-Newbie

Infoengine - revise Object skipping revisions

Gurus,



"A goal without a plan is just a wish."

2 REPLIES 2
g_prajeesh
4-Participant
(To:grocha)

Hi,

You can mark C version to skip by specifying as Legacy


On Sat, Jun 7, 2014 at 5:08 AM, Guilherme Rocha <->
wrote:

> Gurus,
>
> Using infoengine to revise objects, is there an option to revise a
> WTDocument skipping revisions?
>
> I mean, my revisions goes like this: A,B,C,D...
>
> I create a document via infoengine in revision A;
>
> The revision B of this document doesnt have to be created in my server!
> (dont ask why)
>
> Now the revision C of the document arrives, I have to "create it" in
> revision C or "revise it" directly to revision C, skipping the revision B.
>
> Am I doomed?
>
>
>
> Guilherme Rocha
>
> “A goal without a plan is just a wish.”
>

This is common stuff,


You actually have to put some logic into your Windchill to call a custom api via infoengine and web services.


1. search and first to see if the object exist


2. create if it doesn't


3. update the object or not depending on state if the same revision


4. revise the object if you just want a new version of the object at the next revision


5. load/create the object at a specific revision if you need to jump revs.


6.link the object to other objects if necessary.



Is that the logic you want?



Take care everyone and have a great day.



Patrick Chin


Hey everyone attending PTC TC's and User, take Mike Lockwood out to dinner! This man is one of the great guys in PTC User and he is retiring from his current job and moving on to better stuff.




In Reply to Guilherme Rocha:



Gurus,



"A goal without a plan is just a wish."


Top Tags