Model-driven app: Displaying Full Address for Sales Team in Microsoft Power Platform Developer Exam (PL-400)

Displaying Full Address for Sales Team

Question

The users can view the contact's City, Zip code, and State in your model-driven app.

But only the Sales team can view the full address.

They have access to three additional columns: street1, street2, and phone.

Please select the three steps you should take to accomplish the task.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E. F. G.

Correct Answers: D, E and G

Microsoft Dataverse provides column (field) security on a column-by-column basis for most out-of-the-box tables.

For management simplification, the Dataverse groups the secured column (field) permissions into a profile.

A system administrator can grant access to the profiles to specific users or teams.

You need to enable the Field security for the three contact columns (fields): street1, street2, and phone.

You can do this using a classic interface.

Power Apps

id ge Save and Close ig 33 Show Dependencies = Solution Layers Sf Managed Properties (@Help ~
a | Field Working on solution: Default Solution
@

Address 1: Street 1 of Contact
General
4 Common
€) Information Schema
Ea Business Rules Display Name * Address 1: Street 1 Field Requirement * Optional v
Name * address1_line1 Searchable Yes v
Field Security @ Enable © Disable
AX Enabling field security? What you need to know
Auditing “ @ Enable (Disable
A This field will not be audited until you enable auditing on the entity.
Description Type the first line of the primary address.
Appears in global filter in Sortable in interactive O
interactive experience experience dashboard
For information about how to interact with entities and fields programmatically, see the Microsoft Dynamics 365 SDK
Type
Data Type *
Field Type *
Format *
Maximum Length * 250

IME Mode * active v

Then you create a Field security profile and add the Sales team as a Member.

After that, for each of the three columns (fields), you set the “Allow Read” to “Yes.”

Power Apps

lel ey Save and Close ij vy Actions ~ @telp

=i Field Security Profile: Contact Address Working on solution: Default Solution
| ta Field Permissions

Field Security Profile : Info... PA Edit

Edit Field Security 2 x

L General
© | Name+ Change permission for the selected fields Read Update Create ()
Related No No No
4 Members:
= Vea Allow Read No No No
ae sels Users can view this field
a Gominon No No No
[q Field Permissions ; . Allow Update No ¥
\4 Audit History soe enttys Users can change the information in this field No Me Ne
adx_identity. ‘Allow Crasite ie re; No No No
; . Users can add information to this field when the
adx_identity_1 record is created No No No

sharepointemi

1 - 7 of 7 (1 selected)

Status: Existing

All other options are incorrect.

For more information about Dataverse Field Security Profiles, please visit the below URLs:

To accomplish the task of allowing only the Sales team to view the full address in a model-driven app, while allowing other users to view only specific address fields like City, Zip code, and State, the following steps should be taken:

  1. Create Security Profiles: Create two security profiles: one for the Sales team and one for the Users. Security profiles are used to control access to entities, fields, and records.

  2. Add fields to security profiles: Add the fields that need to be restricted to the Sales team to their security profile. These fields include street1, street2, and phone. Add the fields that should be visible to all users, including the Sales team and Users security profile, with “Yes” to Allow Read permission.

  3. Enable Field Security: Enable field security for the fields that need to be restricted to the Sales team. Field security allows the system to control access to individual fields on a record-by-record basis.

The correct steps to accomplish the task are as follows: D. Create a security profile for the Sales team G. Add the three fields to the security profile with “Yes” to Allow Read permission E. Enable field security for street1, street2, phone columns

Option A and H are incorrect because they give unnecessary permissions to the Users security profile. Option C is incorrect because it gives unnecessary permissions to the Sales team security profile. Option F is also incorrect because it is not necessary to create a security profile for the Users since they can be given access to the necessary fields through their default security role.