Skip to main content
13-Aquamarine
May 10, 2019
Question

Changing Revision During New View Version Creation

  • May 10, 2019
  • 1 reply
  • 1992 views

Hi All,

 

Our client would like that when creating a New View Version for a WT Part in revision A for example, the new view version has revision B, instead of A as it is OOTB. 

 

Any ideas here?

 

Thank you.

1 reply

17-Peridot
May 10, 2019

Overwrite the create new view form processor. There you can edit attributes, disconnect documents, etc. I'm pretty sure you also can set the version since the object is not persistable yet.

Alex198813-AquamarineAuthor
13-Aquamarine
June 4, 2019

Hello,

 

That is also our idea and we used the

VersionControlHelper.service.changeRevision(manufacturingPart, nextRevision) to change the revision but the problem is in this case the revision is not changed only for the Manufacturing Part but also for the Design. So instead of having revision A Design and revision B Manufacturing you get B Design and B Manufacturing.

 

 

Alex