Cannot add new item to ECB Menu - SharePoint 2019

Copper Contributor

Hello,

 

We just migrated from SharePoint 2013 to 2016, then 2019.

We create items in the menu in JavaScript via the CAMOpt () function. In 2013 and 2016, everything is working perfectly, but not in 2019.

 

The "m" parameter in the function CAMOpt is constantly null and the item is not added.

 

 

CAMOpt(m,"Add to...","AddTo('"+listName + "'," + currentItemID +");");

 

 

 

 

The issue is identical to the following topic (which has been closed and reported as a bug): Can't add element to ECB menu in Sharepoint 2019  

 

I cannot use JSOM to add to the menu permanently because I want the item only appear on a particular page and "SP Callout actions" is not working for custom list / generic list.

 

Do you know a solution or a workaround ?

Thanks in advance

 

Nathan

 

 

0 Replies