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
Original Message:
Sent: Tue April 25, 2023 10:08 AM
From: RAVI KUMAR
Subject: ICN Custom Action - Enable/Disable for specific search template
Hi All,
Hope all are doing good.
Requirement:
I have an ICN desktop called "Desktopabc".
There are lot of search templates in this Desktop that are belongs to different businesses.
For one of the business, need to implement custom action called "Actionabc". This action should be visible to only that business search template.
What I have done so far:
I have implemented custom action "Actionabc".
Currently it is visible in all the search template results context menu.
I have implemented some kind of logic as work around. In this work around also the custom action is visible, but if clicking on this action will display message dialog that "this functionality is not for this search template".
I am looking for a solution to hide(not show) this action for some search templates. Could you please suggest me solution.
------------------------------
RAVI KUMAR
------------------------------