The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Reference qualifier with cilent script

AnnamalaiS
Tera Contributor

I have cost center field (select lookup with reference to cost center table) and project category field (selectbox with manually entered values).

 

Cost center based on project category.

 

Example: scent (project category) has 3 cost center. It should only visible instead of showing the whole list.

 

I need reference qualifier with client script for this.

 

26 REPLIES 26

@AnnamalaiS 

I already informed Client script cannot apply reference qualifier, client script can only be used to show/hide or set/clear field value.

what's your relationship between the choices in Select box and the Cost Center table?

Without this how can you tell which Cost Centers to show based on Choice 1 or Choice 2 etc?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi,
This task is new to me.
This requirement 

reference qualifier of the cost center (select lookup with reference to cost center table) field should be modified based on the selection of the field: Project Category (selectbox with manually entered values)

For Example : Scent has 3 cost centers, and instead of showing the whole list, only those 3 Cost Centers must be visible.

@AnnamalaiS 

without knowing the dependency, it's not possible.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi,
for example in my custom table.
cost center    project category

000000093 Digital Asset

000000223 Digital Asset

00000022 scent

00000100 scent

00000102 Digital Asset

00000103 GDMO

0000004 GDMO

0000005 GDMO

0000006 scent

 

Okay, And do you have same type of field and value in cost center table Like the above cost center values?