Deployed Custom Master Page Not Visible in Designer

My team has created a custom master page and has packaged and deployed it as a feature. The custom master page file correctly appears in the master pages gallery via the Web UI, but it's not showing up in the Master Pages folder when the site is opened
in Designer. What are we missing?

Hi,
when the master page was deployed by a sandbox solution please make sure that the master page is checked in and approved. SharePoint doesn't check in and approve files that was deployed by a sandbox solution. Also make sure that the correct content type
is assigned. because otherwise you won't see it too.
To set the content type of the master page on deployment correct you just need to simply add the following inside the <file>
<Property Name="ContentType" Value="$Resources:cmscore,contenttype_masterpage_name;" />
If the master page is a farm  you should also add the content type but it will be checked in automatically. I hope you are on root level of your site collection because the master page will not deployed to the sub sites.
In SharePoint Designer you also have two different approaches to find the master page.
Approach 1:
Use the Master Page Entry on the navigation pane left. The Master Page will only show up if content type ins correctly set.
Approach 2:
Go to "All Files" -> _catalogs -> masterpage
By using approach two you will see the same amount of files that you can review in SharePoint. You will also find the article pages in there.
Hope this helps
Kind regards
Stefan
http://www.n8d.at/blog
Follow me on Twitter: StFBauer |
n8design
Microsoft Community Contributor 2011
MCTS - SharePoint / WSS Configuration and Development

Similar Messages

  • Search Box is not showing in custom master page

    Hi 
    I am using "Office 365 Enterprise E3 Trial"
    and have created a custom master page for my public SharePoint
    site .
    I have added Search snippet from the snippet gallery but the search
    box is not showing in the master page .I am not able to find the reasons .

    My Master page code is like bellow
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]>
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
        <head>
            <meta http-equiv="X-UA-Compatible" content="IE=10" xmlns="" />
            <!--CS: Start Page Head Contents Snippet-->
            <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
            <!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
            <!--SID:00 -->
            <meta name="GENERATOR" content="Microsoft SharePoint" xmlns="" />
            <meta http-equiv="Content-type" content="text/html; charset=utf-8" xmlns="" />
            <meta http-equiv="Expires" content="0" xmlns="" />
            <!--MS:<SharePoint:RobotsMetaTag runat="server">-->
            <!--ME:</SharePoint:RobotsMetaTag>-->
            <!--MS:<SharePoint:PageTitle runat="server">-->
                <!--MS:<asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server">-->
                    <!--MS:<SharePoint:ProjectProperty Property="Title" runat="server">-->
                    <!--ME:</SharePoint:ProjectProperty>-->
                <!--ME:</asp:ContentPlaceHolder>-->
            <!--ME:</SharePoint:PageTitle>-->
            <!--MS:<SharePoint:StartScript runat="server">-->
            <!--ME:</SharePoint:StartScript>-->
            <!--MS:<SharePoint:CssLink runat="server" Version="15">-->
            <!--ME:</SharePoint:CssLink>-->
            <!--MS:<SharePoint:CacheManifestLink runat="server">-->
            <!--ME:</SharePoint:CacheManifestLink>-->
            <!--MS:<SharePoint:PageRenderMode runat="server" RenderModeType="Standard">-->
            <!--ME:</SharePoint:PageRenderMode>-->
            <!--MS:<SharePoint:ScriptLink language="javascript" name="core.js" OnDemand="true" runat="server" Localizable="false">-->
            <!--ME:</SharePoint:ScriptLink>-->
            <!--MS:<SharePoint:ScriptLink language="javascript" name="menu.js" OnDemand="true" runat="server" Localizable="false">-->
            <!--ME:</SharePoint:ScriptLink>-->
            <!--MS:<SharePoint:ScriptLink language="javascript" name="callout.js" OnDemand="true" runat="server" Localizable="false">-->
            <!--ME:</SharePoint:ScriptLink>-->
            <!--MS:<SharePoint:ScriptLink language="javascript" name="sharing.js" OnDemand="true" runat="server" Localizable="false">-->
            <!--ME:</SharePoint:ScriptLink>-->
            <!--MS:<SharePoint:ScriptLink language="javascript" name="suitelinks.js" OnDemand="true" runat="server" Localizable="false">-->
            <!--ME:</SharePoint:ScriptLink>-->
            <!--MS:<SharePoint:CustomJSUrl runat="server">-->
            <!--ME:</SharePoint:CustomJSUrl>-->
            <!--MS:<SharePoint:SoapDiscoveryLink runat="server">-->
            <!--ME:</SharePoint:SoapDiscoveryLink>-->
            <!--MS:<SharePoint:AjaxDelta id="DeltaPlaceHolderAdditionalPageHead" Container="false" runat="server">-->
                <!--MS:<asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server">-->
                <!--ME:</asp:ContentPlaceHolder>-->
                <!--MS:<SharePoint:DelegateControl runat="server" ControlId="AdditionalPageHead" AllowMultipleControls="true">-->
                <!--ME:</SharePoint:DelegateControl>-->
                <!--MS:<asp:ContentPlaceHolder id="PlaceHolderBodyAreaClass" runat="server">-->
                <!--ME:</asp:ContentPlaceHolder>-->
            <!--ME:</SharePoint:AjaxDelta>-->
            <!--MS:<SharePoint:CssRegistration Name="Themable/corev15.css" runat="server">-->
            <!--ME:</SharePoint:CssRegistration>-->
            <!--MS:<SharePoint:AjaxDelta id="DeltaSPWebPartManager" runat="server">-->
                <!--MS:<WebPartPages:SPWebPartManager runat="server">-->
                <!--ME:</WebPartPages:SPWebPartManager>-->
            <!--ME:</SharePoint:AjaxDelta>-->
            <!--CE: End Page Head Contents Snippet-->
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <!--DC:Two Tomorrows-->
           <link href="style1.css" rel="stylesheet" type="text/css" />
            <link href="slider.css" rel="stylesheet" type="text/css" />
            <!-- JS -->
            <!-- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">//<![CDATA[!-->
            <script type="text/javascript" src="https://purplechannelltd-public.sharepoint.com/_catalogs/masterpage/DNV/js/jquery-1.10.2.min.js">//<![CDATA[
            //]]>
            </script>
            <script type="text/javascript" src="js/custom.js">//<![CDATA[
            //]]>
            </script>
            <script type="text/javascript" src="js/bjqs-1.3.min.js">//<![CDATA[
            //]]>
            </script>
            <script type="text/javascript" src="/Documents/clients_hover.js">//<![CDATA[
            //]]>
            </script>
            <script type="text/javascript" src="/Documents/jquery.backgroundSize.js">//<![CDATA[
            //]]>
            </script>
            <script type="text/javascript" class="secret-source">//<![CDATA[
            jQuery(document).ready(function($) {
              $('#banner-fade').bjqs({
                width       : 1600,
                height       : 377,
                responsive  : true
            //]]>
            </script>
            <script type="text/javascript">//<![CDATA[
    $(document).ready(function () {
        if((window.location.href=="https://purplechannelltd-public.sharepoint.com/")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/default.aspx")||(window.location.href=="https://purplechannelltd-public.sharepoint.com/Pages/default.aspx")
          $("#banner-fade").removeAttr("style");
          $("#BannerLine").removeAttr("style");
          $("#trBreadCrumb").css("display","none");
          $("#trNewsAndTraningHome").removeAttr("style");
          $("#trNewsOnly").css("display","none");
        else
         $("#banner-fade").css("display","none");
         $("#BannerLine").css("display","none");
         $("#trBreadCrumb").removeAttr("style");
         $("#trNewsAndTraningHome").css("display","none");
         $("#trNewsOnly").removeAttr("style");
        if((window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Services.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Key-issues.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Industries.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Clients.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/About-us.aspx")
        ||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/walking-the-talk.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/what-is-sustainability.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/our-team.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/assurance-code-of-conduct.aspx")
        ||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Contact-us-EMEA.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Contact-us-asia-pacific.aspx")||(window.location.href=="http://purplechannelltd-public.sharepoint.com/Pages/Contact-us-Americas.aspx")){
          $("#banner-fade").css("display","none");
         $("#BannerLine").css("display","none");
          $("#trBreadCrumb").css("display","none");
          $("#trNewsAndTraningHome").removeAttr("style");
          $("#trNewsOnly").css("display","none");
        if (window.location.href.indexOf("dnv-gl-launches-new-global-brand") >= 0 ||window.location.href.indexOf("how-future-proof-your-business") >= 0||window.location.href.indexOf("human-rights-time-walk-talk") >= 0 )
         $("#trNewsOnly").css("display","none");
        if($("#trNewsOnly").html().indexOf("Web Part Error:")>0)
        $("#trNewsOnly").css("display","none");
        if($("#trBreadCrumb").html().indexOf("Web Part Error:")>0)
        $("#trBreadCrumb").css("display","none");
            //]]>
            </script>
            <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:ContentTypeId msdt:dt="string">0x0101000F1C8B9E0EB4BE489F09807B2C53288F0054AD6EF48B9F7B45A142F8173F171BD10003D357F861E29844953D5CAA1D4D8A3A</mso:ContentTypeId>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:HtmlDesignFromMaster msdt:dt="string"></mso:HtmlDesignFromMaster>
    <mso:HtmlDesignStatusAndPreview msdt:dt="string">https://purplechannelltd-public.sharepoint.com/_catalogs/masterpage/DNV/TT.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
    <mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
        </head>
        <body>
            <!--CS: Start Ribbon Snippet-->
            <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
            <!--SPM:<%@Register Tagprefix="wssucw" TagName="Welcome" Src="~/_controltemplates/15/Welcome.ascx"%>-->
            <!--MS:<SharePoint:SPSecurityTrimmedControl runat="server" HideFromSearchCrawler="true" EmitDiv="true">-->
                <div id="TurnOnAccessibility" style="display:none" class="s4-notdlg noindex" xmlns="">
                    <a id="linkTurnOnAcc" href="#" class="ms-accessible ms-acc-button" onclick="SetIsAccessibilityFeatureEnabled(true);UpdateAccessibilityUI();document.getElementById('linkTurnOffAcc').focus();return false;">
                        <!--MS:<SharePoint:EncodedLiteral runat="server" text="&#60;%$Resources:wss,master_turnonaccessibility%&#62;" EncodeMethod="HtmlEncode">-->
                        <!--ME:</SharePoint:EncodedLiteral>-->
                    </a>
                </div>
                <div id="TurnOffAccessibility" style="display:none" class="s4-notdlg noindex" xmlns="">
                    <a id="linkTurnOffAcc" href="#" class="ms-accessible ms-acc-button" onclick="SetIsAccessibilityFeatureEnabled(false);UpdateAccessibilityUI();document.getElementById('linkTurnOnAcc').focus();return false;">
                        <!--MS:<SharePoint:EncodedLiteral runat="server" text="&#60;%$Resources:wss,master_turnoffaccessibility%&#62;" EncodeMethod="HtmlEncode">-->
                        <!--ME:</SharePoint:EncodedLiteral>-->
                    </a>
                </div>
            <!--ME:</SharePoint:SPSecurityTrimmedControl>-->
            <div id="ms-designer-ribbon" xmlns="">
                <!--SID:02 {Ribbon}-->
                <!--PS: Start of READ-ONLY PREVIEW (do not modify) --><div class="DefaultContentBlock" style="background:rgb(0, 114, 198); color:white; width:100%; padding:8px; height:64px; overflow:hidden;">The SharePoint
    ribbon will be here when your file is either previewed on or applied to your site.</div><!--PE: End of READ-ONLY PREVIEW -->
            </div>
            <div id="s4-workspace" xmlns="">
                <div id="s4-bodyContainer">
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" xmlns="http://www.w3.org/1999/xhtml">
                        <tr>
                            <td align="left" valign="top" class="headerLeft">
                            </td>
                            <td width="886" align="left" valign="top">
                                <div class="header">
                                    <a href="https://purplechannelltd-public.sharepoint.com/">
                                        <img src="images/logo.gif" width="189" height="109" alt="Logo" />
                                    </a>
                                    <h1>Sustainability Advisory Services
                                    </h1>
                                    <ul id="topNav">
                                        <li>
                                            <a href="http://purplechannelltd-public.sharepoint.com/Pages/About-us.aspx">About us
                                            </a>
                                        </li>
                                        <li>
                                            <a href="https://purplechannelltd-public.sharepoint.com/Pages/News.aspx">News
                                            </a>
                                        </li>
                                        <li>
                                            <a href="http://purplechannelltd-public.sharepoint.com/Pages/Contact-us.aspx">Contact us
                                            </a>
                                        </li>
                                    </ul>
                                    <!-- top nav -->
                                    <div style="right: 0px; ; color: rgb(0, 51, 153); font-weight: bold; top: 25px;">
                                       BUSINESS ASSURANCE
                                                                    </div>
                                    <!-- twitter -->
                                    <div class="twitterSec">RT @damidefelice: @edgeoftheocean Anna Turrel shows how @TwoTomorrows assesses corporate human right
                                    </div>
                                    <!-- twitter -->
                                    <!-- search -->
                                    <!--<form action="" method="get" id="search">
                                        <input name="" type="text" class="searchText"/>
                                        <input name="" type="image" src="images/search-icon.gif"/>
                                    </form>!-->
                                    <!-- search -->
                                    <!--ADD!-->
                                    <div id="search">
                                        <div data-name="SearchBox">
                                            <!--CS: Start Search Box Snippet-->
                                            <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint,
    Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
                                            <!--MS:<SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox">-->
                                                <!--PS: Start of READ-ONLY PREVIEW (do not modify)--><div class="ms-webpart-chrome ms-webpart-chrome-fullWidth
    "><div WebPartID="00000000-0000-0000-0000-000000000000" HasPers="true" id="WebPart" width="100%" class="ms-WPBody noindex " OnlyForMePart="true" allowDelete="false" style=""><div componentid="ctl00_SmallSearchInputBox_csr" id="ctl00_SmallSearchInputBox_csr"><div
    id="SearchBox" name="Control"><div class="ms-srch-sb ms-srch-sb-border" id="ctl00_SmallSearchInputBox_csr_sboxdiv"><input type="text" value="Search..." maxlength="2048" accessKey="S" title="Search..." id="ctl00_SmallSearchInputBox_csr_sbox" autocomplete="off"
    autocorrect="off" onkeypress="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {if (Srch.U.isEnterKey(String.fromCharCode(event.keyCode))) {$find('ctl00_SmallSearchInputBox_csr').search($get('ctl00_SmallSearchInputBox_csr_sbox').value);return
    Srch.U.cancelEvent(event);}})" onkeydown="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {var ctl = $find('ctl00_SmallSearchInputBox_csr');ctl.activateDefaultQuerySuggestionBehavior();})" onfocus="EnsureScriptFunc('Search.ClientControls.js',
    'Srch.U', function() {var ctl = $find('ctl00_SmallSearchInputBox_csr');ctl.hidePrompt();ctl.setBorder(true);})" onblur="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {var ctl = $find('ctl00_SmallSearchInputBox_csr'); if (ctl){ ctl.showPrompt();
    ctl.setBorder(false);}})" class="ms-textSmall ms-srch-sb-prompt ms-helperText" ><a title="Search" class="ms-srch-sb-searchLink" id="ctl00_SmallSearchInputBox_csr_SearchLink" onclick="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {$find('ctl00_SmallSearchInputBox_csr').search($get('ctl00_SmallSearchInputBox_csr_sbox').value);})"
    href="javascript: {}"><img src="https://purplechannelltd-public.sharepoint.com/_catalogs/theme/Themed/E97CFE0A/searchresultui-61174269.themedpng?ctag=7" class="ms-srch-sb-searchImg" id="searchImg" alt="Search" ></a></div></div></div><noscript><div
    id="ctl00_SmallSearchInputBox_noscript">It looks like your browser does not have JavaScript enabled. Please turn on JavaScript and try again.</div></noscript><div id="ctl00_SmallSearchInputBox"></div><div class="ms-clear"></div></div></div><!--PE:
    End of READ-ONLY PREVIEW-->
                                            <!--ME:</SharePoint:DelegateControl>-->
                                            <!--CE: End Search Box Snippet-->
                                        </div>
                                    </div>
                                    <!--ADDEND!-->
                                </div>
                            </td>

  • Custom master page applying on Publishing site template not in my site template?

    Hi,
    i have created a custom master page based on Publishing template Using Design manager (means converted html to aspx page) and then set all other control on the master page. now problem is master page applying only on Publishing site template not my site
    template. any one know why its happening, and how can resolve this issue?
    Thanks
    Mohammad

    Feature Stapling may be a solution - Please check -
    http://sharepointologic.blogspot.in/2013/04/branding-sharepoint-2013-my-sites-with.html
    http://www.codeproject.com/Articles/42129/Creating-branded-my-site-in-sharepoint
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • Auto-hostep app with custom master page does not allow custom workflows

    This has been troubling us all day. We have a sharepoint 2013 auto-hosted app. We wanted to simply change the site logo of the master page but it was easier said than done. Finally we had to create our own custom master page with our own site logo to overcome
    this issue.
    Now we are trying to add a custom workflow in our app. But the instalment of the app always fail with this message:
    3> CorrelationId: cec727fc-bbf9-4499-ae36-6a7d05f3ae8c
    3> ErrorDetail: There was an error during the operation.
    3> ErrorType: Configuration
    3> ErrorTypeName: Configuration
    3> ExceptionMessage: Operation is not valid due to the current state of the object.
    3> Source: Common
    3> SourceName: Common App Deployment
    After many hours of searching I came across this
    post that sums up the problem to this:
    Do not use the WebTemplate element in the app manifest to designate any of the built-in SharePoint site definition configurations as the app web's site type. We do not support using any of the built-in site definition configurations, other than APP#0, for app webs.
    Thus, if you would like to include your workflow to SharePoint-hosted app, you have to use APP#0 template.
    I am fairly new to the sharepoint 2013 app development and having so many problems just because we wanted to have a different site logo is making us focus out of the important stuff of our app. Isn't there a simple way for us to change the app's site logo
    and add a custom workflow? Has anyone come up with a solution?

    Have you configured SharePoint Workflow Manager in the farm? Not sure if you are familiar with but in SharePoint 2013, there's a new component called Workflow Manager that needs to be configured to use SharePoint 2013 workflow.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com
    I am using SharePoint Online. I have enabled the following site feature:
    Workflows can use app permissions
    Allow workflows to read from and to write to all items in this site.
    just in case but it makes no difference. When I stop using my custom masterpage the app can install just fine and the workflow is working. When the custom masterpage is enabled the app won't install with the workflow. I am required to remove the workflow
    to install the app.

  • Custom HTML Master Page not updating when activating Feature via PowerShell

    I created a WSP to deploy a HTML Master Page.  I later have code that will publish this Master Page to create a .master, but I stripped this out just to simplify things.  My issue is with the first step - getting the HTML Master Page file to
    update by activating the feature using PowerShell.  I don't understand why it's not working - I'm not even using this Master Page currently.  Plus, oddly the master page does update if I go into the UI and deactivate/activate my feature. 
    I can easily reproduce this problem using the following steps:
    1. Created a SharePoint Empty Project named SharePointProject1
    2. Added a Module named Module1
    3. Added a HTML Master Page called MyMaster.html and updated the elements.xml file for the Module1 with the following:
     <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
      <Module Name="Module1" Url="_catalogs/masterPage/Test">
        <File Path="Module1\MyMaster.html" Url="MyMaster.html" ReplaceContent="TRUE" Level="Published" Type="GhostableInLibrary">
          <Property Name="Title" Value="My Master Page" />
          <Property Name="MasterPageDescription" Value="My Master Page" />
          <Property Name="UIVersion" Value=";#15;#" />
          <Property Name="HtmlDesignAssociated" Value="TRUE" />
          <Property Name="ContentType" Value="Html Master Page" />
        </File>
      </Module>
    </Elements>
    4. Deployed the WSP and activated the Feature containing Module1
    5. Updated the HTML Master Page
    6. Re-deployed the WSP
    7. Deactivated the feature and Reactivated the feature using PowerShell 
         => _catalogs/masterpage/test folder still has OLD file - Why??
        $deployFeatureId = "575ec423-1b20-404c-8b2c-d160426c53e7"
        Disable-SPFeature -Identity $deployFeatureId -Url
    http://sp2013local -confirm:$false
        Enable-SPFeature -Identity $deployFeatureId -Url
    http://sp2013local
    8. Deactivated the feature and Reactivated the feature through UI
         => _catalogs/masterpage/test folder now has the correct file
    I even added event receiver code to delete the HTML file on deactivation but that still didn't work.

    Hi Sagar,
    The second link isn't applicable for me because I'm not setting the Master Page for the site collection just yet.  I'm just trying to get the version to be correct in the master page library first.
    For the first link, I am trying to publish a Master Page, not a Page Layout.  I did try adding some similar code that I found from this article,
    http://www.eliostruyf.com/provision-your-html-designs-master-pages-page-layouts-to-sharepoint-2013/
    but the same result.  PowerShell is still copying an old version of the file to the Master Page Gallery, but the activating/deactivating the feature in the UI works fine. 
    Here is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
      <Module Name="Module1" Url="_catalogs/masterPage/Test">
        <File Path="Module1\MyMaster.html" Url="MyMaster.html" ReplaceContent="TRUE" Level="Draft" Type="GhostableInLibrary">
        </File>
      </Module>
    </Elements>
        public class Feature1EventReceiver : SPFeatureReceiver
            public override void FeatureActivated(SPFeatureReceiverProperties properties)
                SPSite site = (SPSite)properties.Feature.Parent;
                PublishMasterPage(site, "/_catalogs/masterpage/Test/MyMaster.html");
            public void PublishMasterPage(SPSite site, string filePath)
                SPFile file = site.RootWeb.GetFile(filePath);
                if (file.CheckOutType != SPFile.SPCheckOutType.None)
                    file.Item.Update();
                else
                    file.CheckOut();
                    file.Item.Update();
                file.CheckIn("Checked in by the branding deploy feature", SPCheckinType.MajorCheckIn);
                if (file.DocumentLibrary.EnableModeration)
                    file.Approve("Approved by the branding deploy feature");

  • Search hover panel not showing up in Internet Explorer with custom master page

    The hover panel is not showing up in internet explorer.  I am using a custom master page and it works no problem in the other browsers.  When I fire up the debugger there is an error message when i hover over a search result item:
    I tried debugging the JavaScript but i am not sure what is going on with it.  
    Am I missing reference or something done like that?  It has to be something simple because I have been scratching my head for a while on this.  
    Any ideas?  
    Brad Wight

    Have you tried rendering the site in IE Compatability Mode?  Compatability Mode solves a lot of problems in this area because older versions of IE had a unique interpretation of HTML code.
    Start here: 
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-8
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • Setting the custom master page through powershell is NOT working

    Hi,
     I am writing the below code to set the  custom master page through powershell.
    But its not working .when i went to site settings-->master page --> in the drodown , the  maste page set is seattle.master ONLY, though my current master page is available in the dropdown.
     Can anyone pls help, whether i am missing in the below :
          Add-PSSnapin Microsoft.SharePoint.Powershell
           $SiteURL = "http://srvr1:22307/sites/SPW5"
        $weburl= $SiteURL
        $Site= Get-SPSite $SiteURL
        $web =  $Site.OpenWeb()
    $web.CustomMasterUrl = "/_catalogs/masterpage/myMasterpage.master"
    $web.MasterUrl = "/_catalogs/masterpage/myMasterpage.master"
    $web.Update()
    Das

    Hi,
    Is it a publishing page? If yes can you try the PowerShell scripts corresponding to the following code snippet?
    var publishingWeb = PublishingWeb.GetPublishingWeb(web);
    publishingWeb.CustomMasterUrl.SetInherit(inheritFromParent, false);
    publishingWeb.CustomMasterUrl.SetValue(masterPageUrl, false);
    publishingWeb.MasterUrl.SetInherit(inheritFromParent, false);
    publishingWeb.MasterUrl.SetValue(masterPageUrl, false);
    I've noticed sometime (not sure though) that Master page doesn't get updated if the inherit property is not updated first.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Presence indicators not working on pages using custom master page

    I have a SP 2013 publishing site. I crated a custom master page using Randy Drisgill's starter master page for SP2013. All good so far. Then I created a page to hold a people search (refinement, search box and search results web parts). The search results
    show the staff info and photo but the colour to the left of the image is not there. They are all white. Also when you hover over the image you don't get the popup to send an email or start an IM.
    I initially though it must have been an issue with some of the javascript that my custom master page has included such as jQuery. Swapping back to the Seattle OOTB master page the presence indicators appeared, but it took a long time after the swap - like
    the JS was cached and when I swapped back to my custom master page the presence stuff worked for a little while before disappearing again.
    Then in IE developer tools I noticed that if I set it to use 10 instead of Edge the presence indicators always work. As soon as swapping back to Edge they die.
    So I'm confused as to whether it is a conflict with jQuery or some other JS on my master page or if it is that the IM presence indicators don't work in Edge.
    Has anyone had a similar experience and found an answer?

    No my master page does not have that in it. That is in Randy's 2010 starter master page but not in his 2013 one.
    The issue appears to be this line in the master page which was forcing IE to use Edge rendering engine which the init.js code must not be compatible with.
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    Switching to using IE 10 works.
    <meta http-equiv="X-UA-Compatible" content="IE=10" />

  • Custom master page is showing inside the dashboard designer

    I have some issues with Dashboard designer, when i am creating a new report ,my custom master page is showing inside the designer. How i can remove this?
    the same issues of this post ->
    http://sharepoint.stackexchange.com/questions/109218/custom-master-page-is-showing-inside-the-dashboard-designer-pps
    Thanks

    But here's a few more things:
    When I click on the page 1, the Master Page view is shown.  When I click on Master Pages, the Master Page view is shown, also when I click on
    untitled Content Area, the Master Page view is shown.  All these made me think that extra page is the Master Page.
    When I look at pagination for page1, here's what there:
    When I click on the (untitledSubform) (page1) pagination, here's what's there
    I can't get this page to go away. Thanks.

  • Custom master page issue only some pages not all (spwebpart manager)

    Hi i am using html custom master page in  sharepoint 2013, In my search page (home)  working properly without any issue,
    But in my Result.aspx page showing below error. 
    A WebPartZone can only exist on a page which contains a SPWebPartManager. The SPWebPartManager must be placed before any WebPartZones on the page.
    How to solve this? Thanks in advance

    There are 4 web parts in this page
    1.Refinement
    2.Search Box
    3.Search Navigation
    4.Search Results

  • Transferring Custom Master-Page, Custom Page Layouts and Pages created to a new SharePoint Site.

    Hi All,
    I have a SharePoint 2013 Publishing Site for testing named 'Test'. In the Test I have created a Custom Master-Page and several Custom Page Layouts. Also using them I have created  several pages. Now they all are connected to the navigation. Now I want
    to transfer all the pages, custom master-page and custom page layouts to a new site (a publishing site) that will be used as production. Will I able to do this or not. Please advice me with best practices.
    Thanks and regards,
    Chiranthaka

    Hi Chiranthaka,
    thanks for posting your query, The master page can't be copied in designer and pasted into the new site collection. A better approach would be to bundle it into a feature and deploy it to the farm where it can't be activated and used.
    If you want to copy your master page to another site collection you can download your master page from the master page gallery and upload it to the the master page gallery of the second site collection. From the root site Site Actions > Site Settings
    > (Galleries)Master pages and page layouts
    If you want to deploy the same master page to multiple site collections using a feature, create a module in Visual Studio, add your custom master page to the module, and create an element manifest something like this:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Module Name="Master Pages" List="116" Url="_catalogs/masterpage" RootWebOnly="TRUE">
    <File Path="Master Pages\MyCustom.master" Url="MyCustom.master" Type="GhostableInLibrary"></File>
    </Module>
    </Elements>
    The basic idea is to have your site-scoped feature include a module that copies your custom master page from the file system to the masterpage gallery. Since the feature folder is shared, the same master page gets copied to the site collection master page
    gallery whenever you activate the feature.
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Create a custom Master Page in SharePoint Foundation 2013

    Hi,
    I am new to SharePoint foundation.
    I am trying to create a custom master page and save it as template, so that i can use it for all other sub sites. But i don't know where to start. Also i tries searching in Google, i got results for share point and not for share point foundation.
    So, Please give me a step by step procedure or a link to step by step procedure on how to create a master page, save it as template and use it for a sub site.
    Thanks in advance,
    Gowtham R

    Few points to note related to SharePoint Master page:
    You don't need to create master page template. If you deploy your master page in site collection level you can reuse the same master page in subsites without copying again and again, rather just by referencing
    You have not mentioned how you are going to deploy your master page. If you have any Visual Studio (VS) solution already, try to add your  master page in the VS solution and deploy your master page (and other branding components) as SharePoint WSP
    solution.
    Deploying master page will not activate the master page, you need to use some kind of 'Web Level Feature' to activate your branding - the feature will basically set the master page property of SharePoint site to your custom master page.
    Please follow the links below for steps by steps instructions (and you will find many just by googling 'sharepoint master page visual studio'):
    http://frederik.se/how-to-deploy-a-custom-master-page-in-sharepoint-2013-using-visual-studio/
    http://joshuaorimogunje.wordpress.com/2011/10/05/how-to-create-custom-master-page-for-sharepoint-2010-using-visual-studio-2010/
    http://blogs.msdn.com/b/bobgerman/archive/2011/01/31/packaging-master-pages-and-page-layouts-with-visual-studio-2010.aspx
    http://go.limeleap.com/community/bid/291931/Creating-a-Custom-SharePoint-Master-Page-with-jQuery-Using-Visual-Studio
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Add Right Side Column and Web Parts to custom Master page in SharePoint Online

    Hello everyone, 
    I hope this is a simple question, however I was fighting the issue it presents for a while. I am in the process of customizing SharePoint Online Look-and-feel with a new layout.
    The site collection was created as a
    Team Site before I got involved with the project, and populated with numerous sub-sites and pages. I activated required
    publishing features, created html with corresponding styles and graphics, and used the Design Manager to convert the html file to the custom Master page. While SharePoint automatically assigned “ContentPlaceHolderMain” div area, I
    also used default Oslo page as example to copy sections of the code for dynamic components (left column and navigation, recent items, the ribbon, etc.) from it and placed them in my new master page, pointed all CSS references to
    my custom style sheets, etc. Everything works great, however I need to make one last addition -
    my task is to make changes to display web parts such as Calendar and Recent Documents in the right column in the Master page.
    My custom layout has a header, footer, main pan and two side columns. Most of the default master templates come with the LEFT column already embedded and populated with several placeholder
    to serve dynamic content (PlaceHolderLeftNavBarTop, PlaceHolderQuickLaunchTop, PlaceHolderLeftNavBarDataSource, PlaceHolderLeftActions, so on).
    My challenge is that I have the RIGHT side column as well, for which I don’t think the default placeholder exists. I need to add a small Calendar box and Recent Documents parts to it, so they
    display across the entire site governed by this master page.
    The issue is –
    even after activating Publishing features (enabled SharePoint Server Publishing Infrastructure under Site Collection Level, and SharePoint Server Publishing under the Site
    Level), there is no Snippet feature (usually available under the generic Publishing Site); this customization of the Team Site allows using Designer and apply custom templates, themes, so on, just like you would under the Publishing collection, but not the
    Snippet utility I could use as the solution to embed the web parts on the master page.
    Recreating the entire site under Publishing Collection is not an option due to the directions I was given, I am to use this existing one, and need to see if
    there is a workaround to either activate the Snippet feature or use another solution to display the web parts inside of the column in the Master page.
    If the only solution is to use Web Part Zone, what are the steps to add it AND populate it with the abovementioned apps?
    Can anyone suggest how to create a workaround and add this feature? The environment is role-based so both elements need to be dynamically rendered based on the user’s role and activities.
    I am more of a front end designer than developer, so if any custom coding and set up required, please kindly provide some basic steps, if possible?..
    I greatly appreciate any help and suggestions!
    Thank You!
    Jeff
    Jeff V.

    Updating your Master Page to also include a right rail should be sraight forward enough with a new div or divs in your master page and then the proper styles to make room for this column as well as position the column.
    I have not seen why you cannot find the snippet gallery link when previewing a HTML Master Page in the browser. Have you tried loading the snippet gallery by its url? As an example, for my tenant on SPO, I can load the Snippet Gallery for the olso.master
    with the following url:
    https://pixelmill.sharepoint.com/_layouts/15/ComponentConfigureControls.aspx?ComponentName=TopNavigationNoFlyoutWithStartNode&Url=%2F_catalogs%2Fmasterpage%2Foslo.master
    Change the domain to match yours as well as update the "Url" querystring var to point to your master page. See if that loads the snippet gallery.
    Eric Overfield - PixelMill -
    ericoverfield.com -
    @EricOverfield

  • Having issues with custom master pages and device channels

    I'm working in Sharepoint 2013 and am attempting to create a custom master page that is to be used by mobile devices. I have created an html file and a custom css file that includes snippets from the design manager. The file appears to preview fine in a
    browser from Microsoft Web Expression. I have loaded the html file into sharepoint via design manager, so the master file is there as well. The css files are in the style library for the site collection and I have created a device channel including user agent
    strings for iphones going back to the iPhone 4 and operating systems going back to iOS 6. I have obviously assigned my custom "mobile" master for that device channel and I have turned off mobile browsing. However when I open the site on my phone
    it shows the normal full desktop view and not my custom master. I will include my html code, my css and a screenshot of my device channel below. Please help!
    <?xml version="1.0" encoding="utf-8"?><!--SPG:
    This HTML file has been associated with a SharePoint Master Page (.master file) carrying the same name. While the files remain associated, you will not be allowed to edit the .master file, and any rename, move, or deletion operations will be reciprocated.
    To build the master page directly from this HTML file, simply edit the page as you normally would. Use the Snippet Generator at https://otterbein.sharepoint.com/sites/Committees/_layouts/15/ComponentHome.aspx?Url=https%3A%2F%2Fotterbein%2Esharepoint%2Ecom%2Fsites%2FCommittees%2F%5Fcatalogs%2Fmasterpage%2Fmobile%5Ftest%5Fmaster%2Emaster to create and customize useful SharePoint entities, then copy and paste them as HTML snippets into your HTML code. All updates to this file will automatically sync to the associated Master Page.
    -->
    <!-- _lcid="1033" _version="16.0.3611" _dal="1" -->
    <!-- _LocalBinding -->
    <!DOCTYPE html[]>
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
    <head>
    <link href="https://otterbein.sharepoint.com/sites/Committees/Style Library/mobile_corev15.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="X-UA-Compatible" content="IE=10" />
    <!--CS: Start Head Snippet-->
    <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--SID:00 -->
    <meta name="GENERATOR" content="Microsoft SharePoint" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Expires" content="0" />
    <!--SPM:<SharePoint:RobotsMetaTag runat="server"/>-->
    <!--MS:<SharePoint:PageTitle runat="server">-->
    <!--SPM:<asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server">-->
    <!--SPM:<SharePoint:ProjectProperty Property="Title" runat="server"/>-->
    <!--SPM:</asp:ContentPlaceHolder>-->
    <!--ME:</SharePoint:PageTitle>-->
    <!--SPM:<SharePoint:StartScript runat="server"/>-->
    <!--MS:<SharePoint:CssLink runat="server" Version="15">-->
    <!--PS: Start Preview-->
    <link href="https://otterbein.sharepoint.com/sites/Committees/Style Library/mobile_corev15.css" rel="stylesheet" type="text/css" /><!--PE: End Preview-->
    <!--ME:</SharePoint:CssLink>-->
    <!--SPM:<SharePoint:CacheManifestLink runat="server"/>-->
    <!--SPM:<SharePoint:PageRenderMode runat="server" RenderModeType="Standard"/>-->
    <!--SPM:<SharePoint:ScriptLink language="javascript" name="core.js" OnDemand="true" runat="server" Localizable="false"/>-->
    <!--SPM:<SharePoint:ScriptLink language="javascript" name="menu.js" OnDemand="true" runat="server" Localizable="false"/>-->
    <!--SPM:<SharePoint:ScriptLink language="javascript" name="callout.js" OnDemand="true" runat="server" Localizable="false"/>-->
    <!--SPM:<SharePoint:ScriptLink language="javascript" name="sharing.js" OnDemand="true" runat="server" Localizable="false"/>-->
    <!--SPM:<SharePoint:ScriptLink language="javascript" name="suitelinks.js" OnDemand="true" runat="server" Localizable="false"/>-->
    <!--SPM:<SharePoint:CustomJSUrl runat="server"/>-->
    <!--MS:<SharePoint:SoapDiscoveryLink runat="server">-->
    <!--PS: Start Preview--><link href="https://otterbein.sharepoint.com/_vti_bin/spsdisco.aspx" rel="alternate" type="text/xml" /><!--PE: End Preview-->
    <!--ME:</SharePoint:SoapDiscoveryLink>-->
    <!--MS:<SharePoint:AjaxDelta id="DeltaPlaceHolderAdditionalPageHead" Container="false" runat="server">-->
    <!--MS:<asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server">-->
    <!--ME:</asp:ContentPlaceHolder>-->
    <!--MS:<SharePoint:DelegateControl runat="server" ControlId="AdditionalPageHead" AllowMultipleControls="true">-->
    <!--ME:</SharePoint:DelegateControl>-->
    <!--MS:<asp:ContentPlaceHolder id="PlaceHolderBodyAreaClass" runat="server">-->
    <!--ME:</asp:ContentPlaceHolder>-->
    <!--ME:</SharePoint:AjaxDelta>-->
    <!--SPM:<SharePoint:CssRegistration Name="Themable/corev15.css" runat="server"/>-->
    <!--SPM:<SharePoint:AjaxDelta id="DeltaSPWebPartManager" runat="server">-->
    <!--SPM:<WebPartPages:SPWebPartManager runat="server"/>-->
    <!--SPM:</SharePoint:AjaxDelta>-->
    <!--CE: End Head Snippet-->
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:ContentType msdt:dt="string">Design File</mso:ContentType>
    <mso:ContentTypeId msdt:dt="string">0x0101000F1C8B9E0EB4BE489F09807B2C53288F0054AD6EF48B9F7B45A142F8173F171BD10003D357F861E29844953D5CAA1D4D8A3A</mso:ContentTypeId>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:HtmlDesignFromMaster msdt:dt="string"></mso:HtmlDesignFromMaster>
    <mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
    <mso:HtmlDesignStatusAndPreview msdt:dt="string">https://otterbein.sharepoint.com/sites/Committees/_catalogs/masterpage/mobile_test_master.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    <link href="https://otterbein.sharepoint.com/sites/Committees/Style Library/mobile_corev15.css" rel="stylesheet" type="text/css" />
    </head>
    <body style="width: 330; margin-right: 0px">
    <div id="ms-designer-ribbon" style="width:312px">
    <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <div id="TurnOnAccessibility" style="display:none" class="s4-notdlg noindex">
    <a id="linkTurnOnAcc" href="#" class="ms-accessible ms-acc-button" onclick="SetIsAccessibilityFeatureEnabled(true);UpdateAccessibilityUI();document.getElementById('linkTurnOffAcc').focus();return false;">
    <!--MS:<SharePoint:EncodedLiteral runat="server" text="&#60;%$Resources:wss,master_turnonaccessibility%&#62;" EncodeMethod="HtmlEncode">-->
    <!--ME:</SharePoint:EncodedLiteral>-->
    </a>
    </div>
    <div id="TurnOffAccessibility" style="display:none" class="s4-notdlg noindex">
    <a id="linkTurnOffAcc" href="#" class="ms-accessible ms-acc-button" onclick="SetIsAccessibilityFeatureEnabled(false);UpdateAccessibilityUI();document.getElementById('linkTurnOnAcc').focus();return false;">
    <!--MS:<SharePoint:EncodedLiteral runat="server" text="&#60;%$Resources:wss,master_turnoffaccessibility%&#62;" EncodeMethod="HtmlEncode">-->
    <!--ME:</SharePoint:EncodedLiteral>-->
    </a>
    </div>
    <!--SID:02 {Ribbon Snippet}-->
    <!--PS: Start Preview--><!--PE: End Preview-->
    </div>
    <!--MS:<SharePoint:SPSecurityTrimmedControl runat="server" AuthenticationRestrictions="AnonymousUsersOnly">-->
    <!--SPM:<wssucw:Welcome runat="server" EnableViewState="false"/>-->
    <!--ME:</SharePoint:SPSecurityTrimmedControl>-->
    <div id="s4-workspace" style="left: 0px; top: 0px; width: 329">
    <div id="s4-bodyContainer" style="width: 328">
    <table style="width: 312px">
    <tr>
    <td style="width: 312px; background: #666666; text-align:center">
    <div class="js-callout-menuAction" style="background:rgb(102, 102, 102); color:white; width:295px; padding:8px; height:64px; overflow:hidden;">In true previews of your site, the SharePoint ribbon will be here.</div></td>
    </tr>
    <tr>
    <td style="width: 312px; background: #CB1920; text-align:center">
    <img alt="Otterbein Logo" src="https://otterbein.sharepoint.com/sites/Committees/Style%20Library/otterbein-logo_towers_white_mobile.png" style="padding:5px"><br>
    <div data-name="SiteTitle" style="width: 295px; color:white; padding-bottom:5px; text-indent:5px" class="ms-chkmark-container-centerer"><!--CS: Start Site Title Snippet--><!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>--><!--MS:<SharePoint:AjaxDelta runat="server" ForeColor="White">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><!--PE: End of READ-ONLY PREVIEW--><!--MS:<SharePoint:SPLinkButton runat="server" ForeColor="White" NavigateUrl="~site/">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><!--PE: End of READ-ONLY PREVIEW--><!--MS:<SharePoint:ProjectProperty runat="server" Property="Title">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
    <span style="font-size:xx-large">Committees<!--PE: End of READ-ONLY PREVIEW--><!--ME:</SharePoint:ProjectProperty>--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><!--PE: End of READ-ONLY PREVIEW--><!--ME:</SharePoint:SPLinkButton>--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><!--PE: End of READ-ONLY PREVIEW--><!--ME:</SharePoint:AjaxDelta>--><!--CE: End Site Title Snippet--></span>
    </div>
    <div WebPartID="00000000-0000-0000-0000-000000000000" HasPers="true" id="WebPart" width="250px" class="ms-WPBody noindex " OnlyForMePart="true" allowDelete="false" style="padding-top:15px; padding-bottom:15px"><div componentid="ctl00_ctl03_csr" id="ctl00_ctl03_csr"><div id="SearchBox" name="Control"><div class="ms-srch-sb ms-srch-sb-border" id="ctl00_ctl03_csr_sboxdiv">
    <input type="text" value="Search..." maxlength="2048" accessKey="S" title="Search..." id="ctl00_ctl03_csr_sbox" autocomplete="off" autocorrect="off" onkeypress="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {if (Srch.U.isEnterKey(String.fromCharCode(event.keyCode))) {$find('ctl00_ctl03_csr').search($get('ctl00_ctl03_csr_sbox').value);return Srch.U.cancelEvent(event);}})" onkeydown="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {var ctl = $find('ctl00_ctl03_csr');ctl.activateDefaultQuerySuggestionBehavior();})" onfocus="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {var ctl = $find('ctl00_ctl03_csr');ctl.hidePrompt();ctl.setBorder(true);})" onblur="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {var ctl = $find('ctl00_ctl03_csr'); if (ctl){ ctl.showPrompt(); ctl.setBorder(false);}})" class="ms-textSmall ms-srch-sb-prompt ms-helperText" style="width: 250px; height: 18px" /><a title="Search" class="ms-srch-sb-searchLink" id="ctl00_ctl03_csr_SearchLink" onclick="EnsureScriptFunc('Search.ClientControls.js', 'Srch.U', function() {$find('ctl00_ctl03_csr').search($get('ctl00_ctl03_csr_sbox').value);})" href="javascript: {}"><img src="/sites/Committees/_catalogs/theme/Themed/EF0ED6F1/searchresultui-61174269.themedpng?ctag=55" class="ms-srch-sb-searchImg" id="searchImg" alt="Search" /></a></div></div></div><noscript><div id="ctl00_ctl03_noscript">It looks like your browser does not have JavaScript enabled. Please turn on JavaScript and try again.</div></noscript><div id="ctl00_ctl03" style="color:White;border-color:White;border-width:0px;border-style:Solid;text-align:center;"></div><div class="ms-clear"></div></div>
    <div data-name="TopNavigationNoFlyoutWithStartNode"><!--CS: Start Top Navigation Snippet--><!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>--><!--MS:<SharePoint:AjaxDelta runat="server" CssClass="ms-displayInline ms-core-navigation ms-dialogHidden" Width="312px" BlockElement="True" ID="DeltaTopNavigation">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><!--PE: End of READ-ONLY PREVIEW--><!--MS:<SharePoint:DelegateControl runat="server" Id="topNavigationDelegate" ControlId="TopNavigationDataSource">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><span style="display:none">
    <table cellpadding="4" cellspacing="0" style="font:messagebox;color:buttontext;background-color:buttonface;border: solid 1px;border-top-color:buttonhighlight;border-left-color:buttonhighlight;border-bottom-color:buttonshadow;border-right-color:buttonshadow">
    <tr>
    <td nowrap="nowrap">
    <span style="font-weight:bold">PortalSiteMapDataSource</span> - topSiteMap</td>
    </tr>
    <tr>
    <td></td>
    </tr>
    </table>
    </span><!--PE: End of READ-ONLY PREVIEW--><!--MS:<Template_Controls>--><!--MS:<asp:SiteMapDataSource ShowStartingNode="True" SiteMapProvider="SPNavigationProvider" ID="topSiteMap" runat="server" StartingNodeUrl="sid:1002">--><!--ME:</asp:SiteMapDataSource>--><!--ME:</Template_Controls>--><!--ME:</SharePoint:DelegateControl>--><a name="startNavigation"></a><!--MS:<asp:ContentPlaceHolder ID="PlaceHolderTopNavBar" runat="server">--><!--MS:<SharePoint:AspMenu runat="server" UseSeparateCss="false" AdjustForShowStartingNode="False" StaticDisplayLevels="2" AccessKey="1" SkipLinkText="" ItemWrap="True" EnableViewState="False" MaximumDynamicDisplayLevels="0" UseSimpleRendering="True" DataSourceID="topSiteMap" Orientation="Vertical" ID="TopNavigationMenu">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
    <div id="zz7_TopNavigationMenu" class=" noindex ms-core-listMenu-verticalBox">
    <ul id="zz9_RootAspMenu" class="root ms-core-listMenu-root static">
    <li class="static">
    <a class="static menu-item ms-core-listMenu-item ms-displayInline ms-navedit-linkNode" href="/sites/Committees/SitePages/Home.aspx" accesskey="1">
    <span class="additional-background ms-navedit-flyoutArrow">
    <span class="menu-item-text">Committees</span></span></a></li>
    <li class="static ms-verticalAlignTop ms-listMenu-editLink ms-navedit-editArea">
    <span class="ms-navedit-editSpan" id="zz7_TopNavigationMenu_NavMenu_Edit">
    <a id="zz7_TopNavigationMenu_NavMenu_EditLinks" class="ms-navedit-editLinksText" href="#" onclick="g_QuickLaunchMenu = null; EnsureScriptParams('quicklaunch.js', 'QuickLaunchInitEditMode', 'zz7_TopNavigationMenu', 1, 0, 1, '\u002fSITES\u002fCOMMITTEES'); cancelDefault(event); return false;" title="Edit Links">
    <span class="ms-displayInlineBlock">
    <span class="ms-navedit-editLinksIconWrapper ms-verticalAlignMiddle">
    <img class="ms-navedit-editLinksIcon" src="/sites/Committees/_catalogs/theme/Themed/EF0ED6F1/spcommon-B35BB0A9.themedpng?ctag=55" alt="Edit Links" /></span><span class="ms-metadata ms-verticalAlignMiddle">Edit Links</span></span></a><span id="zz7_TopNavigationMenu_NavMenu_Loading" class="ms-navedit-menuLoading ms-hide"><a id="zz7_TopNavigationMenu_NavMenu_GearsLink" href="#" onclick="HideGears(); return false;" title="This animation indicates the operation is in progress. Click to remove this animated image."><img id="zz7_TopNavigationMenu_NavMenu_GearsImage" src="/_layouts/15/images/loadingcirclests16.gif?rev=38" alt="This animation indicates the operation is in progress. Click to remove this animated image." /></a></span><div id="zz7_TopNavigationMenu_NavMenu_ErrorMsg" class="ms-navedit-errorMsg">
    </div>
    </span></li>
    </ul>
    </div>
    <!--PE: End of READ-ONLY PREVIEW--><!--ME:</SharePoint:AspMenu>--><!--ME:</asp:ContentPlaceHolder>--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><!--PE: End of READ-ONLY PREVIEW--><!--ME:</SharePoint:AjaxDelta>--><!--CE: End Top Navigation Snippet-->
    </div>
    <br>
    </td>
    </tr>
    <tr>
    <td style="width: 312px">
    <div class="DefaultContentBlock" style="border:medium black solid; background:yellow; color:black;">
    This area will be filled in by content you create in your page layouts.
    </div>
    </td>
    </tr>
    <tr>
    <td style="width: 312px; background:#CCCCCC"><!--CS: Start Content Editor Snippet--><!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>--><!--MS:<WebPartPages:ContentEditorWebPart xmlns:WebPartPages="namespace" runat="server" webpart="true">--><!--PS: Start of READ-ONLY PREVIEW (do not modify)--><div class="ms-webpart-chrome ms-webpart-chrome-fullWidth "><div WebPartID="00000000-0000-0000-0000-000000000000" HasPers="true" id="WebPart" width="312px" class="ms-WPBody noindex " OnlyForMePart="true" allowDelete="false" style=""><div class="ms-rtestate-field"></div></div></div><!--PE: End of READ-ONLY PREVIEW--><!--MS:<WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/WebPart/v2">--><!--MS:<Title>--><!--SPM:$Resources:core,ContentEditorWebPartTitle;--><!--ME:</Title>--><!--MS:<FrameType>--><!--SPM:None--><!--ME:</FrameType>--><!--MS:<Description>--><!--SPM:$Resources:core,ContentEditorWebPartDescription;--><!--ME:</Description>--><!--MS:<IsIncluded>--><!--SPM:true--><!--ME:</IsIncluded>--><!--MS:<ZoneID>--><!--SPM:ImportedPartZone--><!--ME:</ZoneID>--><!--MS:<PartOrder>--><!--SPM:0--><!--ME:</PartOrder>--><!--MS:<FrameState>--><!--SPM:Normal--><!--ME:</FrameState>--><!--MS:<Height>--><!--ME:</Height>--><!--MS:<Width>--><!--ME:</Width>--><!--MS:<AllowRemove>--><!--SPM:true--><!--ME:</AllowRemove>--><!--MS:<AllowZoneChange>--><!--SPM:true--><!--ME:</AllowZoneChange>--><!--MS:<AllowMinimize>--><!--SPM:true--><!--ME:</AllowMinimize>--><!--MS:<AllowConnect>--><!--SPM:true--><!--ME:</AllowConnect>--><!--MS:<AllowEdit>--><!--SPM:true--><!--ME:</AllowEdit>--><!--MS:<AllowHide>--><!--SPM:true--><!--ME:</AllowHide>--><!--MS:<IsVisible>--><!--SPM:true--><!--ME:</IsVisible>--><!--MS:<DetailLink>--><!--ME:</DetailLink>--><!--MS:<HelpLink>--><!--ME:</HelpLink>--><!--MS:<HelpMode>--><!--SPM:Modeless--><!--ME:</HelpMode>--><!--MS:<Dir>--><!--SPM:Default--><!--ME:</Dir>--><!--MS:<PartImageSmall>--><!--ME:</PartImageSmall>--><!--MS:<MissingAssembly>--><!--SPM:Cannot import this Web Part.--><!--ME:</MissingAssembly>--><!--MS:<PartImageLarge>--><!--SPM:/_layouts/15/images/mscontl.gif--><!--ME:</PartImageLarge>--><!--MS:<IsIncludedFilter>--><!--ME:</IsIncludedFilter>--><!--MS:<ExportControlledProperties>--><!--SPM:true--><!--ME:</ExportControlledProperties>--><!--MS:<ConnectionID>--><!--SPM:00000000-0000-0000-0000-000000000000--><!--ME:</ConnectionID>--><!--MS:<ID>--><!--SPM:g_4a85e298_8d8c_4770_9fc1_a5f6d6456ec7--><!--ME:</ID>--><!--MS:<ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor">--><!--ME:</ContentLink>--><!--MS:<Content xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor">--><!--ME:</Content>--><!--MS:<PartStorage xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor">--><!--ME:</PartStorage>--><!--MS:<ID>--><!--SPM:g_90f063ab_d6a1_4718_b306_b3ade5119bd1--><!--ME:</ID>--><!--ME:</WebPart>--><!--ME:</WebPartPages:ContentEditorWebPart>--><!--CE: End Content Editor Snippet--></td>
    </tr>
    </table>
    </div>
    </div>
    </body>
    </html>
    User agent strings for mobile Channel
    Apple-iPhone3C1/1001.403
    Apple-iPhone3C3/1001.403
    Apple-iPhone4C1/1001.403
    Apple-iPhone5C1/1001.405
    Apple-iPhone5C2/1001.405
    Apple-iPhone2C1/1001.523

    Hi,
    The issue is likely not your HTML Master Page but your user agent string. Try a user agent string of just "iphone". To test your master page, you could also set the user agent to "MSIE", which should cause this master page to load for
    any version of IE. This will help you debug the master page as well in your normal browser.
    Eric Overfield - PixelMill -
    ericoverfield.com -
    @EricOverfield

  • How to set custom master page for sharepoint application page ?

    Hello,
    I need to apply custom master page for the custom application page I created for login purpose.
    Can anyone please let me know how to apply master page for custom application page ?
    Note : I need to set custom master page for application page at web application level.
    thanks,
    Dipti Chhatrapati

    Hi Dipti,
    You can use the same reference as ASP.NET
    Example
    "<%@ Page Language="C#" masterpagefile="../_catalogs/masterpage/minimal.master" title="teste" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full"
    meta:progid="SharePoint.WebPartPage.Document" %>"
    You can use SharePoint Designer 2010
    http://www.microsoft.com/download/en/details.aspx?id=16573 to make the reference from you aspx page to you custom masterpage.
    When you are editing a aspx page you can go to ribbon "Style" and attach the custom Masterpage.
    André Lage Microsoft SharePoint, CRM Consultant
    Blog:http://aaclage.blogspot.com
    Codeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/

Maybe you are looking for