Friday 5 October 2018

Create custom lookup for a Data set field

Today, I will be discussing about how to create a lookup for a data set field. In enterprise portal the TitleField1 and TitleField2 properties are used as the default content for a lookup. However you can use the datasetLookup()  method in the field of data source of data set in order to set the content for lookup.

Step 1) Go to your data set and expand its data source. Now add a method for dataSetLookup().















Step 3) Add code in dataSetLookup() method. In my case i need to show list of all employees which belong to selected department.  I am showing here only personnel number of employee.















Step 4) Below is the configured lookup  displaying personnel numbers.




















No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Custom Business events Part 3 - (Activate custom business event) in D365 F&O

 In this blog we will discuss about the steps to activate a custom business in D365 F&O. As we know that business event catalog does not...