How to append something in query param from look up magnifier icon

SnowShilpi
Tera Contributor

HI Team,

 

Below is my requirement.

SnowShilpi_0-1699012575806.png

 

While clicking on magnifier icon it is redirecting to below page

SnowShilpi_1-1699012575829.png

 

After clicking on this new button it is redirecting to below page need to fill value in source and source id from value from first page.

SnowShilpi_2-1699012575850.png

how to achieve this need urgent help.

3 REPLIES 3

Anurag Tripathi
Mega Patron
Mega Patron

This can happen if you add a reference qualifier on the reference field from screenshot 1

For Eg, if you add the ref qual the state = new then the list you will see (screenshot 2) will be a filtered list with the filter state=new applied, and if you click on NEW button there then the same filter condition will be applied to the record and state will be pre selected as new.

Im not sure if you want the filtered list or not.

Hope this helps.

-Anurag

HI Anurag,

 

Thank you so much for your response but my requirement is little bit tricky when somebody click on "reference look up " i need to take vulnerability field value and take this value to next page and when somebody click on new button then need to set that vulnerability value into new field

What you can do is, create a custom new button on the table (from screenshot 2)and in that you can look up to see if there is an entry on the table (from screenshot 1) and copy the values then.

Not a very straightforward solution but not straightforward requirement too

 

You can use the override ui action way to create a custom new button -> Override a UI action for an extended table (servicenow.com)

-Anurag