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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

How to control Enumeration value list attribute on document creation page before it renders

manthansoni1991
5-Regular Member

How to control Enumeration value list attribute on document creation page before it renders

Hello,

 

I want to remove few value from Enumeration if document is getting created from certain container. if container is library then dropdown shall not bring one of the value from enumaration. See attached image. I want to remove Source value from Source type dropdown(enumaration list) if it is getting created from library.

 

Is it possible to do with PTC.attributePanel.on("beforeRender", function(attributePanel)?

 

Please help.

 

 

0 REPLIES 0
Top Tags