How to Hide/Disable custom ribbon button on infopath form!

Is it possible to hide/disable custom ribbon button on specific infopath form library or list????
I just want to hide/disable custom ribbon button for specific form library and show/enable these buttons on the other form library!
Any suggessions??
Thanks in advance!

Hi Tahir,
Using javascript you can show/hide ribbon on particualr page.
Open your SharePoint master page
Locate this line: <div
id="s4-ribbonrow"
class="s4-pr s4-ribbonrowhidetitle">
Change it to: <div
id="s4-ribbonrow"
class="s4-pr s4-ribbonrowhidetitle"
style="display:none">
Now find the end of the “s4-ribbonrow” tag and add following
block right after it: <Sharepoint:SPSecurityTrimmedControl
ID="SPSecurityTrimmedControl2"
runat="server"
PermissionsString="AddAndCustomizePages">
    <script
type="text/javascript">
        document.getElementById("s4-ribbonrow").style.display =
"block";     </script> </Sharepoint:SPSecurityTrimmedControl>
Save the new master page and publish it.
Or try this feature.
http://spribbonvisibility.codeplex.com/
Best regards,
Avinash.

Similar Messages

  • How to create a custom ribbon button as a package or .exe format in Outlook

    Hi All,
         I have a macro code for forward an email to another email. i can create a custom ribbon with button which one hold the macros code. so if i click that button then the particular email will be forward to another email. Now i want to create
    this custom ribbon to a package / .exe / plugins format. so that other user can install the .exe then automatically that custom ribbon will be showing into their outlook. thats what i expect. any idea or suggestion to make this a live?
    Note : I want to add this custom ribbon into existing tab itself with new logo
    I appreciate your help on this.
    Thanks,
    Arun. 

    Hi,
    Since your question is about Office development, I suggest you post the thread in Microsoft Office for Developers forum:
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=officegeneral
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to Hide / Disable the delete button in EditForm using Infopath 2010

    Dear Experts
    In the SharePoint List 2010, need to disable / hide the Delete button while editing the item based on certain condition (based on logged in user)
    E.g, if UserA logged then should able to delete the item in EditItem mode
          if UserB logged then should not delete the item in EditItem mode
    How to achieve this?
    Regards
    Santosh

    Hi Santosh, it's you again! ;)
    I don't think this is possible. You can remove it for all users, but not sure how you could accomplish it just for certain users. See the following link for more info.:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/7a0cecbd-4aba-4fbc-a897-391e0ed4e613/disable-delete-item-option-from-ribbon-and-ecb-menu-even-for-contributors?forum=sharepointgeneralprevious
    cameron rautmann

  • How to get list information on custom ribbon button click in list forms(Editform/Dispform)?

    Hello All,
    I have custom ribbon button on editform/dispform in my list. I want to display current list name on button click of this custom ribbon button. How to achieve it??
    Thanks in advance..!!

    Hey,
    Did you ever tried this variables?
    Anyways variable _spPageContextInfo.pageListId' works for me. It will give list GUID on listforms.
    <CommandUIHandler Command="EditFormButtonCommand" CommandAction="javascript:window.open(L_Menu_BaseUrl + '/_layouts/incitemkt/downloadallattachments.aspx?ID=' + {ItemId} + '&amp;source=' + _spPageContextInfo.pageListId);" />
    Thanks.

  • MS CRM 2015 Adding Custom RIbbon button in dashboard and Changing Colors

    Hi,
    I am Looking for customization in MS Dynamics CRM 2015 and want to Add Custom Ribbon button in dashboard and Changing Colors of that ribbon using customization.xml i am new to crm 2015 and only know how to import export solutions.
    Regards
    Irfan

    Hello Irfan,
    For adding a custom button please refer this blog
    https://community.dynamics.com/crm/b/aeonnexuscrm/archive/2014/10/21/ms-crm-2013-adding-custom-ribbon-button-in-dashboard.aspx
    And for changing colors in Chart
    https://crmchartguy.wordpress.com/2012/08/23/palette-custom-colors-in-charts/
    Hope this helps!
    Regards, Abhishek Bakshi If you find this post helpful then please Vote as Helpful and Mark As Answer. Check my blog on https://mydynamicscrmblog.wordpress.com/

  • How can i disable a submit button and execute submit_action method on click

    Good Day,
    On my page I have a submit button that execute the submit_action method of the page backing bean that submit data captured on the page into a database and activate another class that send mail at the same time on a click of the submit button,the mail process takes a while before returning back to the page.I was able to disable the submit button to prevent the user from keep click while the process is running but the issue is on clicking the submit button it only disable the submit button without executing the submit_action method of the page backing bean.How can i disable the submit button and execute submit_method of the backing bean at the same time.
    Thanks in advance.

    I tried this out on one of my pages to see if it works.
    First, I added the following JavaScript to my submit button's onClick event:
    this.disabled=true; return true;When I clicked the submit button, it was disabled but the form was not submitted.
    I deleted the JavaScript from the onClick event and added the following JavaScript to the form's onSubmit event:
    var button = document.getElementById("form1:submitButton"); button.disabled=true; return true;When I click the submit button, it was disabled and the form was submitted but the button's action method was not called.
    The next thing I tried was to change the onSubmit event code:
    var button = document.getElementById("form1:submitButton"); setTimeout("button.disabled=true", 500); return true;This seemed to work. The difference was that I added a 1/2 second delay before disabling the button.
    See if that works for you. If not then I'm fresh out of ideas.

  • How can I disable the Voicemail button on an iPhone 4

    How can I disable the Voicemail button on an iPhone 4 or
    if that is not possible can i programme it to dial my own phone rather than my carrier's Voicemail box?

    No, it's not possible to disable that button and no, it's not possible to reprogram it to anything else.

  • How to hide/disable menu items using Javascript in Acrobat 9 pro or later

    We just wanted to know on how to hide/disable menu items for e.g. 'Open' menu item under 'File' menu in Acrobat 9 or later on Mac using Javascript. It would be useful if you could provide if any other option is in place already.

    Not sure it will work, but you can try using the app.hideMenuItem() method. See reference here.

  • How to hide the Slidelite close button [X]

    I'm using Captivate 4.
    I would like to know how to hide this ugly close button [X] when a slidlet is displayed on a slide ? I understand that this is usefull when the option Stick Slidelet is selected but i think the [X] makes little sens otherwise.

    Hi there
    Sorry, but there is no way to hide it. At least not using Captivate as it is out of the box.
    Maybe one of the Flash savvy folks knows a way. But that would require knowledge of Flash as well as how it interacts with Captivate to accomplish.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Not able to Enable the Custom Ribbon button On Pages in Sharepoint 2013

    Hi Team,
    Not able to Enable the Custom Ribbon button On Pages in SharePoint 2013. we have used the button edit properties section of the Pages.
    Same is working for Lists but not for Pages.
    Thanks,
    Shrikant

    Thanks for your reply.
    Right now my server is not working to get the code. will share you in some time.
    I am just thinking if page get checked out and my control is also present in the Edit properties section then do I need to specify something explicitly to enable the button. The same is working for Lists.

  • Document library custom ribbon buttons omitted to child items

    Hello,
    Is there a way to omit custom ribbon buttons that are viewable at the document library level but not the content type items of the library?
    I have a custom action targeting a custom document library by registration id "10777"
    And it shows up in the document library, but it also shows up in the document sets.
    is there a way to separate the ribbon customization between a document library and document set?

    Hello,
    Just create a designer workflow for  your requirement.
    Execute that workflow when an new document gets added under library.
    The functionality of the workflow is as follows
    When a new document get added, you workflow will set contribute access to the owner of that document and will set read access to rest all other users.

  • Custom ribbon button does not show for a Tasks list

    I created a simple app using Visual Studio 2012 to add a custom ribbon button for a tasks list. After deploying the app to the SharePoint online, the button does not appear on the ribbon. The exact same button gets displayed properly
    when added to the ribbon for a custom list.  The elements file with the location of the button gets generated, so I can't imagine it would be wrong, but just in case, this is what I have:
    <CustomAction Location="CommandUI.Ribbon"....
    <CommandUIDefinition Location="Ribbon.ListItem.Actions.Controls._children">...
    Any help is greatly appreciated.
    One more thing, if I add this button using SharePoint Designer 2013, the button does not get displayed either. I have a feeling it might be problem with the Tasks list?
    Thanks

    Hi Danny,
    The button needs to be displayed only for one specific list. And as I mentioned, the elements file for the ribbon button was generated by VS, here is the content:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="02aa4c3b-bb73-4dfa-989c-d63a9591dcee.RibbonCustomAction" RegistrationType="List" RegistrationId="{$ListId:Lists/Projects;}" Location="CommandUI.Ribbon" Sequence="10001" Title="Create Project Site">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.ListItem.Actions.Controls._children">
    <Button Id="Ribbon.ListItem.Actions.RibbonCustomActionButton" Alt="Create Project Site" Sequence="100" Command="Invoke_RibbonCustomActionButtonRequest" LabelText="Create Project Site" TemplateAlias="o1" Image32by32="_layouts/15/images/placeholder32x32.png" Image16by16="_layouts/15/images/placeholder16x16.png" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="Invoke_RibbonCustomActionButtonRequest" CommandAction="~remoteAppUrl/Pages/Default.aspx?{StandardTokens}&SPListItemId={ItemId}&SPListId={ListId}"/>
    </CommandUIHandlers>
    </CommandUIExtension >
    </CustomAction>
    </Elements>
    If the same button is added for a custom (not a Tasks) list, the button shows up fine.
    Thanks

  • How to hide combination (CUSTOMER / MATERIAL) in VK11

    Hi Experts,
    Please guide how to hide combination (Customer/Material) at the time update Excise duty condition in VK11.
    BK GAIKWD

    Pl refer this link for procedure
    Transaction Variant - A Step by Step Guide for Creation
    http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation

  • How do you insert a submit button into your form?

    How do you insert a submit button into a form?

    Hi,
    The submit button is included automatically. If you are distributing your form as HTML you can use the Test tab to preview your form. If you are distributing your form as PDF, you would need to generate the PDF to see the submit button.
    Regards,
    Brian

  • How to download splist item attachment using custom ribbon button

    Hi All,
    I have a requirement to download sp list items attachments in a zip format to file share. Is there a way to do this? please do let me know.
    Your quick turnaround is much appreciated
    MercuryMan

    Hi,
    According to your post, my understanding is that you want to download list items attachments in a zip format to file share.
    You can create custom ribbon action.
    More information:
    SharePoint 2010 Download as Zip File Custom Ribbon Action
    Download files as Zip File in SharePoint
    Create a SharePoint Custom Action to Zip and Download a Document Set
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

Maybe you are looking for