Hi Steinar;
Absolutely!
However, you can not use an DW "expression" for this. Instead, you would have to script the change externally to the DWO using the Modify ( ) command.
For example ...
DC.Modify("CustomField2.DDDW.AllowEdit=No")
DC.Modify("CustomField2.DDDW.AutoRetrieve=No")
DC.Modify("CustomField2.DDDW.DisplayColumn='dddw_column'")
...
Tip1: Have a look at the DW Syntax Utility to help you code the Modify ( ) arguments
Tip2: Create two DWO's with the column "CustomField2" with style DDDW and another using its normal style. Export the two DWO's source and check out all the porpperty settings to verify your Modify ( ) command requirments to set each state correctly
HTH
Regards ... Chris