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 Get Customer Free Text Invoice "Totals" form field value with X++ in D365FO

Customer free text invoices are an essential aspect of financial management in D365FO. In this blog, I have compiled all the code needed to ...