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.

Connect and upload in azure blob with azure key vault using x++

 Today, I will be sharing details about file upload in azure blob using azure vault that includes pre requisite and code snippet used to it....