Can anyone Help me Understad the what syntax is This

Prathamesh Cha1
Tera Contributor

Can anyone Help me Understad the what syntax is This

 

PrathameshCha1_0-1722428774750.png

 

 

Systax of

Reference qualifier : javascript:'active=true^type='+sn_grc_reg_change.PP_RegChangeManagementHandler.IRMASSIGNMENTGROUPTYPEID;
 
2 REPLIES 2

Nicholas_Gann
Mega Guru

The result of this JavaScript reference qualifier is:

Active = True AND Type = [The value of sn_grc_reg_change.PP_RegChangeManagementHandler.IRMASSIGNMENTGROUPTYPEID]

 

This looks like it should be sourced from the Script Include PP_RegChangeManagementHandler. Does this Script Include exist and does it contain a variable IRMASSIGNMENTGROUPTYPEID inside its script?

 

The other option is to search for IRMASSIGNMENTGROUPTYPEID using a Studio search. The value of this constant will likely be equal to the sys_id of a group type (sys_user_group_type) with a label similar to 'IRM'. If you search the sys_user_group_type table it should hopefully not be hard to find

Rajesh Chopade1
Mega Sage

Hi @Prathamesh Cha1 

 

following is the explanation of reference qualifier which you used:

javascript: Prefix:

  • This indicates that the reference qualifier is a JavaScript expression.

'active=true^type=':

  • This is part of the encoded query that filters records.
  • active=true ensures only active records are included.
  • ^ is the AND operator in the encoded query syntax.
  • type= is a condition to filter records based on the type field.

sn_grc_reg_change.PP_RegChangeManagementHandler.IRMASSIGNMENTGROUPTYPEID:

  • This is a script that presumably retrieves a value.
  • sn_grc_reg_change is the scoped namespace.
  • PP_RegChangeManagementHandler is likely a script include or class within the sn_grc_reg_change namespace.
  • IRMASSIGNMENTGROUPTYPEID is a variable or method that returns the ID used to filter the type field.

I hope my answer helps you to get understand the reference qualifier if yes, mark my answer correct and helpful accordingly.

 

THANK YOU

rajesh chopade