web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

How to create multi selection lookup on form control

Vijay Yelmame VY Profile Picture Vijay Yelmame VY 476

Hi All,
In this article will see how to create multi selection lookup on a form control.

For this we need to create one AOT query like CustTablelookup. for that you can refer the documents provides by Microsoft docs.


Expected Result is below: 

Step 1: Create a control on form and set auto declaration property to yes. 

0726.pastedimage1672021707249v1.png



Step 2: Override the Init () method of form and add below code after super.

public class TestLookupTestControl extends FormRun
{
   SysLookupMultiSelectCtrl custAccountMultiSelectControl;
}

public void init()
{
   super();
   custAccountMultiSelectControl = SysLookupMultiSelectCtrl::construct(element,FilterCustAccount, queryStr(CustTablelookup));
}


This was originally posted
here.

Comments

*This post is locked for comments