Hi,
I check the ICN code and found ICN uses this: item.isInstanceOf && item.isInstanceOf(ecm.model._SearchTemplateBase) to know if the item in items is a search template.
------------------------------
JIE ZHANG
------------------------------
Original Message:
Sent: Tue May 16, 2023 11:15 AM
From: RAVI KUMAR
Subject: ICN Custom Action - Enable/Disable for specific search template
Hi Marcus,
Yes. But how do I know the search template in this function? or Am I missing something.
Regards,
Ravi
------------------------------
RAVI KUMAR
------------------------------
Original Message:
Sent: Wed May 10, 2023 02:46 AM
From: Marcus Kalthoff
Subject: ICN Custom Action - Enable/Disable for specific search template
Hi Ravi,
how about implementing an
isVisible: function (repository, items)
in your action?
------------------------------
Marcus Kalthoff
Original Message:
Sent: Tue May 09, 2023 03:16 AM
From: RAVI KUMAR
Subject: ICN Custom Action - Enable/Disable for specific search template
Hi All,
Can anyone suggest the solution.
------------------------------
RAVI KUMAR