Refrence lookup not working in ui page HTML code for g:ui_reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 03:01 AM
I am getting the issue my lookup not working while adding multiple condition by sapreting the AND in query in Ui page in html script
<g:ui_reference name="oldCiReference" id="oldCiReference" query="status==5^location==location " table="u_cmdb_toc_devices" onChange="getCiValuesOld()" />
</td>
If i remove the AND condition location ==location then the lookup working fine could you suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 03:06 AM
can you please specify what is a location field here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 03:12 AM
So i have a task form it has a location field and within the same form i have a related link called xyz if user click on that link a dilouge box open which have a different form which take refrence of ci table .
So it should only allow me to enter the ci which have same location as task and status is 5
@Prashant Ahire So its working fine but once i add the AND condition in query of html tag lookup not working once i remove the location condition its working fine .
so the location is the backend name of both the table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 03:07 AM
Where the location is the field of that refrence variable ( We have related link and after click on that link a dilouge box open where there is a field which have refrence type ) and i need to comapre the location field of the main form . So the location of the main form matched to the location of that related link form field