Add a tile button to an existing workspace Using Visual studio & Dynamics 365 Finance and Operations

To add a Tile button to an existing workspace, follow these steps:

  1. Create a new project in Visual Studio and make sure that the model that your project is in references “Fleet Management.” Verify that the model that your project is in references “Fleet Management” by following these steps:
    1. Select the Dynamics 365 menu.
    2. Select Model management > Update model parameters.
    3. Select the model that you are using in the Model name drop-down list.
    4. Select Next.
    5. Ensure that the Fleet Management model is selected in the References models screen.
  2. With the new project open in the Solution Explorer, right-click the project and select Add > New item.
  3. In the Add new item window, select User Interface on the left pane.
  4. Select Tile on the middle pane.
  5. Name the new tile MyTile.
  6. Select Add.
  7. In the Properties window for the new MyTile object, select Wide in the Size field.
  8. Select My Tile in the Label field.
  9. Select Display in the Menu item type field.
  10. Select FMSetup in the Menu item name field.
  11. Select Save.
  12. By linking this tile to the FMSetup menu display item, when the tile is selected in the application, it will open the Fleet Management Setup page.
  13. Now, you will extend the Reservation management workspace and add the tile to the Summary section.
  14. In Application Explorer, find the FMClerkWorkspace page.
  15. Right-click FMClerkWorkspace and select Create extension.
  16. A new form is added to your project called FMClerkWorkspace.Extension.
  17. Right-click FMClerkWorkspace.Extension, select Rename, and rename the object to FMClerkWorkspace.myExtension.
  18. Double-click FMClerkWorkspace.myExtension to open it in the element designer.
  19. On the design pane of the form designer, open FormTabControl1 > Workspace > PanoramaBody > SummaryTileSection.
  20. Right-click SummaryTileSection and select New > Tile button.
  21. A new control will be added to the form called TileButtonControl1.
  22. Select TileButtonControl1 and go to the properties window.
  23. Select MyTile in the Name field.
  24. Select MyTile in the Tile field.
  25. Select My Tile in the Tile text field.
  26. Save and build the project.
  27. To view the new tile, open Finance and Operations apps, and go to the Reservation management workspace. The tile should display in the Summary section

Leave Comment

Your email address will not be published. Required fields are marked *