Good Afternoon.
I created an ECB custom action based on a content type of mine, which inherists from DocumentSet ContentType.
<?xml version="1.0" encoding="utf-8"?><Elements xmlns="http://schemas.microsoft.com/sharepoint/"><CustomAction Id="CopyAOACCAMenu.Script"
Location ="ScriptLink"
ScriptSrc="~SiteCollection/Style Library/Scripts/CopyAOAC.js?version=2015.12.09.1" /><CustomAction Id="CommonCopyAOACCAMenu.Script"
Location ="ScriptLink"
ScriptSrc="~SiteCollection/Style Library/Scripts/Common.js?version=2015.12.09.1" /><CustomAction Id="jqueryCopyAOACCAMenu.Script"
Location ="ScriptLink"
ScriptSrc="~SiteCollection/Style Library/Scripts/jquery-2.1.4.min.js" /><CustomAction Id="CopyAOACCAMenu"
RegistrationType="ContentType"
RegistrationId="0x0120D52000259111EF1E2D4F4287A1EAC35513EC79"
Location="EditControlBlock"
Sequence="10001"
Title="Copy AOAC"><UrlAction Url="javascript:CopyAOAC('{ListId}', {ItemId})" /></CustomAction></Elements>Deploying this feature on my onpremises environment, all works fine and I can see the menù item inside ECB menù of all items that inherit from 0x0120D52000259111EF1E2D4F4287A1EAC35513EC79 content type.
Deploying the same WSP on SharePoint Online site, I can see nothing in the ECB menù.
All javascript specified as script link are loaded, but the "Copy AOAC" menù item is not shown.
I tried also to create an ECB item on SharePoint online using SharePoint designer, creating a new item directly on the list: this menà item appear on the document ECB while it does NOT appear on the Document Set ECB.
Any ideas?
Thanks,
Sergio
Regards,
Bubu
http://zsvipullo.blogspot.it
Please mark my answer if it helped you, I would greatly appreciate it.