Reference Qualifier

nameisnani
Mega Sage

Hi Team ,

 

As u can see in the below image , Here i have added sub- category and application category based on the category selection . it is OK in Platform level . 

SunilKumarPadh_0-1683014108680.png

 

If u can see in the portal it is not showing 

SunilKumarPadh_1-1683014253591.png

 

How to update my reference qualifier 

SunilKumarPadh_2-1683014285834.png

 

My Reference Qualifer 

 

javascript:if(current.variables.subcategory=='CFS Edge') 'element=u_application_category^name=incident^value=Platform Support'; else 'name=incident^element=u_application_category^dependent_value=Lighthouse';

 

 

Thanks

 

@BharathChintala 

@Community Alums 

@Prince Arora 

@Gunjan Kiratkar 

@Sagar Pagar 

@Ankur Bawiskar 

1 ACCEPTED SOLUTION

itsRakesh
Kilo Sage

@nameisnani 
Try the below

javascript:if(current.variables.subcategory=='CFS Edge') 'element=u_application_category^name=incident^value=Platform Support'; else if(current.variables.subcategory=='Bottomline SWIFT Gateway')'name=incident^element=u_application_category^dependent_value=Bottomline SWIFT Gateway';else 'name=incident^element=u_application_category^dependent_value=Lighthouse';

View solution in original post

19 REPLIES 19

Community Alums
Not applicable

Hi @nameisnani ,

can you please check with " Reference " Type.

 

I will work on portal as well.



SandeepDutta_0-1683014622234.png

 

From  :https://www.servicenow.com/community/now-platform-forum/reference-qualifier-not-working-on-portal/m-...

 

Hi @Community Alums 

 

Thanks for the QR

SunilKumarPadh_0-1683014860146.png

 

Community Alums
Not applicable

Hi @nameisnani ,

there are a few things you can check:

  1. Check the portal ACLs: Make sure that the portal user has the necessary permissions to access the records that the reference qualifier is filtering. Review the ACLs for the tables involved in the reference qualifier and ensure that the portal user has the necessary read access.

  2. Check the portal widget: If the reference qualifier is being used in a portal widget, check that the widget is configured correctly. Ensure that the widget is using the correct table, and that any necessary portal-related configurations (such as portal ACLs) have been set up.

  3. Check the reference field: If the reference field itself is not displaying any records, check that it is correctly configured. Ensure that the field is pointing to the correct table, and that any necessary reference fields are configured correctly.

  4. Check the reference qualifier script: Review the reference qualifier script to ensure that it is correctly written and does not contain any syntax errors. Make sure that any variables or fields referenced in the script are spelled correctly.

  5. Check the records being referenced: If the reference qualifier is not filtering records as expected, review the records being referenced to ensure that they meet the criteria specified in the reference qualifier script.

Hi @Community Alums 

 

Portal Acls , Portal widget and others all are looks good . 

i don't why i am unable to achieve this ,