Hello,
- I have created a java script in layouts folder. This file contains function called "Test".
- Then I create the following custom action:
<CustomAction
Id="ArticlesListItemsAction"
ScriptSrc="~SiteCollection/_layouts/VGSP.VIS.MediaCafe2/ArticlesListItemsCustomAction.js"
Title="View Comments"
Description="Show comments for article"
RequireSiteAdministrator="FALSE"
RegistrationType="ContentType"
RegistrationId="0x01001024C2BBEEFB4DDA9AA2AD73150109A1"
GroupId="ActionsMenu"
Sequence="1000"
Location="EditControlBlock">
<UrlAction Url="javascript:Test();"/>
</CustomAction>
- I Deploy the solution . Then I navigate to list . Then open the menu of an item of List . Then when press on link , the function not called .
So what is the problem?
Thanks
ASk