That’s more complicated as you don’t have the webforms objects yet, and your dd class could serve several different webviews.

You may try setting the field option , but I am not sure if it will be propagated to the client in execution time after the webform has been created. I guess not , but you can try. Set file_field_option ...

another aproach is to create a new even method in your dd class

onSetFieldEnabled integer iColumn boolean bState

or any other name you want.

Implement this event in the DDO on each view you want this feature, and in your webview code you will have/ know the webform objects names to webset their pbEnabled accordingly

Never tried this , but I think it should work

Im sure others may have a better way of doing this.

Good luck