Tag Info

New answers tagged

1

Start the Url with slash <UrlAction Url="/_admin/target.aspx"/>


0

Ben, You can do it simply by calling JavaScript in CommandAction.. and in JavaScript, try this: var win = window.open('http://stackoverflow.com/', '_blank'); if(win){ //Browser has allowed it to be opened win.focus(); }else{ //Broswer has blocked it alert('Please allow popups for this site'); } Refer to the following if you don't know how ...


1

Specify the Location attribute of custom action as Location="CommandUI.Ribbon.DisplayForm" Here is an example: <CustomAction Id="ExportVersionHistory.DisplayForm" RegistrationType="ContentType" RegistrationId="0x01" Location="CommandUI.Ribbon.DisplayForm" Rights="ViewListItems"> <CommandUIExtension> ...


0

You can associate your custom action to a specific list by using the RegistrationId property. Check this post, already have answer. Show custom action in ribbon for only one list


1

<?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="9b3d1a59-78ca-45da-aa2c-4964e3f68c58.AppHost-RCA" RegistrationType="List" RegistrationId="100" Location="CommandUI.Ribbon" Sequence="10001" Title="Invoke &apos;AppHost_RCA&apos; action"> ...


0

Extending the ribbon is documented on MSDN: http://msdn.microsoft.com/en-us/library/office/gg552606%28v=office.14%29.aspx It is much simpler to extend the New Item button however. The New Item button will automatically show an entry for each Content Type added tot he list/library. Navigate to List Settings Click Advanced Settings Allow Management of ...


2

You will need to create a "custom action". <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="{42550415-FD08-4f1f-BAE6-93CCB2A2DE60}" Location="Microsoft.SharePoint.StandardMenu" GroupId="SiteActions" ControlAssembly="DemoCustomAction" ControlClass="DemoCustomAction.ListSettingsMenu"> ...


1

That's more a case of LMGTFY - Here's a complete tutorial plus a .wsp to add this function. To get some basic understanding Since you can't download multiple files in one response, you need to package them in a .zip for example. What you have to do is getting the byte[] foreach file and package them together. Then add created .zip to the response to invoke ...


0

this been answered in the following post: Add button to Ribbon.PublishTab.Publishing <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="Ribbon.PublishTab.Publishing.CheckLinkedPageItems" Location="CommandUI.Ribbon" RegistrationType="List" RegistrationId="850" ...



Top 50 recent answers are included