Tag Info

New answers tagged

0

You can add RichText Editor using following way also and it will make Embed Code action enable in ribbon. Designer <%@ Register TagPrefix="SharePointPublishing" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> ...


0

In server-side, you may register your custom action (and thus a ScriptLink custom action) on the list itself (see https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.usercustomactions.aspx). I've never done that, but it seems you can do the same with JSOM: see https://msdn.microsoft.com/EN-US/library/office/jj246201.aspx and ...


1

Enabled SharePoint Server Publishing Infrastructure feature on the site collection level and then the SharePoint Server Publishing feature must be activated on the site level


0

They aren't traditional controls per sé, like on a Windows Form, so there isn't an easy way to disable them, i.e. greyed out and not usable. If it would be sufficient to remove them from the DOM (not visible on the page therefore the user can't interact with them), using jQuery: $( document ).ready(function() { ...


0

That would be quite tricky. As the event receiver is independent entity. Maybe such scenario would work: 1. EventReceiver Triggers - does its job - and creates reload flag (a new property bag) 2. JavaScript on the page checks the property bag, when it sees that reload flag is true does refresh of the page. Hope that helps


0

I know this is an old question but I found a quickfix in Sharepoint 2010. If you use SharePoint Designer, go to Lists and Libraries, then select the List you require the Custom Action to be placed in. In the bottom right there will be a Custom Actions window, where you can add the Custom Actions and import the picture etc. Doing this will add the custom ...


0

If you are you using IE11, To sort out this issue temporarily, try to change the document mode of the browser to 7/8/9/10. It worked for me by doing like this.


1

Your CommandUIExtension should look like below: <CommandUIExtension xmlns="http://schemas.microsoft.com/sharepoint/"> <CommandUIDefinitions> <CommandUIDefinition Location="Ribbon.List.CustomizeList.Controls._children"> <Button ...


0

Have you seen this link and link2


1

Yeah, it is pretty common problem. No matter how you try to edit your code it will be difficult to read, debug, manage, and update, when it is written inside elements.xml. I know that question is about the editor itself, but sometimes it is much better to write your JavaScript code in another .js file, and use only reference in CommandAction. You can load ...



Top 50 recent answers are included