Tag Info

New answers tagged


Just got to List 'Advance settings' and there is an option that allows you to disable Datasheet view. Just say 'NO' to disable datasheet view.


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 ...


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 ...


Hiding the Ribbon : In your master page, find the SharePoint ribbon by looking for the line of code that begins with . Place the SPSecurityTrimmedControl code around your ribbon to conditionally hide it based on user permissions. In my example, i've hidden the ribbon from any user who doesn't have the ManagePermissions ability, which is going to be almost ...


The current view you are in has only become corrupted. If you access the list settings via site content, delete and recreate the view, the tabs will reappear. I have tested this out in SP 2013.


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" ...


I know I'm late to the party, but have you tried to remove body #s4-ribbobrow { min-height: 43px; } from the SharePointDefaultStylesCOREV4.css


Just want to mention something upfront, Autohosted apps will no longer be available at the end of the month. Microsoft is putting an end to them, and developers will no longer be able to deploy them. Currently running apps will continue to run for a short time, but are expected to be taken down as well. Ribbons cannot contain JavaScript in them. That you ...


Change if (location.pathname.search('test.aspx') = 0) { To this: if (location.pathname.search('test.aspx') == 0) { You are assigning zero to location.pathname.search('test.aspx'), not testing if it is zero. Second part: window.SelectRibbonTab = function (SelectRibbonTab) { return function ("Ribbon.Read", true) { if ...

Top 50 recent answers are included