cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting property editing on revise

Valued Contributor
Valued Contributor

We are using Tc11.2 
We have a scenario where 
Document (a type of Item revision) has an attribute Doctype.
Doctype is a LOV with value val1, val2, val3, val4.
User creates document with Doctype value as val1. So revision 1 of document has Doctype value as val1.
User now tries to revise revision 1.

While revising, user should only be allowed to change value of Doctype attribute to val1 or val2 and not any of   val3 or val4.

We want to achieve this requirement with only configuration and no customization.

5 REPLIES

Re: Restricting property editing on revise

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
Property level ACL's are not supported yet to my knowledge. I'm pretty sure you'll need custom code to perform this validation.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: Restricting property editing on revise

Valued Contributor
Valued Contributor

Hi Randy,

Thanks for the reply . We were thinking about Conditional Object. However it requires creating lot of LOV unnecesarily. 

 

In our case

 

We need to create one more LOV with Valu2 in it and attach it on Revise to project based on condition.

 

Re: Restricting property editing on revise

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

You may want to try 'ListOfValuesFilter' for classic LOV type. This would work if you have pre-defined dependencies on selecting a particular value of LOV.

 

Harish

Re: Restricting property editing on revise

Legend
Legend

You can add the doctype (your custom property) in operation descriptor. so that, this property will appear while creating the document on create dialouge, where user can select its value from LOV provided.

 

and now for preventing the changes in the value of the attribute, you can deny check in/check out access for world for the docement revision type.

 

hope this will work for you.

Re: Restricting property editing on revise

Valued Contributor
Valued Contributor

Hi Ganesh,

 

Thanks for teh reply . It not about restricting changes but restricting setting particular values. So ACL is not option here