Script include
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 10:52 AM
there is a script include named "cxs_UIActionConfig" - checking in PDI
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