Показать сообщение отдельно
Старый 01.12.2011, 18:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
palleagermark: Hiding a data member attribute from dialogs
Источник: http://palleagermark.blogspot.com/20...bute-from.html
==============

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;
}


Источник: http://palleagermark.blogspot.com/20...bute-from.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.