Exercise 4: Use Excel workbook designer
You need to use the Excel workbook designer page to create an Open in Excel experience for an entity.
Instructions
-
Switch to the USMF legal entity.
-
In the Fleet Management module, go to Setup > Fleet Setup.
-
In the Data setup tab, select Create.
-
In the Sample data created dialog, select Close.
-
Close the page.
-
In the Common module, navigate to Common > Office integration > Excel workbook designer.
-
Select the FleetCustomer entity. You may use the filter to save time.
-
Add all fields in the list of available fields to the list of selected fields using the Add all button.
-
Select Create workbook. You may safely ignore a SharePoint informational message. Download and open the workbook that is generated.
-
Go to Downloads folder and open the file. If the office activation appears, select Close.
-
If necessary, select Enable Editing to enable the Excel Data Connector App to load. Customer data is read from the OData service on the server and added to the table.
-
Select Trust this add-in.
-
This workbook contains the Excel Data Connector App, a binding to the Fleet Management Customer entity, and a pointer to the server that the workbook was generated from.
-
Select Sign in and use the alias you are using to connect to Dynamics 365 Finance.
-
Insert a blank row above the table and enter Fleet Customers as the title.
-
Rename the worksheet FleetCustomers.
-
Rearrange some of the fields in the table.
-
Select Design to open the design experience.
-
Next to the Fleet Management Customers data source, there are buttons for editing and deleting the data source. Select Edit to see the field list.
-
Select fields and move them as you require. Set the order for the first three fields to FirstName, LastName, and DriverLicense. Select Update. Verify the field order is changed in the worksheet.
-
Select Done.
-
Select Options.
-
Expand Data Connector and select Clear binding data so that the workbook contains no bound data. Select OK.
-
Save the workbook as
FleetCustomersBasic.xlsx
-
In a browser tab, select the Common module and go to Common > Office integration > Document templates.
-
Select + New.
-
Browse to the file that you just saved.
-
Select OK. The template is added as a line in the templates table.
-
In the FleetCustomersBasic row, clear the Apply current record filter checkbox, so that an unfiltered list of customers will be loaded after the template is opened.
-
Change the Template display name value to
Fleet Customers Basic
-
Navigate to Fleet Management > Customers > Customer.
-
Select Open in Microsoft Office. Note that Fleet Customers Basic is now an option in the Open in Excel section. Select that option.
-
Open the workbook that is generated.
-
Select Enable editing to enable the Excel Data Connector App to load. Customer data is read from the OData service on the server and added to the table binding that you created.