Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 07:33 AM
Hi Everyone,
I need to update a condition on Relationships, Where
Need to update the query to filter only for Personal Computer:
model_category=451c87f6db41e2407be67bec0f96193a
Applies to Table - Hardware
Queries from table - sys_email
Script:(function refineQuery(current, parent) {current.addQuery('instance', parent.sys_id);})(current, parent);Thanks Everyone
@Dr Atul G- LNG @Maik Skoddow @Sandeep Rajput
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 09:08 AM
try this,
function onLoad() {
var ModalCat = g_form.getValue('model_category');
if (ModalCat != '451c87f6db41e2407be67bec0f96193a') {
g_form.hideRelatedList('REL:48c2c2f9977fb110fea876d11153af0c');
}
}
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 09:08 AM
try this,
function onLoad() {
var ModalCat = g_form.getValue('model_category');
if (ModalCat != '451c87f6db41e2407be67bec0f96193a') {
g_form.hideRelatedList('REL:48c2c2f9977fb110fea876d11153af0c');
}
}