Script include

Lusifer1984
Tera Contributor

there is a script include named "cxs_UIActionConfig" - checking in PDI 

 

ARNABSEN1_0-1697478433478.png

 

 

What is the purpose of this script include 

 

========================================
What is the purpose of line (60-67)
=========================================
isValidAddSearchResourceForTableConfig: function(tableConfigGR, searchResourceConfigGR) {
var tableConfigUIType = this.getUITypeForTCorRP(tableConfigGR);
var exceptionValue = this.ADDITIONAL_SEARCH_RESOURCE_EXCEPTIONS[tableConfigUIType];
if (exceptionValue == this.MATCH_ALL || exceptionValue.indexOf(searchResourceConfigGR.getUniqueValue()) > 0)
return false;
 
return true;
},
=============================================
 
=======================================
What is the purpose of ( line 69-75)
===========================================
isValidUIActionForResourceTable: function (uiActionGR, resourceTable) {
// For "Full view" ui action, we don't create search action config for catalog table
if (this.UI_ACTION_RESOURCE_TABLE_EXCEPTIONS[uiActionGR.getValue('action_id')] == resourceTable)
return false;
 
return true;
},
===================================================
 
Anyone can help 
0 REPLIES 0