Skip to main content
1-Visitor
October 16, 2017
Question

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

  • October 16, 2017
  • 0 replies
  • 924 views

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.