Skip to main content
Solved

Lookup Screen

  • October 5, 2021
  • 3 replies
  • 247 views

Forum|alt.badge.img+3

Hi,

Can anyone help me how to create popup screen similar to screen which is in contact screen which will populate when we click on create person button.

 

 

Regards,

Ramya 

Best answer by Atheeq Maharoof

Hi @RamyaR ,

While creating the lookup for primary table provide the required table. Checking the XML of CONTACTTOPERSONLOOKUP will give you an idea on how to create a similar screen. You can try removing the column_def tags and see the changes made in the UI editor. This will give an idea on how the UI elements data are converted to XML.

Hope this answer helps. 

Best Regards,
Atheeq

3 replies

Atheeq Maharoof
Superhero (Employee)
Forum|alt.badge.img+12
  • Superhero (Employee)
  • October 5, 2021

Hi @RamyaR ,

The popup screen which is opened when clicking the create person button is “CONTACTTOPERSONLOOKUP” (Sometimes you wont see in any design in the UI editor, make sure to off the lookup view found near the current screen). You can create a new lookup screen and copy the xml in CONTACTTOPERSONLOOKUP and paste it in the newly created lookup screen (TEST_PERSON). Make sure to change the screen name as the newly created screen (TEST_PERSON).  Using the UI editor you can do the necessary changes. 

 

Newly created screen

When you check the custom code of Create Person button, you can see the baseline client script used to open the popup CONTACT_CREATE_PERSON_BUTTON. You can create a similar custom client script and open the newly created lookup. 

 

Create person custom code

I did not implement the function completely , but as per my understanding this will be a feasible approach. 

Hope this answer helps.

Best Regards,
Atheeq


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Partner)
  • October 5, 2021

@Atheeq Maharoof  thanks for the swift response.

Can suggest how to design screen for different table not for person table, Similar functionality required for other table.

 


Atheeq Maharoof
Superhero (Employee)
Forum|alt.badge.img+12
  • Superhero (Employee)
  • Answer
  • October 5, 2021

Hi @RamyaR ,

While creating the lookup for primary table provide the required table. Checking the XML of CONTACTTOPERSONLOOKUP will give you an idea on how to create a similar screen. You can try removing the column_def tags and see the changes made in the UI editor. This will give an idea on how the UI elements data are converted to XML.

Hope this answer helps. 

Best Regards,
Atheeq