How to control Enumeration value list attribute on document creation page before it renders
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)?