Rechercher dans ce blog

mercredi 16 juin 2010

Ajouter du code Javascript au Custom Action

Id="CustomId"
GroupId="SiteActions"
Location="Microsoft.SharePoint.StandardMenu"
Sequence="2000"
Title="exemple de Custom Action avec JavaScript"
ImageUrl="~/site/_layouts/Images/file-manager.png"
Description="Description" >
javascript: if (confirm(' Do you want to archive all ?')) { window.location.href='{SiteUrl}/_layouts/page.aspx' } else { void('') };"
/>

Aucun commentaire:

Enregistrer un commentaire