사용자가 AX 2012 화면 구성을 바꾸지 못하도록 막는 방법

Posted by Alvin You
2013. 11. 14. 13:29 Dynamics AX

AX 기본 화면 또는 개발된 화면의 사용자 커스터마이제이션을 막는 방법은 아래와 같이 AllowUserSetup 속성을 No로 설정을 하면 가능합니다. 아래 화면은 AllowUserSetup 속성을 No로 변경 후 Personalize 화면에 들어갔을때 보여지는 화면입니다.

 

Sort를 막는 방법은 해당 Grid Column의 Sort() 메서드를 Override받은 후 해당 Method의 내용을 주석 처리하면 됩니다.

 

public int sort(SortOrder _sortDirection)
{
    int ret;

//    ret = super(_sortDirection);

    return ret;
}

 

 

Updated: October 11, 2008

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Disabling user customization is the lowest level that can be set for User Personalization of Forms. This level requires that you set the AllowUserSetup property on the form control, and set the AllowAdd property on the form data source field to No.

In this mode, only the size and position of the form can be changed. Users cannot change properties on the individual controls.

Because the position and size of the form is saved (the size is saved if the SaveSize property is set to Yes), there is an entry for this form in the SysLastValue table. No personalization is allowed.

This personalization level is relevant in forms that have a fixed size and whose control positions are important. Examples are wizard forms and forms used for touch-sensitive screens. Use of this personalization level also ensures that users cannot hide information in a particular form.

NoteNote

If you use the AllowUserSetup and AllowAdd properties to prevent user customizations, it affects all users of the form. If customization should be set at run time on a per-user group basis, use the SecurityKey property on the menu item for the form or on individual form controls.