How to Hide "Edit in Browser" option in View Mode of SharePoint2013 with WebApps2013

Hhow to Hide >> "Edit in Browser" in Sharepoint2013 with WebApps2013 screen

Try and use jQuery to find the respective element and hide it.
Sairam Avacorp Technologies

Similar Messages

  • How to disable "Edit in browser" button in office documents that open in browser

    guys,
    Environment:
    sharepoint 2010
    installed Office Web app
    i installed office word apps and integrated it with sharepoint 2010 and all the office documents now open in the browser. but this also give the qualified users access to the button "Edit in Browser" while viewing the document in the browser (and if the user
    selects to do this and saves then it creates an office 2010 document in the document library), is there any way to disabled the "edit in browser" option completely for all the users, i dont want any users to edit documents online.
    thanks
    sameer.

    Ok so i came up with hack to 'hide' the edit link ..
    You need to edit the css file here on your server
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\INC\1033\WordViewer\WordViewer.css
    and add this 
     div [title="Edit in Browser"]{display:none};
    And to hide the edit capabilties for Powerpoint app - add this jquery
    $('iframe[id*="MSOPageViewerWebPart"]').ready(function () {
            $('iframe[id*="MSOPageViewerWebPart"]').contents().find('.ms-cui-ctl-medium').each(function () {
                if ($(this).text() == "Edit in Browser")
                    $(this).hide();
    Obviously not great solutions, but works for now.

  • How to hide edit link for  some rows in report? (according to value of col)

    Helo,
    How to hide edit link for some rows in report? (according to value of column)
    regards
    siyavuş

    Hi siyavuş
    You can do this by taking the edit link off the report and putting it into your report SQL.
    Use something like Select CASE WHEN (condition)  THEN
    'Put your edit link in here as an html Anchor like<a href="(target)">Edit</a>'
    ELSE
    tt.value
    END edit_link
    FROM test_table tthope it helps,
    Gus..
    You can reward this reply (and those of other helpers) by marking it as either Helpful or Correct.
    This allows forum users to quickly find the correct answer.
    ;-)

  • How to hide Print and Filter option from dynamic ALV

    Hi,
    I have created the dynamic ALV. now User don't wan't Filter , export,print Option on the ALV dispaly.
    Could you please tell me How to hide Print and Filter option from dynamic ALV.
    Thanks and regards
    Amita.

    Hi,
    Please go through the following link to get an better idea on ALV.
    [https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/1190424a-0801-0010-84b5-ef03fd2d33d9&overridelayout=true]
    This is the code  which you have to write in  WDDOINIT
    DATA LO_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
    LO_CMP_USAGE =   WD_THIS->WD_CPUSE_ALV_TEST( ).
    IF LO_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
      LO_CMP_USAGE->CREATE_COMPONENT( ).
    ENDIF.
    DATA LO_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
          LO_INTERFACECONTROLLER =   WD_THIS->WD_CPIFC_ALV_TEST( ).
            DATA LO_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
            LO_VALUE = LO_INTERFACECONTROLLER->GET_MODEL(
    lo_value->IF_SALV_WD_STD_FUNCTIONS~SET_EXPORT_ALLOWED( abap_false ).
    lo_value->IF_SALV_WD_STD_FUNCTIONS~SET_PDF_ALLOWED( abap_false ).
    lo_value->IF_SALV_WD_STD_FUNCTIONS~SET_VIEW_LIST_ALLOWED( abap_false ).

  • How to html edit/ enter browser-window-title

    how to html edit/ enter browser-window-title?
    harpo

    I think this is what you mean any way hope it helps.
    open the .html file in text edit for the page you want to change. then look for
    <title>whatever your title is</title>
    and just change the text whatever your title is for whatever you want. the line of code is located at the top of the page under the line that reads
    <meta name="Generator" content="iWeb 1.1.2" />
    not sure if this was the answer to your question but i hope its helped.
    steve

  • How to hide a list from SharePoint tree view pro grammatically.

    Hi,
    I have enabled tree view for a SharePoint 2013 site pro grammatically. 
    I want hide some specific lists from that tree view like Documents, Workflow, Task List, Calender
    Lists which are created default when we create a site.
    How could i do that?

    I know how to hide Quick launch and Enable Tree view with properties in C#.
    My question is 
    hide some specific lists from that tree view like Documents,
    Workflow, Task List, Calender
    Lists which are created default when we create a site.

  • How do i edit my billing info if my credit card associated with apple id expired and i have a duty to app store from the time when i had the old credit card?

    how do i edit my billing info if my credit card associated with apple id expired and i have a duty to app store from the time when i had the old credit card?
    so the thing is a few days ago i made an app store purchase and i didn't know i was running out of money on my credit card. i realized that only when i tried to purchase another item and it didn't work. nothing special til here. the problem is that meanwhile my credit card was replaced by a new one by the bank because the old one was soon expiring. So the data associated with the old credit card no longer exist.
    i tried to edit my billing info associated with my apple id in order to enter the new credit card data, but the system doesn't allow me to do that.
    so i can neither pay my purchase, nor edit my info, nor access app store anymore.
    what's next? any ideas? thanks

    Servers down wait till status is fixed to change or add your data http://www.apple.com/support/systemstatus/

  • How to Hide some Rows in a List view Web Part using JavaScript ?

    How to Hide some Rows in a List view Web Part using JavaScript ?

     Here is the code that worked for me:
    var Elements = document.querySelectorAll('div[id=WebPartWPQ3] table[class=ms-listviewtable]>tbody tr .ms-vb-lastCell.ms-cellstyle.ms-vb2')
    for(var i=0, n = Elements.length; i < n; i++)
     if(Elements[i].innerHTML=="India")
    Elements[i].parentNode.setAttribute("style","display:none")
    WebPartWPQ3 -> ID of webpart Div
    ms-listviewtable -> class name of table in Div
    ms-vb-lastCell.ms-cellstyle.ms-vb2 -> classname of td to get text

  • How to hide a field from table maintenance view?

    Hi,
    How to hide a field from table maintenance view? 
    The field is used for data created date. I need to hide it from display.
    Thanks

    Chk this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/66/33f52010dd11d6999300508b5d5211/frameset.htm
    Maintenance Attributes
    You can assign a maintenance attribute P to individual fields in the maintenance view definition in the Dictionary (SE11). It can be  H (hidden)
    H (hidden)
    A field flagged H is not displayed on the screen. This field must also be filled in the background by a routine at an event.
    The system writes R and H fields to the database like all other fields when a new data record is saved.

  • In version 10.1 fcpx how do I edit in proxy, then when I am finished share with optimize footage? It was easy in 10.9 version, but I can't figure this out in 10.1, please help.

    in version 10.1 fcpx how do I edit in proxy, then when I am finished share with optimize footage? It was easy in 10.9 version, but I can't figure this out in 10.1, please help.

    The switch is in the upper right of the viewer.

  • Geotagging - how can I edit new places that I have previously created but with typos, errors etc?  How do I delete a place I have set up?

    Geotagging - how can I edit new places that I have previously created but with typos, errors etc?  How do I delete a place I have set up?  Then I could create a new, correct entry.  I'm using iPhoto '09.

    Is it OK to reply to my own question?? Thanks to the related posts that appeared AFTER I'd made the post above, I learnt about the 'Manage my places' item under the Windows menu. I felt a bit dumb not knowing this.
    BUT it doesn't completely resolve the issue.  The info shown in the EXIF (using opt-cmd-I) under Places has the place name I choose, but it is followed by a few other lines that are incorrect and do not seem to be anything to do with any data I can see under 'Manage my places'.
    Can anyone explain where these other entries might come from, and how to edit them?

  • How to implemenet "Edit in Browser" and "View in Browser" in custom ECB Menu

    Hi,
    i have build a custom ECB menu. I implemented for example "Edit in Microsoft xxx" Item successfully.
    setDocType();
    if (currentItemAppName != "" && currentItemOpenControl != "") {
    strDisplayText = "";
    if (currentItemAppName != " ")
    strDisplayText = StBuildParam(L_EditIn_Text, currentItemAppName);
    else {
    var objEditor = StsOpenEnsureEx2(currentItemOpenControl + ".3");
    if (objEditor != null)
    strDisplayText = L_EditInApplication_Text;
    if (strDisplayText != "") {
    strAction = "editDocumentWithProgID2('" + currentItemFileUrl + "', '" + currentItemProgId + "', 'SharePoint.OpenDocuments', '0', '" + ctx.HttpRoot + "', '0')";
    strImagePath = ctx.imagesPath + currentItemIcon;
    CAMOpt(m, strDisplayText, strAction, strImagePath, null, 260);
    CAMSep(m);
    But i couldnt find any information to "Edit in Browser" and "View in Browser". I also look in the core.js and couldnt find any information about this.
    Can someone help? How could i
    implemenet "Edit in Browser" and "View in Browser" in my custom ECB Menu?
    Best Regards
    Bog
    Developers Field Notes | www.bog1.de

    Hi,
    According to your post, my understanding is that you wanted to custom the “View in Browser” and “Edit in Browser” with ECB menu.
    Per my knowledge, the view in browser and edit in browser use the STSNavigate method to navigate the page.
    The URL would like below.
    Edit in Browser:
    http://YourServerName/sites/YourSiteName/_layouts/WordEditor.aspx?id=/sites/YourSIteName/YourLibraryName/YourFileName
    View in Browser:
    http://YourServerName/sites/YourSiteName/_layouts/WordViewer.aspx?id=/sites/YourSIteName/YourLibraryName/YourFileName
    We can get the file name, then use following method to customize the view in browser or edit in browser.
    function Custom_AddDocLibMenuItems(m, ctx) {
    CAMOpt(m, 'Custom Edit In Browser', 'javascript:STSNavigate(siteurl+"_layouts/WordEditor.aspx?id="+currentItemFileUrl)');
    CAMSep(m);
    </script>
    http://weblogs.asp.net/jan/customizing-the-sharepoint-ecb-with-javascript-part-1
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • ReportViewer 2010:how to hide pdf in export option in reportviewer

    please help me out 
    how shoul i hide pdf in export option in reportviewer
    susana w

    Hi,
    This is the code which is used for ReportViewer 2008 and i need code for ReportViewer 2010. I don't want to change in the reportserver's RSReportSErver.Config
    file because same report server we are using for different projects where in some projects we require pdf and some we do not. Below is the code for reportviwer 2008 where the export button is rendered as a dropdown and in reportviwer 2010, Export button is
    redered as div element and all the export options like pdf,word,etc elements are rendered as div elements . So in code behind how can i access these export button options?
       private void CustomizeReportViewer(System.Web.UI.Control reportControl)
                foreach (System.Web.UI.Control childControl in reportControl.Controls)
                    if (childControl.GetType() == typeof(System.Web.UI.WebControls.DropDownList))
                        System.Web.UI.WebControls.DropDownList ddList = (System.Web.UI.WebControls.DropDownList)childControl;
                        if (ddList.ToolTip.Contains("Export"))
                            ddList.PreRender += new EventHandler(ddList_PreRender);
                    if (childControl.GetType() == typeof(System.Web.UI.WebControls.Button))
                        System.Web.UI.WebControls.Button ddList = (System.Web.UI.WebControls.Button)childControl;
                        if (ddList.UniqueID.Contains("ctl00_ContentPlaceHolder1_rptviewerByBrandBySentimentAttribute_ctl06_ctl04_ctl00_Button"))
                            ddList.PreRender += new EventHandler(ddList_PreRender);
                    if (childControl.Controls.Count > 0)
                        CustomizeReportViewer(childControl);
            // This is the event handler added from CustomizeRV 
            // We just check the object type to get what we needed. 
            // Once the dropdownlist is found, we check if it is for the ExportGroup. 
            // Meaning, the "Excel" text should exists. 
            // Then, just traverse the list and disable the "Excel". 
            // When the report is shown, "Excel" will no longer be on the list. 
            // You can also do this to "PDF" or if you want to change the text. 
            void ddList_PreRender(object sender, EventArgs e)
                if (sender.GetType() == typeof(System.Web.UI.WebControls.DropDownList))
                    System.Web.UI.WebControls.DropDownList ddList = (System.Web.UI.WebControls.DropDownList)sender;
                    System.Web.UI.WebControls.ListItemCollection listItems = ddList.Items;
                    if ((listItems != null) && (listItems.Count > 0) && (listItems.FindByText("Excel") != null))
                        foreach (System.Web.UI.WebControls.ListItem list in listItems)
                            if (list.Text.Equals("XML file with report data") || list.Text.Equals("CSV (comma delimited)") || list.Text.Equals("TIFF file") || list.Text.Equals("Word") || list.Text.Contains("PPS"))
                                list.Enabled = false;

  • How i hide a field of a custom view in OAF 11

    Hi, im a new developer of OAF11.
    What should I do, to customize the Purchase Order screen, if then the requirement is to hide the field that i insert from extended VO.
    What I did was modify the XML of the page to add the field and then extended the original AM.
    I added the extended view into the custom AM to prevent that fail with the field that i insert.
    I must clarify that I modify the path of AM default for the path of the custom AM in the XML, then i upload the XML with the command import, and i see it the field in the page.
    I tried to hide another field that i created by customizing the page, but I couldnt do. That´s why i insert directly the field in the XML original.
    I Try to customize the driver involved with the page, but nothing happened.
    First try it on the controller Father and after the son.
    The page is in the POS module (iSupplier), and is POSVIEWPOG (PO Details).
    The code that attempts to hide the field is:
    OAApplicationModule am = paramOAPageContext.getApplicationModule(paramOAWebBean);
    OAViewObject oaviewobject1 =(OAViewObject)am.findViewObject("PosViewHeadersVO");
    if (oaviewobject1 != null)
    OARow row = (OARow)oaviewobject1.getCurrentRow();
    String vCustomType = (String)row.getAttribute("TypeName");
    if (vCustomType.equals("Blanket Agreement"))
    OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
    vHideField.setRendered(true);
    else
    OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
    vHideField.setRendered(true);
    Can anyone help me?
    If im grong other solution that i think is:
    How I can put a field on a page with code and how to hide the field with conditions?, consider that the field is from the VO extended.
    Thanks!!!

    Hi Yichao,
    Chk these links
    https://help.sap.com/saphelp_nw04/helpdata/en/5a/0c889a4d5911d2a5fb0000e82deaaa/content.htm
    http://help.sap.com/saphelp_45b/helpdata/en/cf/21ec5d446011d189700000e8322d00/frameset.htm
    thanks and regards
    srikanth.p

  • MessageRichTextEditor - How to hide the link 'Change to Rich Text Mode'

    Hi,
    I will be using RTE only in plain text mode.So I want to hide the link 'Change to Rich Text Mode'.How can we do this.
    Please suggest.
    Regards,
    ashok

    Personalize the page to hide the link and set its rendered property to false.
    --Kumar                                                                                                                                                                               

Maybe you are looking for