Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : NVH9LvpgOFdhEwZJsZGKVR

Hiding a data member attribute from dialogs

PA-22040759-0 Profile Picture PA-22040759-0 6,194
When you use data contracts with for example the new Business Oprations Framework (BOF), it is smart that AX will generate the dialog for you. But what if you have a field in the data contract that you don't want exposed in the dialog?

Well, use the SysOperationControlVisibilityAttribute:
[DataMemberAttribute, SysOperationControlVisibilityAttribute(false)]
public int parmIntProperty(int _parmIntProperty = parmIntProperty)
{
parmIntProperty = _parmIntProperty;

return parmIntProperty;
}

Comments

*This post is locked for comments