You have a menu item named menu item l that is used to launch a form named Form l by using the rich client.
You need to ensure that users who are granted the Maintain customer addresses privilege can use menu item l to open Form l in read mode.
What should you do?
A. Set menu item l to run on the server. Modify the Enabled property of the Maintain customer addresses privilege.
B. Create an entry point for the Maintain customer addresses privilege. Set the Access Level property of the entry point
C. Create an entry point for the Maintain customer addresses privilege. Add Form l to the Maintain customer addresses privilege.
D. Set menu item l to run on the server. Add Form l to the Maintain customer addresses privilege.
Correct Answer: B
Explanation/Reference:
* The developer does the following:
Creates a form and a menu item for a form.
Creates a privilege and an entry point.
Creates a test role for the application user.
* (see 4d below)
Create a Privilege and an Entry Point
You can create a privilege and an entry point for MyMenuItem by following these steps:
1. Create a privilege that is named MyNewPrivilege.
2. Expand AOT > Security > Privileges > MyNewPrivilege.
3. Add an entry point that is named MyNewEntryPoint. You do this by right-clicking the Entry Points node, and then clicking New Entry Point.
4. In the Properties window for the new entry point, do the following:
a. Set the Name property to MyNewEntryPoint.
b. Make the ObjectType of the entry point be MenuItemDisplay.
c. Make the ObjectName of the entry point be MyMenuItem.
d. Set the AccessLevel of the entry point to Read.
* Example:
Create a Test Role
To properly test your form as an application user, you must create a test role. You can create a test role by following these steps:
1. Create a test role for an application user that is named TestRole.
2. Expand AOT > Security > Roles > TestRole > Privileges.
3. Add MyNewPrivilege privilege to the Privileges node of TestRole. The following figure shows a test role with a privilege that you create in this walkthrough.
Reference: Walkthrough: Using Roles and Privileges to Control Access to Forms [AX 2012]