Monday 27 August 2018

Display menu item Form View Option in D365

In this blog we will discuss how we can use same form at back-end and show two different views (Listing and Detail) at front end. Working with forms customization almost every developer came across this requirement in which our user wants a listing page and detail page of same nature of records. So for achieving this requirement follow below steps.

Step 1: 
For listing view, create a display menu item set it's object property to your form name and Form View Option property to Grid as shown in image.












Step 2: 
For detail view, create a display menu item set it's object property to your form name and Form View Option property to Details as shown in image.












Step 3: 
Build & Sync your code.

Result: 


List view













Detail view


No comments:

Post a Comment

How to Convert Images to Base64 Strings in D365 Finance & Operations

In this blog, I will discuss how to convert an image into a base64 encoded string in Dynamics 365 Finance and Operations (D365FO). Fortunate...