Practice Labs
Practice Labs
Practice Labs
2. For purposes of this training, we recommend that you Do Not Click the Try it Free button:
a. This is for the Dynamics 365 Concierge Service, in which an agent will guide you through the application and
specific Scenarios.
b. It’s a wonderful service, but your organization will not be set up immediately. For training purposes we want it
setup right away.
3. Locate and click, No thanks, I’ll get started on my own. (Located about half way down the Page)
a. Fill out all of the Registration information and click Next.
i. Note: All this information is required
4. Next you will be setting up the primary account and organization information for you trial organization. Be sure
to take note as you will need this later
a. Enter a username that you want to use as the primary user account for your trial
b. Enter a name that you want to use for you trial organizations name
i. The name you choose will be validated to determine if it is available
c. Create and Confirm a password that you want to use from your Trial Organization
d. Click Next
5. You will need to Prove you are not a robot by entering in a confirmation code that can be either sent to you via a
Text or Phone call.
a. Choose either Text or Call
b. Enter your full 10 digit phone number
c. Click the Text me or Call me Link
d. After you receive your Code, enter it into the Verification Code Field
e. Click Create my Account
6. As your Account is being created you will be sent to a screen that will provide you with the following
information:
a. The Office 365 sign-in page: https://portal.office.com
b. Your user ID: Ex. [email protected].
Scenario
As a member of the Microsoft Dynamics 365 project team for Adventure Works Cycles, you have to make a series of
modifications to the system. The modifications will help the New Product Development (NPD) team manage its
processes. You have to create several new entities, add fields to store specific data that is required by the NPD team,
and create forms and views that the NPD team can use to work with its new records.
Exercise Scenario
Before you start to make changes, you want to create a new Solution to contain your customizations. When you have
completed the necessary configuration, you can export these changes as a solution package to import into another
Microsoft Dynamics 365 Organization. By doing this, users can test the changes that you created and provide feedback
before you deploy to the live production system. You also want to easily identify these changes in the future as having
originated from the NPD team. Therefore, you will create a new Publisher to make sure that the new components have
an appropriate prefix.
After you create your Solution, you must add some entities that you think might require some customization to meet the
business requirements that you received. Make sure that you do not include anything in the Solution that you have not
modified, because you do not want your Solution to become larger than is necessary, or include unexpected changes
that are made by someone else.
Note: The Solution that you create in this exercise is used in all remaining labs throughout the course as a container to
perform all customizations. We recommend that you keep the Solution window open throughout so that it is easy to switch between
your configuration environment and the main navigation window to view and test your changes as you progress. By the end of the
course you will have a Solution that contains all the components and changes that you have made in every module.
Detailed Steps
1. Create a new Solution named “NPD and Feedback.”
a. If necessary open an internet browser and navigate to your trial organization. Ex.
https://orgname.crm.dynamics.com.
b. In the navigation bar, click on the Main button, and then click Settings.
c. Select Solutions under the Customizations heading.
d. In the menu bar, above the list of Solutions, click New. The Solution: New Solution form will be
displayed.
e. Enter NPD and Feedback as the Display Name.
f. Enter 1.0.0.0 as the Version Number.
2. Create a Publisher named NPD and Feedback, and use the prefix npd.
a. In the Solution: New Solution form, in the Publisher field, click the lookup icon.
b. Click Look Up More Records.
c. In the Look Up Record dialog box, click New.
d. Enter AWC NPD and Feedback for the Display Name.
e. Enter npd for the Prefix (notice this converts to lowercase letters however you type it).
f. In the toolbar, click Save and Close.
g. In the Look Up Record dialog box, click Add.
h. In the Solution: New Solution form, in the toolbar, click Save.
4. Remove the Campaign entity from the Solution. (Sometimes you may find that you have a component that is no
longer needed in a solution. In this case let’s pretend that you realized that you do not need the Campaign entity)
a. In the Solution: NPD and Feedback form, in the component list, select the Campaign entity.
b. In the menu bar, at the top of the component list, click Remove.
Scenario
In this exercise, you will create and test two new entities, Idea and Prototype.
Lab Setup
Important: Before you perform this lab, it is recommended that you complete Module 2 “Introduction to Solutions”
Exercise Scenario
Adventure Works Cycles wants to track suggestions that are made by employees and customers as Ideas by using
Microsoft Dynamics 365. When an Idea is submitted, the Adventure Works Cycles New Product Development (NPD)
team will consider the feasibility of the Idea. Ideas that might be potentially worthwhile are proposed as Prototypes for
testing and market research.
In this exercise, you will create a custom entity that is named Idea. The properties of the Idea entity should be
configured as follows:
Idea Prototype
Property Setting Property Setting
Display Name Idea Display Name Prototype
Plural Name Ideas Plural Name Prototypes
Ownership User or Team Ownership User or Team
Display Areas Sales, Service, Marketing Display Areas Service, Marketing
Connections Not Checked Notes Enabled
Mail Merge Not Checked Activities Enabled
Connections Enabled
Queues Enabled
After you create the entities, The Salesperson Security Role should be modified to grant all privileges to both entities at
the user level except for Read and Append To privileges. These should be at the organization level.
Task 1: Create the Idea and Prototype Entities and Assign Security Role Privileges
2. Create the Prototype entity in the NPD and Feedback Solution by using the requirements in the scenario.
a. With the NPD and Feedback Solution window still open, in the solution explorer click Entities.
b. On the menu bar at the top of the list of entities, click New.
c. In Display Name, enter Prototype.
d. In Plural Name, enter Prototypes.
e. Make sure that the Ownership property is set to User or Team.
f. In the Areas that display this entity section, select Service and Marketing.
g. In the Communication & Collaboration ensure that Notes, Activities, Connections and Queues are
enabled.
h. All other settings should be left at the defaults.
i. Click Save and Close.
Scenario
Adventure Works Cycles wants to record structured feedback from employees and customers about various processes
and interactions, such as placing an order, contacting support or attending an event. By creating a custom activity entity
named Feedback this can be associated with any record that supports activities, instead of having to create several
specific relationships to individual entities.
Lab Setup
Important: Before you perform this lab, you must have created the Idea and Prototype entities that were created in the
previous exercise. Without them you will encounter problems. It is also highly recommended that you have completed
all previous labs as well.
Exercise Scenario
In this exercise, you will create and test a custom activity entity named Feedback.
You will test the entity by creating new Feedback activities for the record named “Test prototype” that you created in
the earlier exercise.
Detailed Steps
1. Create the Feedback entity as a custom activity in the NPD and Feedback Solution.
a. Switch to the NPD and Feedback Solution by using the Windows taskbar.
b. In the solution explorer click Entities.
c. On the menu bar at the top of the list of entities, click New.
d. In the Display Name field, enter Feedback.
e. In the Plural Name field, enter Feedback.
f. IMPORTANT: (If you skip this, the Activity Entity will not function correctly). Select the check boxes
Define as an activity entity and Display in Activity Menus.
i. Notice that Ownership is set to User or Team and cannot be changed.
g. In Data Services and Outlook & Mobile sections clear any options that are checked (the Offline
capability for CRM for Outlook cannot be cleared.)
h. Click Save and Close to close the new entity form.
i. Click Publish All Customizations
j. Keep the Solution window open for later labs.
Exercise Scenario
In the last Exercise you created a custom entity called Idea. Adventure Works Cycles require additional fields to be
added to the entity as follows:
Your task is to create these two fields within the Idea entity. In the module Customizing Forms you will add the fields to
the form.
Don’t worry about adding the fields to the form or publishing your customizations. We will be adding additional fields in
the next module, so we will wait until we have more information to display.
Module 4: Additional Field Customizations
Practice 4.1: Create and Modify a Global Option Set
Lab Setup
Important: Before you perform this lab, you must have completed all of labs in Module 2 “Intro to Solutions” and
Module 3 “Customizing Entities and Fields”. You will be building on the Idea and Prototype entities that were created in
the previous exercise. Without them you will encounter problems. It is also highly recommended that you have
completed all previous labs as well. You can install the NPDandFeedback_1_5_0_1.zip solution that was included in your
course materials. It contains all of the customizations made prior to this module.
Scenario
Adventure Works Cycles wants to be able to track the satisfaction of their customers. Initially they only require to have
this information on the feedback entity but eventually they may want to capture this on other entities. They require a
new Option Set field called Satisfaction Rating to be created on the Feedback form.
Exercise Scenario
In this exercise you will create a Global Option Set configured as follows:
Display Name Values
Rating Very Happy
Happy
Neutral
Unhappy
Very Unhappy
You will then create an Option Set field within the Feedback entity configured as follows:
Display Name Field Requirement Option Set Default Value
Rating Business Required Ratings Neutral
Once complete, you will add the Satisfaction Rating field to the Feedback form then test its behavior.
Detailed Steps
1. Create a new Global Option Set called Ratings.
a. In CRM Open the NPD and Feedback Solution by clicking the Main button > Settings > Solution
b. Click Option Sets.
c. On the toolbar click New.
d. Enter Ratings into the Display Name field.
e. In the Description field enter Customer Satisfaction Ratings.
f. In the Options field click the Add button (Green Plus Sign).
g. In the Label field enter Very Happy.
h. Click the Add button.
i. In the Label field enter Happy.
j. Click the Add button.
k. In the Label field enter Neutral.
l. Click the Add button.
m. In the Label field enter Unhappy.
n. Click the Add button.
o. In the Label field enter Very Unhappy.
p. Click Save and Close.
Exercise Scenario
It is important for Adventure Works Cycles to be able to see how many feedbacks have been submitted for a specific
prototype. In addition some feedbacks may have costs associated with them. Adventure Works, wants to potentially be
able to compare cost with budget on a specific prototype.
Detailed Steps
3. Create the Total Feedbacks Rollup Field.
a. In CRM Open the NPD and Feedback Solution by clicking the Main button > Settings > Solution
b. Click Fields.
c. On the toolbar click New.
d. Enter Total Feedbacks into the Display Name field.
e. Change the Data Type to Whole Number.
f. Select Rollup for Field Type.
g. Click Edit. (Note that this will save the field automatically)
h. The Total Feedbacks Rollup Field window will display.
i. Leave the Source as Prototype and Use Hierarchy as No.
j. Under Related Entity, click Add Related Entity
k. Choose Feedbacks (Regarding).
l. Click the Checkmark button to accept the Condition.
m. Under Aggregation, click Add Aggregation.
n. For Aggregate Function, select Count.
o. Aggregated Related Entity field will default to Feedback.
p. Click the Checkmark button to accept the Aggregation.
q. Click Save and Close to close the Rollup Field editor.
r. Click Save and Close to close the Total Feedbacks Rollup Field
You must create a new field named Budget, and apply Field Security to it. You must configure Field Security Profiles to
control access to this to meet the business requirements. All users who work in the Product Development Team need to
be able to view the value of the Budget field so they can make sure expenditure remains within the limit that has been
set. Only Sales Managers must be able to change the value.
Lab Setup
Before you perform this lab, you must have created the Budget field on the Prototype entity from the previous exercise.
Detailed Steps
1. Enable Field Security for the Budget field of the Prototype entity in the NPD and Feedback Solution.
a. Switch to the NPD and Feedback Solution if it is still open. Otherwise Click the Main button > Settings >
Solutions and double-click the NPD and Feedback Solution to open it.
b. In the solution explorer, expand Entities.
c. Expand the Prototype entity.
d. Click Fields.
e. In the list of fields for the Prototype entity, double-click to open the Budget field.
f. In Field Security, select Enable.
g. On the toolbar, click Save and Close.
h. Select the Prototype Entity
i. Click the Publish Button
2. Create and configure a Field Security Profile to allow Read access to the Budget field for the Product
Development Team.
a. In the NPD and Feedback Solution, at the bottom of the solution explorer, click Field Security Profiles.
b. In the menu bar, click New.
c. In the New Field Security Profile form, in Name, enter NPD Budget Read Access.
d. On the toolbar, click Save.
e. In the navigation pane to the left of the window, click Teams.
f. In the menu bar, click Add.
g. In the Look Up Records dialog box, click new and create a Team with the name of the Product
Development.
h. Save the Team
i. In the Product Development Team form, in the Team members section, click + (Add User record).
j. In the lookup control that is displayed, select Ben Burton (Or any User that you want if Ben does not exist).
k. Close the Product Development Team window.
l. With the Product Development team record selected, click Select, and then click Add.
m. In the navigation pane, click Field Permissions. A list of all fields in the system that have field security
enabled is displayed.
n. Double-click the Budget field, or select it and then click Edit.
o. In Allow Read, select Yes. Leave the other options as No.
p. Click OK.
q. On the toolbar, click Save and Close.
3. Create and configure a Field Security Profile to allow Update access to the Budget field for a new Team named
NPD Managers.
a. In the NPD and Feedback Solution, using solution explorer, navigate to Field Security Profiles if necessary.
b. In the Field Security Profiles menu bar, click New.
c. In the New Field Security Profile form, in Name, enter NPD Managers Budget Update Access.
d. On the toolbar, click Save.
e. In the navigation pane to the left of the window, click Teams.
f. In the menu bar, click Add.
g. In the Look Up Records dialog box, at the lower left click New.
h. In the New Development Team form, in Name enter NPD Managers.
i. In Administrator, select your User Account.
j. On the command bar, click Save.
k. In the Look Up Records dialog box, click the name of the NPD Managers Team to open the Team record.
l. In the NPD Managers Team form, in the Team members section, click + (Add User record).
m. In the lookup control that is displayed, select Ben Burton (Or any user if Ben does not exist).
n. In the Team members section, click + (Add User record).
o. In the lookup control that is displayed, select Ben Burton (Or any user if Ben does not exist).
p. Close the NPD Managers Team window.
q. In the Look Up Records dialog box, click Add.
r. In the navigation pane, click Field Permissions. A list of all fields in the system that have field security
enabled is displayed.
s. Double-click the Budget field, or select it and then click Edit.
t. Set Allow Read, Allow Update, and Allow Create to Yes.
u. Click OK. On the toolbar, click Save and Close.
Module 5: Relationships
Practice 5.1: Create a 1:N Relationship
Exercise Scenario
You must create a 1:N relationship between the Idea and Prototype entities and modify it to meet the
requirements of the NPD team. To prevent Prototype records being created without an Idea record, you will
create a lookup field on Prototype named “Originating Idea”, make this Business Required and add it to the
Prototype form.
To make sure that Prototypes are assigned correctly when an Idea is assigned, you will configure the
relationship behavior to configurable cascading and change the assign rule to Cascade User-Owned.
To prevent Ideas being deleted if they have related Prototypes, change the delete rule to Restrict.
You must create some records and test your configuration changes.
Lab Setup
Before you perform this lab, it is recommended that you have completed all the previous labs. You will need
the Idea and Prototype entities in order to complete this lab.
Detailed Steps
1. Create a 1:N relationship between the Idea and Prototype Entities.
a. If necessary open the NPD and Feedback Solution, by clicking the Main button > Settings > Solutions
and double-click the Solution to open it.
b. In the solution explorer, expand Entities, and then expand Idea.
c. Under the Idea entity, click 1:N Relationships.
d. On the action bar, click New 1-to-Many Relationship.
e. In the Relationship form, in the Related Entity list select Prototype.
f. In Name, Highlight npd_ before Idea and press delete.
g. Highlight _npd before Prototype and press delete.
h. The Name should read npd_idea_prototype. (This includes the Publisher Prefex)
i. In the Lookup Field section, enter Originating Idea in Display Name.
j. In the Field Requirement list, select Business Required.
k. In the Type of Behavior list, select Configurable Cascading.
l. In the Assign list, select Cascade User-Owned.
m. In the Delete list, select Restrict.
n. On the toolbar, click Save and Close.
Practice 5.2: Create a N:N Relationship
Exercise Scenario
When ideas are submitted, Adventure Works Cycles need to identify competitors who are already in that area
of the market, to help assess the feasibility of competing effectively against them. By tracking Ideas against
Competitors, this will help steer product development in the most viable direction, for example whether
innovation, price, quality or other factors are more likely to make a new product successful.
You must create a many-to-many relationship between the Idea entity you created in the “Customizing
Entities” module and the built-in Competitor entity, and test that it works correctly.
Detailed Steps
1. Create a N:N relationship between the Idea and Competitor entities.
a. Ensure you still have NPD and Feedback solution open.
b. In the solution explorer, expand Entities then expand Idea.
c. Under the Idea entity click N:N Relationships.
d. On the action bar, click New Many-to-Many Relationship.
e. In the New Relationship form, in the Current Entity section (Idea), set the Display Option to Use Plural
Name.
f. In the Other Entity section, in the Entity Name list select Competitor.
g. In the Other Entity section, in the Display Option list select Use Plural Name.
h. On the toolbar, click Save and Close to return to the Solution.
i. Leave the NPD and Feedback Solution window open for later labs.
Detailed Steps
Scenario
There are many times with Adventure Works, has prototypes that actually fall under a specific master prototype. They
may have a special helmet design, but may test multiple versions of the prototype with different straps or padding. They
want to be able potentially add sub-prototypes under master records in certain cases.
Detailed Steps
1. Create a New 1:N Self Referential on the Prototype Entity to be used for Hierarchy Data
a. If necessary open the NPD and Feedback by clicking Main button > Settings > Solutions and double-click
the NPD and Feedback Solution to open it.
b. In the solution explorer, expand Entities then expand Prototype.
c. Under the Prototype entity, click 1:N Relationships
d. Find the relationship with Prototype as the Related Entity (you can sort this column by clicking the
heading).
e. Click the New 1-to-Many Relationship button.
f. The Primary Entity will be set as Prototype. (You will not be able to change it)
g. From the Dropdown menu on Related Entity, choose Prototype
h. Edit the relationship name to show npd_prototype_prototype (Including the prefix)
i. In the Hierarchical field, select Yes.
j. Enter Master Prototype in the Display Name field.
k. Click Save and Close
o.
Module 6: Customizing Dynamics 365 Forms
Practice 6.1: Add Fields to Forms
Scenario
You need to continue the configuration of the Idea entity by adding some of the fields created previously to the form,
and modify the layout to organize these logically. You also need to modify the Prototype form, and add some additional
fields at the same time. The Prototype form also needs some changes to the layout to present the information as clearly
as possible.
Lab Setup
Before doing this lab you need to have completed the all of the Previous Labs to this Point including Module 3
“Customizing Entities and Fields”, Module 4 “Additional Field Customizations”, and Module 5 “Relationships”.
Exercise Scenario
In this exercise you must format an existing tab and section on the Idea Information form, add two existing fields to the
form and modify the layout of one of the fields.
The specific requirements are outline in the High level Steps. You must also add a new section to the Prototype
Information form, create two new fields and add these to the new section. The two new fields must have the properties
shown in the following table.
Task 1: Customize the Idea and Feedback Forms and Add Existing Fields
Detailed Steps
1. Open the Idea form called Information from NPD and Feedback solution.
a. If the NPD and Feedback Solution is not already open, click the Main button > Settings > Solutions and
double-click the NPD and Feedback solution to open it.
b. In the solution explorer, expand Entities then expand Idea.
c. Under the Idea entity click Forms.
d. Click Forms.
e. Double-click the Information form with a Form Type of Main.
2. Modify the General tab columns to 50% of the width for each, and modify the General section to have two
columns.
a. Double-click the General tab or click to select it (blue box will appear around the entire tab) and click
Change Properties.
b. In the Tab Properties dialog box, click the Formatting tab.
c. In the Layout section, under Two Columns, select the two column icon on the furthest to the left. Note that
the column widths change to 50% each.
d. Click OK.
e. Double-click the General section.
f. In the Section Properties dialog box, click the Formatting tab.
g. In the Layout section, select Two Columns.
h. Click OK.
3. Modify the Name field to span two columns, add the Target Market Size and Description fields to the General
section and modify the Description field to span two columns and five rows.
a. Double-click the Name field on the form.
b. In the Field Properties dialog box, click the Formatting tab.
c. In the Layout section, select Two columns to span both columns of the containing section. Note that the
options for Three and Four columns are unavailable. Click OK.
d. In the Field Explorer pane, in the Filter list, select Custom Fields.
e. In Field Explorer pane Double click Target Market Size field. Drag it next to Owner.
f. Double click the Target Market Size field.
g. In the Field Properties dialog box, on the Display tab, change the Label to Target Market (delete the word
“Size”). Click OK.
h. In Field Explorer pane Double click Detailed Description field. Drag it under Owner.
i. Double-click the Description field.
j. In the Field Properties dialog box, click the Formatting tab.
k. In the Layout section, select Two columns.
l. In the Row Layout section, in Number of Rows, enter 5.
m. Click OK.
n. Next you will now create a new Section on the General Tab called Idea Details.
o. On the form editor ribbon, click INSERT
p. Click the arrow below Section on the far left hand side of the ribbon
q. Select One Column
r. Locate the new section that was added to the form just below the Detailed Description field.
s. Double-click the section to open the section properties.
t. Change the Name to Idea_Details (Note: that the name cannot include spaces).
u. Change the Label to Idea Details (The Label can include spaces).
v. Select the two checkboxes Show the label of this section on the form and Show a line at the top of the
section
w. Click OK.
x. In the Field Explorer, click the Target Market field and drag it into the Idea Details section, just below the
Detailed Description field.
5. Add the Cost and Satisfaction Rating fields to the Feedback Activity Entity
a. In the NPD and Feedback solution, expand the Feedback entity.
b. Click Forms.
c. Double-Click the Main Information form to open it.
d. In the Field Explorer pane, change the Filter to Custom Fields.
e. Double-click the Cost field to add it just below the Regarding field.
f. Double-click the Satisfaction Rating field to add it just below the Cost Field.
g. Click Save
h. Click Publish
i. Click Save and Close
Detailed Steps
1. Open the Prototype form called Information.
a. In the NPD and Feedback solution (this should still be open from the previous task) expand the Prototype
entity.
b. Click Forms.
c. Double-click the Information form with a Form Type of Main.
2. Add the Originating Idea, Master Prototype, Total Cost, and Total Feedback fields to the General Section.
a. In the Field Explorer pane, change the Filter to Custom Fields.
b. Select Originating Idea, and drag it below the Owner field.
c. Select Master Prototype, and drag it below the Originating Idea field.
d. Select the Total Feedbacks field, and drag it below the Master Prototype field.
e. Select the Total Cost field, and drag it below the Total Feedback Fields.
f. In the Field Explorer pane, change the Filter back to All Fields.
5. Add the Planned Completion, Currency and Budget fields to the form.
a. In the Field Explorer, select the Planned Completion field and drag it into the Planning section. Note: if the
Planned Completion field is now showing in the Field Explorer list, you may need to Save and close the form
and reopen it.
b. Drag the Currency field below the Planned Completion field
c. Drag the Budget field below the Currency field.
9. Test your changes to both entities by creating a Prototype from an existing Idea.
a. Switch back to your CRM Trial Organization.
b. Press F5 to refresh your browser and verify that all of your customizations are loaded into the application.
c. Click the Main button and Navigate to Sales > Ideas.
d. On the Active Ideas screen, click the New button
e. In the Name field, enter New Helmet for Kids.
f. In the Detailed Description field enter, This new helmet will be lighter and stronger.
g. In the Target Market field, enter 100
h. Save the Idea. (Notice the Prototypes Sub-Grid is now Active.)
i. Click on the New button to add a New Prototype
j. In the Name field, enter Child-125A
k. In the Planned Completion field, select a date in the future
l. In the Budget field, enter 10,000. (Notice the Key to indicate Field Security on this field).
m. Click Save
n. In the Activities Pane, click Activities.
o. Click the Add More Activities Button (…)
p. Select Feedback
q. In the Subject field, Enter Buckle Sticks
r. In the Cost field, Enter $200.00
s. Click Save and Close
t. Back on the Prototype, hover over the Total Feedbacks Rollup field and click the Refresh button. (It should
now display 1)
u. Do the same thing for the Total Cost field. (Should now display 200).
Exercise Scenario
In this exercise you will create and test a new NPD version of the Competitor form.
Detailed Steps
3. Create a copy of the existing Information form for the Competitor entity.
a. Expand the Competitor entity.
b. Click Forms.
c. Double-click the Competitor form that has a Form Type of Main.
d. On the ribbon, click Save As.
e. In the Save As dialog box, change the Name to read NPD.
f. In the Save As dialog box, change Description to “A form for the NPD team.”
g. Click OK and wait for the form to save and reload.
Detailed Steps
1. Enable Access Teams for the Prototype entity.
a. If Necessary navigate to the NPD and Feedback Solution by clicking the Main button, selecting Settings >
Solutions and double-click the NPD and Feedback Solution to open it.
b. In the solution explorer, expand Entities.
c. Click Prototype.
d. In the Prototype properties, in the Communication & Collaboration section, select the check box to enable
Access Teams.
e. On the toolbar, click Save, and then click Publish.
f. Leave the Solution window open for use later in this lab.
2. Create an Access Team Template named Project Team for the Prototype entity.
a. Switch back to your CRM organization, click the Main button and, navigate to Settings > Security.
b. Click Access Team Templates at the lower left.
c. On the toolbar, click New.
d. In Name, enter Project Team.
e. In Entity, select Prototype.
f. In Access Rights, select the check boxes for Read and Write.
g. On the ribbon, click Save and Close.
3. Add a sub-grid to the Prototype Information form for Project Team members.
a. Switch to the NPD and Feedback Solution.
b. In the solution explorer, expand the Prototype entity.
c. Click Forms.
d. Double-click the Information form that has a Form Type of Main.
e. In the form editor, select the Planning section.
f. On the Insert ribbon, click Section, and then click One Column to insert a new section.
g. In the Insert ribbon, in the Control group, click Sub-Grid.
h. In the Set Properties dialog box, in Name, enter ProjectTeam (no spaces).
i. In Label, enter Project Team.
j. Select the check box Display label on the Form.
k. In the Data Source section, in Records, select All Record Types. Note: the users who are added to the Access
Team do not have a direct relationship with the record, so Only Related Records will not work.
l. In Entity, select Users.
m. In Default View, select Associated Record Team Members. The Team Template property is now displayed.
n. In Team Template, select Project Team (the name of the Access Team Template you created).
o. In the lower right, click Set.
p. On the Home ribbon, click Save, and then click Publish.
q. Click Save and Close.
Lab Setup
Before you perform this lab, you must complete the Add Fields to Forms lab in the Customizing Forms module, and added the
Originating Idea lookup to the Prototype form as described in that lab.
Detailed Steps
1. Create a Business Rule for the Prototype entity in the NPD and Feedback Solution.
a. Switch to the NPD and Feedback Solution.
b. In the solution explorer, expand Entities.
c. Expand Prototype.
d. Click Business Rules.
e. On the menu bar, click New.
Exercise Scenario
In this exercise you must modify the Quick Find Active Contacts view to enable the Address 1: City field as a find column in order to
allow users to search for Contacts based on the city in which they are located.
Detailed Steps
1. Open the Quick Find Active Contacts view in the NPD and Feedback Solution.
a. Switch to your NPD and Feedback. Otherwise click the Main button, and navigate to Settings > Solutions and double-
click the NPD and Feedback Solution to open it.
b. In the solution explorer, expand Entities.
c. Expand the Prototype entity.
d. Click Views.
e. In the list of views, double-click Active Prototypes.
3. Add the Originating Idea, Planned Completion, and Owner fields from the Prototype entity.
a. In the Common Tasks pane at the right side of the view designer, click Add Columns.
b. In the Add Columns dialog, select Originating Idea, Planned Completion, and the Owner fields.
c. Click OK
5. Move the Planned Completion field directly after the Name field.
a. Click to select the Planned Completion field
b. Using the arrows in the Common Tasks pane, move it after the Name column.
c. Click Save and Close.
d. In the solution explorer, click the Prototype entity node.
e. On the toolbar, click Publish.
Lab Setup
Before you perform this lab, you must complete the Create Custom Entities lab and the Create a Custom Activity Entity lab in the
Customizing Entities module, and create the Prototype and Feedback entities as described in those labs.
Exercise Scenario
In this exercise you must create the All Prototypes for My Ideas view and the Service Feedback Last 3 Months view following the
requirements specified in the lab scenario.
Detailed Steps
1. Open the list of Prototype views in the NPD and Feedback solution.
a. Switch to your NPD and Feedback. Otherwise click the Main button, and navigate to Settings > Solutions and
double-click the NPD and Feedback Solution to open it.
b. In the solution explorer, expand Entities.
c. Expand the Prototype entity.
d. Click Views.
2. Create a copy of the Active Prototypes view and name it All Prototypes for My Ideas.
a. Double-click the Active Prototypes view.
b. When the view is open, click Save As.
c. Change the Name to All Prototypes for My Ideas and then click OK.
d. Update the filter criteria of the new view.
e. In the Common Tasks pane on the right side of the view designer, click Edit Filter Criteria.
f. In the Select control, click the drop-down and select Originating Idea from the Related section in the lower part of
the list.
g. Underneath Originating Idea, in the Select control, select the Owner field.
h. Make sure that the condition list to the right of Owner contains Equals current user.
i. At the lower right corner of the Edit Filter Criteria dialog box, Click OK.
3. Remove the Owner, Target Market Size and Planned Completion Fields.
a. Select the Owner column.
b. In the Common Tasks area, click Remove, and OK to Confirm.
c. Select Target Market Size column.
d. In the Common Tasks area, click Remove, and OK to Confirm.
e. Select the Planned Completion column.
f. In the Common Tasks area, click Remove, and OK to Confirm.
4. Add the Created On and Modified On columns to the view.
a. In the Common Tasks pane, click Add Columns.
b. In the Add Columns dialog box, select the check boxes next to Created On and Modified On, and then click OK.
c. Verify Originating Idea column is to the left of the Name column.
d. Select the Originating Idea column, and then in the Common Tasks pane, click Change Properties.
e. In the Change Column Properties dialog box, select 200px and click OK.
f. Select the Modified On column.
g. Verify that Modified On is just to the right of Created On.
h. If not, In the Common Tasks area, click the right arrow until the Modified On column is to the right of the Created
On column.
i. Click Save and Close.
j. In the solution explorer, click the Prototype entity.
k. On the toolbar, click Publish.
l. Leave the Solution window open for use in later labs.
Detailed Steps
1. In the NPD and Feedback Solution, create a view for the Feedback entity named Service Feedback Last 3 Months.
a. If necessary, switch to the NPD and Feedback Solution.
b. In the solution explorer, expand the Entities node.
c. In the list of entities, expand Feedback.
d. Click Views.
e. On the menu bar above the list of views, click New.
f. In Name, enter Service Feedback Last 3 Months and click OK.
2. Modify the filter criteria as described in the lab scenario.
a. In the Common Tasks pane, click Edit Filter Criteria.
b. In the Edit Filter Criteria dialog box, click the Select control, and then in the Related section of the list select
Regarding (Case).
c. Underneath Regarding (Case), in the Select control, select the Status field.
d. Next to the Enter Value: Status field, click the ellipsis button.
e. Double-click Resolved in the Available Values list to add Resolved to the Selected Values list, and then click OK
f. Underneath Regarding (Case), in the Select control, select Modified On.
g. In the condition list (that currently contains On), select Last X Months.
h. In the Choose Date control, type 3.
i. At the lower right corner of the Edit Filter Criteria dialog box, Click OK.
3. Add columns to the view as described in the lab scenario.
a. In the Common Tasks pane, click Add Columns.
b. In the Add Columns dialog box, select the check boxes next to Date Created and Satisfaction Rating, and then click
OK.
c. In the Common Tasks pane, click Add Columns.
d. In the Add Columns dialog box, in the Record Type list, select Regarding (Case).
e. Select the check boxes next to Modified On and Owner, and then click OK.
4. Resize the new columns and configure sorting for the view.
a. Double-click the Owner (Regarding) column.
b. In the Change Column Properties dialog box, select 125px, and then click OK.
c. In the Common Tasks pane, click Configure Sorting.
d. In the Configure Sort Order dialog box, in the Sort By list, select Date Created.
e. Underneath Date Created, select Descending Order so that the newest records will be displayed at the top.
f. Click OK.
g. On the toolbar, click Save and Close.
5. Publish and test the Views.
a. In the solution, click the Publish All Customizations button.
b. Leave the Solution window open for use in later labs.
c. Switch back to your main CRM application.
d. Click the Main button and navigate to Service > Activities.
e. Click the view selector (this shows My Activities because this is the label of the current view).
f. In the view selection list, click Feedback, then in the submenu select Service Feedback Last 3 Months. The new
view will be displayed, showing test records created in earlier labs.
g. Click the Main button and navigate to Marketing > Prototypes
h. Using the view selector Select the All Prototypes for My Ideas this will show all prototypes for any Ideas that you
are the Owner of.
Practice 8.3 Create a Custom Chart
Scenario
Judith Walker, Head of Services at Adventure Works Cycles, needs to assess customer satisfaction for recently resolved service
Cases.
She asks you to create a chart to use on a dashboard showing the number of Feedback responses in each month, broken down by
the satisfaction rating. Judith already has a dashboard which shows volumes of work in the service department. For this new chart,
she needs to see how the proportions of the satisfaction ratings change from month to month rather than the actual number of
responses.
Objectives
In this lab you will create a chart of Feedback records, using a category from the Cases they are related to. You will then test the
chart before adding it to a dashboard.
Lab Setup
Before starting this lab, you will need to complete the lab exercise “Create a Custom View for the Prototype Entity” in the module
“Customizing Views”.
Exercise Scenario
To meet Judith’s requirements you must create a chart categorized by the month the related Case was resolved.
Instead of creating a custom field to use for the date a Case is resolved, note that you can use the Modified On field which will
provide the same result. Cases cannot be modified after they are closed (unless they are re-opened first). When you use the chart on
a dashboard you will be able to associate it with a view of recently resolved Cases to make sure this is a valid approach.
Because Judith is more interested in the relative proportions of the satisfaction ratings each month than in the actual number of
Cases closed or Feedback responses received, you must create a 100% Stacked Column to make the visualization clearer.
Detailed Steps
1. Open the NPD and Feedback Solution and create a chart for the Feedback entity.
a. Switch or Navigate back to your NPD and Feedback solution. Or click the Main button and navigate to Settings >
Solutions and double-click the NPD and Feedback Solution to open it.
b. Expand the Entities node of the solution explorer.
c. Expand the Feedback node, then click Charts.
d. In the action bar, click New. The chart configuration form will open
2. Configure the new chart as described in the exercise scenario.
a. In the View used for chart preview at the top of the form, select the view called Service Feedback Last 3 Months.
b. Below the heading Legend Entries (Series) click Select Field and select the Satisfaction Rating field from the top
section of the list.
c. To the right of the field name, click Count:All and select Count:Non-empty.
d. To the right of the series row, click the Column button, then in the gallery which appears click the Column button
(on the left), then select 100% Stacked Column.
e. Below the heading Horizontal (Category) Axis Labels click Select Field and select the Modified On (Regarding)
field. Leave the date grouping at Month.
f. Click Add a Category, then Select Field and select the Satisfaction Rating field from the top section of the list.
g. Enter a new chart name Feedback by Case Closed Month and Satisfaction (or another name if you prefer).
3. Save and publish the new chart.
a. Click Save and Close to close the chart configuration form.
b. Click the Feedback entity in the solution explorer.
c. On the toolbar, click Publish.
4. Create some Feedback records.
a. Leave the NPD and Feedback window open for later labs.
b. Switch back to your main CRM application and click the Main button, and Navigate to Service > Cases.
c. On the command bar, click New Case.
d. Click the Case Title field.
e. Enter Test1 (or your own name for this test record).
f. Point to or click the Customer field, then click the lookup button to the right of it and select any Account from the
list.
g. The record will be automatically saved.
h. In the social pane, under the Activities tab, click Add More Activities (with an ellipsis icon …), then click Feedback.
i. In the new Feedback form, click the Satisfaction Rating field and use the option set control to select a rating.
j. On the command bar click Save then click Mark Complete.
k. Click the Regarding field to return to the Case form.
l. Repeat steps H. through K. several times, selecting different satisfaction ratings for each new Feedback record.
m. With the Case form open, on the command bar click Resolve Case.
n. In the Resolve Case dialog box, click the Resolution field and enter Fixed.
5. Test the new chart.
a. Navigate to Service > Activities.
b. Click My Activities to show the list of available views.
c. Click Feedback, then in the sub-menu, click Service Feedback Last 3 Months.
d. On the right hand side of the screen, click Charts to expand the chart pane.
e. Note that the column of the chart extends to 100 (%).
f. Point to any data point in the chart (one column segment) and check that the infotip shows the correct number of
responses.
g. Click a data point and confirm the Service Feedback Last 3 Months view is filtered to match the category for that
data point.
Detailed Steps
1. Create a copy of the Customer Service Performance dashboard in the NPD and Feedback solution.
a. Switch to the NPD and Feedback solution if you still have the window open, otherwise Click the Main button, and
navigate to Settings > Solutions and double-click the NPD and Feedback solution to open it.
b. In the solution explorer, click Dashboards.
c. On the action bar, click Add Existing.
d. Select Dashboard.
e. In the Select solution components dialog box, select Sales Dashboard click OK.
f. Verify the Sales Dashboard is selected, and on the action bar, click Save As.
g. In the Dashboard Properties dialog box, enter Customer Service and Feedback as the Name of the Dashboard.
Enter something suitable for the Description (note you cannot change this later).
h. Click Enable for Mobile.
i. Click Save.
2. Remove the Sales Pipeline Chart and replace it with the Feedback chart you created in the previous exercise.
a. Double-Click the Customer Service and Feedback Dashboard to open it up
b. Locate the Sales Pipeline chart (Bottom Row, Middle Column)
c. Click to Select it
d. Press Delete.
e. On the Command Bar at the top, click the Chart button
f. Select Feedback from the Record type dropdown.
g. Select Service Feedback Last 3 Months for the view.
h. Select Feedback by Case Closed Month and Satisfaction under Chart.
i. Click Add.
j. Click the select the Feedback by Case Closed Month and Satisfaction chart
k. Drag it between the Accounts list and the Top Customer chart
l. Click Save.
m. Click Close
n. Click to select the Customer Service and Feedback Dashboard, and click the Publish button
3. Test the Dashboard
a. Switch back to you CRM organization.
b. Click the Home button (Microsoft Dynamics CRM)
c. In the dashboard window, click the arrow next to Sales Activity Dashboard
d. Choose Customer Service and Feedback.
Exercise Scenario
In this exercise you copy the existing Default Dynamics 365 theme and modify it to fit based on Adventure Works Color Pallet.
Detailed Steps
4. Create a Clone of the existing default Theme, called ADV Works Theme
a. In your main application click the Main button and navigate to Settings > Customizations.
b. Select Themes.
c. Select the Default Theme.
d. Click Clone.
5. Change the Navigation Bar Color, Navigation Bar Shelf Color, and Header Color to the colors outlines above.
a. Double-click the Copy of Default Theme to open it.
b. In the Theme Name, enter ADV Works Theme.
c. In the Navigation Bar Color field, enter #34444 (Preview will change to red)
d. In the Navigation Bar Shelf Color, enter #e2e2e2 (Preview will change slightly)
e. In the Heading Color, enter #6e6e6e (Preview will change to a Dark Gray)
f. Click Publish Theme.
Module 9: Customizing for Interactive Service Hub
Adventure Works uses several different package delivery providers depending on the on how fast the product needs to arrive to the
customer. Below is the general rule that is used to determine which provider to use:
Once the Package is created and sent to the customer, the representative will also need to be able to determine the following:
The Technician is not allowed to resolve the case until the following has been completed.
The replacement Parts have been installed and the problem is solved
The original parts have been sent back and received by Adventure Works.
Exercise Scenario
In this exercise you be customizing the Interactive Service Hub interface to enable the Requirement Listed above.
15. Add a new Option Set called Shipping Method with the Following Values
a. FedEx (Set Color to #000066)
b. UPS (Set Color to #330000)
c. USPS (Set color to #990000)
d. None (Set color to #000000) Set this as Default
16. Set the Field to Appear in the Global Filter, and Be Sortable in the Interactive Experience
17. Click Save and Close.
18. You will also need to add the following Lookup fields to the Entity:
Name Lookup Entity
Associated Case Case
Customer Account
Point of Contact Contact
Next you will create Several Calculated Fields to populate the Shipping Information based on the Account Selected.
19. If necessary click New, Enter Street 1 in the Display Name, Select Calculated for Field Type, and click Edit.
20. Click Add Action, enter ish_customer.address1_line1, Click the Check Mark ,
21. Click Save and Close.
22. Click Save and New and repeat to create the following calculated fields:
Name Formula
City ish_customer.address1_city
State ish_customer.address1_stateorprovince
Postal Code ish_customer.address1_postalcode
Phone ish_customer.telephone1
23. Under the Replacement Package entity, click on the N:1 Relationships, and double-click the relationship where Case is the
Primary Entity.
24. Select Mappings and click New.
25. From the Source Entity Fields, click to select customer ID and from the Target Entity Fields select ish_customer in the
Target.
26. Click OK.
27. Click New Again
a. Select primarycontactid in Source Entity Fields and ish_pointofcontact in the Target Entity Fields.
b. Click OK.
28. Click Save and Close
Practice 9.2: Customize the Replacement Package’s views and Interactive form.
Now that we have all of the necessary fields, relationships, and mappings defined, we are going to customize the views and forms
that will be used for the Replacement Package entity in ISH.
1. If necessary, in your Dynamics 365 online organization, navigate to Settings > Customization > Solutions
2. Open the Replacement Parts solution.
3. Expand the Entities and Replacement Package, Views.
4. Double Click to Open the Active Replacement Packages View
5. Make the Following Changes
a. Remove the Created on Field
b. Set the Name field to 200 PX
c. Add the following Fields
i. Act Delivery Date
ii. Customer
iii. Est Delivery Date
iv. Point of Contact
v. Ship Date
vi. Tracking Number
d. Adjust the fields to display in the following order
i. Name
ii. Customer
iii. Point of Contact
iv. Ship Date
v. Est Delivery Date
vi. Tracking Number
vii. Actual Delivery Date
1. If necessary, in your Dynamics 365 online organization, navigate to Settings > Customization > Solutions
2. Open the Replacement Parts solution.
3. Under Replacement Package, select dashboards, and click new > Interactive experience dashboard.
4. Select 2-Column Overview Dashboard and click Create.
5. Enter Replacement Packages in the Name Field.
6. Under the Visual Filters Section click one of the Add Chart icons, and select the Packages by provider chart.
7. Click Add.
8. Click the other Add Chart Icon, Select the Packages Shipped by Week
9. Click Add.
10. Under the Streams Section, click the Add Stream Icon, Select Active Replacement Packages for the View
11. Click OK.
12. Click the Save button then Close the dashboard