Adding or Displaying Site Actions Gear Icon Using Custom SharePoint Master Page

I am using a custom Master Page within my SharePoint Site in SharePoint 2013 Site. In the top right corner the Gear Icon is not displaying. But when I hover on it the place holder work and when I click on it the menu is displaying correctly.
Now I want it to display that gear icon using my custom master page.
So how can I do that? Could someone help me to solve this?
Thanks and regards, Chiranthaka

Hi,
From your description, my understanding is that you customize a master page in SharePoint 2013, and you want to display the gear icon.
I wonder if just this site cannot display the icon or each site cannot display the icon in your farm? To resolve your issue, you could check these points in your environment:
Compare current site code to other site in file seattle.master. you could find code by these steps: search code with keywords [id="siteactiontd"] in seattle.master -> compare code between tags [<SharePoint:SiteActions></SharePoint:SiteActions>].
Then check if the URL of the gear icon is correct or not as the screenshot below.
Please check if there are some CSS code may hide your gear icon in you custom Master Page.
If each site cannot display the icon, you could check if the file spcommon.png(path:..\ 15\TEMPLATE\IMAGES) is missing or not.
In addition, you could debug your code with pressing F12 to open developer tool in IE.
Best Regards,
Vincent Han
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • Changing Site Actions Gear Icon to 'Site Actions' Word in SharePoint 2013

    Hi all,
    I want to know that is it possible to change the Site Action's Gear Icon to Site Actions word in the SharePoint 2013 Master Page?
    If so how?
    It should align along with the Logged in UserName like the Gear Icon.
    Please could someone give me some tip on this?
    Thanks and regards,
    Chiranthaka

    Hi Chiranthaka,
    As I understand, you would like to add text “Site Actions” to site settings gear icon. We could use JQuery to achieve it:
    $(document).ready(function () {
    $('.ms-siteactions-root > span > a.ms-core-menu-root').append("<label>Site Actions</label>");
    Please refer more information about the coding:
    http://www.broculos.net/2014/03/sharepoint-2013-add-text-to-site.html#.VB_d0xCKAiR
    You could also download JQuery.min.js from the link below:
    http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Control order of CustomAction.. added to the 'Site Action' menu drop down?

    Hello,
    I have a module through which I am using <CustomAction ...> to add some desired action items to the 'Site Action' drop down. Custom actions are added successfully; however, the order in which they appear is the
    problem.  'sequence' attribute is no help at this point as i have tried setting it to '0', '10', and '20' but no go.
    You time and response is greatly appreciated.
    +Shahzad.

    Here's a few from the 2013 Settings menu:
    Menu Group
    Sequence
    ID
    2013 display name
    100
    110
    MenuItem_ShareThisSite
    Shared with…
    200
    210
    MenuItem_EditPage
    Edit page
    200
    220
    MenuItem_CreatePage
    Add a page
    200
    230
    MenuItem_Create
    Add an app
    200
    240
    MenuItem_ViewAllSiteContents
    Site Contents
    300
    310
    MenuItem_ChangeTheLook
    Change the look
    300
    320
    MenuItem_Settings
    Site settings
    300
    330
    MenuItem_SwitchToMobileView
    2147483647
    Getting started
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • How to apply security trimming control on Site Action (Gear) in SharePoint 2013?

    I want to apply security trimming control on Site Action (Gear) & change the position of the welcome control, but I am not able to find Site Action delegate control and welcome control in seattle.html or seattle.master page.
    Can you please let me know how to find Site Action & Welcome control?
    Thanks
    G Goyal

    If you would like to implement security trimming on site action through custom code then following could help you,
    In your visual studio project create a class which implements System.Web.UI.WebControls.WebControl. In the
    CreateChildControls Method you could get the FeatureMenuTemplate control which is SharePoint’s
    WelcomeMenuTemplate.
    After creating control, you could add it as an menu item into your site action menu using a
    customaction xml.  
    You could get the child controls from this and can remove them as required.
    Note: using this approach, if you have User profile service running then it will not remove the “About Me” link. But if you have forms authentication enabled then you could change your logic to remove this link.
    Hope I have contributed to your issue.

  • I lost the ability to order and hide site columns if i use custom content type with a custom Create Form

    I have a team site collection and I want to add a new App of type Issue Tracking list. so I did the following:-
    From the site collection I created a new App of type issue tracking.
    Then from the site collection I created a new Content type named “CustomIssue” which has its parent as “Issue” content type.
    I went to the Issue tracking list and I changed the default content type from Issue , to the new “CustomeIssue” content type.
    I open the site collection using SP designer and I created a new Create form for my Issue tracking list based on the "CustomIssue" content type and I select to have the Create form as the default form when creating an item.
    Everything till this point worked well. But when I open the “customIssue” content type , and I re-order the columns and I hide some columns, this was not reflected inside the custom Create form …
    although when using the default content type and the default create form you can control the order of the fields and to specify if certain fields hold be hidden inside the Create form.. so can anyone advice on this please?

    Hi,
    According to your post, my understanding is that you lost the ability to order and hide site columns if i use custom content type with a custom Create Form.
    I try to reproduce the issue, the result is the same as yours.
    As a workaround, if I modify the custom content type form the site setting, and then change the NewForm as the default form, it will change the column orders.
    However, if I use the new created form as the default form, it will remain the original orders.
    I recommend that you modify the custom content type form the site setting, and then reset the NewForm as the default form.
    The result is as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support
    ok thanks for the explanation ,, but what if i want to change the order and hidde some fields in the future ,, do i have to chnage the defualt create form again ...

  • How to auto-fill a book using only one master page

    I'm designing a rather simple photo book in Aperture.  I have a master page setup with six 2x3 image boxes per page.  Each image box has a metadata field for caption and for date/time.  I want to select a large number of images and auto-fill the book using only this master page.  As you might guess, its just going to be a presentation of a large number of photographs, scrapbook style, with the caption and time of each image.  Nothing fancy, intentionally.
    Problem is when I tell Aperture to auto-fill the images, if it needs a new page it randomly grabs a master page layout.  I want all pages to use only this specific master page.
    Can this be done?  Adding my own pages and dragging and dropping images by hand will be too cumbersome when a book might have 300+ images in it.

    Problem is when I tell Aperture to auto-fill the images, if it needs a new page it randomly grabs a master page layout.  I want all pages to use only this specific master page.
    Create a new, empty version of your master page and duplicate it as often as you want using the key combination ⌘D. Delete all pages with a layout that you not want.
    When you have enaough empty pages use auto-fill. It will fill the empty pages you just created.
    For example - plenty of pages using the same master layout, auto-filled:

  • Display "modified by" and "modified date" on sharepoint wiki pages.

    Hi there,
    I want to display "modified by" and "modified date" on sharepoint wiki pages as a footer note.
    I googled about it and I got the following code which I have inserted in my master page(Since I want to display on 2400 pages).
    <%@ Register Tagprefix="SharePointWebControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <SharePointWebControls:DateTimeField FieldName="Modified" runat="server" ControlMode="Display"/>by
    <SharePointWebControls:UserField FieldName="Modified By" runat="server" ControlMode="Display" />
    It is working but last modifed user and date and time is visible only till page loads.
    After page is loaded completely it dissappears.. Am I missing something??
    Many thanks in advance..

    Sabiha,
    Try these links,
    http://blog.henryong.com/2010/06/08/how-to-create-custom-sharepoint-2010-page-layouts-using-sharepoint-designer-2010/
    http://blogs.msdn.com/b/kaevans/archive/2011/07/07/modifying-the-page-layout-for-enterprise-wiki-pages-in-sharepoint-2010.aspx
    https://social.technet.microsoft.com/Forums/en-US/64f6006a-73c5-4c8e-a552-896df8e22af1/show-wiki-page-library-columns-on-wiki-pages-sharepoint-2010
    Hope it will be helpful
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Can the 100% browser width function be used in non-master pages?

    Can the 100% browser width function be used in non-master pages? I watched the video about pulling it to the red edges, and did that on some of my parent pages, but when I preview the page in browser, it doesn't work. I can still see my browser edges.
    The idea for the website I am designing is to have different full browser width images for different pages, and I'm looking for a way to do that. I would create a different master for each page, but there are more than 20 pages...too many master pages! Thanks!

    Hi Lindsey,
    The 100% width feature works with rectangles and text frames on both master pages as well as regular pages. It doesn't work with images in either case. A possible workaround would be to use a rectangle with a background image, depending on the nature of your image.
    Regards,
    Nathan

  • Unable to Convert an HTML file to a SharePoint master page on team site

    I have a team site in SharePoint server 2013 where I want to enable Design Manager. I have activated
    SharePoint Server Publishing Infrastructure but I clicked on Convert an HTML file to a SharePoint master page under Edit Master pages, I get an error in my logs below, with
    System.NullReferenceException occuring a few times. Has anyone encountered this error before?
    03/04/2015 17:12:07.86        
    w3wp.exe (0x066C)                            
    0x20FCSharePoint Foundation                    
    Logging Correlation Data         
    xmnv  
    Medium           
    Name=Request (GET:http://*.cloudapp.net:80/sites/*/_layouts/15/AssetPortalBrowser.aspx?&AssetUrl=/sites/*/_catalogs/masterpage&RootFolder=/sites/*/_catalogs/masterpage&MDWeb=9b1d767f-8c34-4411-96b1-f2c1fbd8b775&List=d790ecf3-2afe-48a3-9f7a-e802a39ba138&AssetView=Html%20Design%20Files&AssetType=Link&IsDlg=1)     
    b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.86         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     Authentication Authorization    agb9s   Medium
               Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|*\*, ClaimsCount=24          b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.86         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     Logging Correlation Data          xmnv  
    Medium            Site=/sites/*   
    b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8 03/04/2015 17:12:07.87         w3wp.exe (0x066C)                            
    0x20FC Document Management Server                Document Management                     
    eua9    Medium            Pending update MetadataNavigationHints for Web[9b1d767f-8c34-4411-96b1-f2c1fbd8b775]List[d790ecf3-2afe-48a3-9f7a-e802a39ba138] = 0 (NoSettings)   
    b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8 03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     General                       
    8nca     Medium            Application error when access /_layouts/15/AssetPortalBrowser.aspx, Error=Object reference not set to an instance of an object.  
    at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureParameterBindings(ObjectSerializer smo)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureChildControls()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.setContextToObject(ObjectSerializer
    newContextObject)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureDialogLocation(String objectId)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureDialogLocation()
        at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.OnLoad(EventArgs ...            b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89*       w3wp.exe (0x066C)                             0x20FC
    SharePoint Foundation                     General                       
    8nca     Medium            ...e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint) b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     Runtime                                  
    tkau     Unexpected     System.NullReferenceException: Object reference not set to an instance of an object.    at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureParameterBindings(ObjectSerializer
    smo)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureChildControls()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.setContextToObject(ObjectSerializer newContextObject)
        at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureDialogLocation(String objectId)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureDialogLocation()     at
    Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecurs... b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89*       w3wp.exe (0x066C)                             0x20FC
    SharePoint Foundation                     Runtime                                  
    tkau     Unexpected     ...ive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     General                       
    ajlz0     High     Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException:
    Object reference not set to an instance of an object.     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureParameterBindings(ObjectSerializer smo)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureChildControls()
        at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.setContextToObject(ObjectSerializer newContextObject)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureDialogLocation(String
    objectId)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.Config...         b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89*       w3wp.exe (0x066C)                             0x20FC
    SharePoint Foundation                     General                       
    ajlz0     High     ...ureDialogLocation()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()
        at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()  
      at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at Sy...     b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89*       w3wp.exe (0x066C)                             0x20FC
    SharePoint Foundation                     General                       
    ajlz0     High     ...stem.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)   b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     General                       
    aat87   Monitorable     
                b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     General                       
    ajji6      High     Unable to write SPDistributedCache call usage entry.  b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation             Micro Trace                           
    uls4      Medium            Micro Trace Tags: 0 nasq,3 agb9s,13 eua9,16 8nca,0 tkau,0 ajlz0,1 aat87,2 ajji6     b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     Monitoring                               
    b4ly      Medium            Leaving Monitored Scope (Request (GET:http://*.cloudapp.net:80/sites/*/_layouts/15/AssetPortalBrowser.aspx?&AssetUrl=/sites/*/_catalogs/masterpage&RootFolder=/sites/*/_catalogs/masterpage&MDWeb=9b1d767f-8c34-4411-96b1-f2c1fbd8b775&List=d790ecf3-2afe-48a3-9f7a-e802a39ba138&AssetView=Html%20Design%20Files&AssetType=Link&IsDlg=1)).
    Execution Time=42.3522           b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8

    Hi ,
    For this issue, it looks like your SharePoint server(s) have been patched with MS13-052. 
    Please try to uninstall it and reboot your machine.
    Here is a similar post for you to take a look at:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/eec6e515-6a0a-42f2-963d-51fde59be9c4/sharepoint-server-20102-abnormal-issues-please-help
    Best Regards,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Issue with calling url using custom uri from page loaded in stagewebview

    I am using stageWebView for showing webpage in my mobile app but don't know how to move back to my app once it gets loaded. In application descriptor file, I had already registered custom uri scheme (myapp://) for IOS devices and from the loaded page inside stageWebView, I was trying to call following URL myapp://webcam. But nothing had happened. It neither called LOCATION_CHANGE event of StageWebView not called INVOKE_EVENT of nativeapplication.
    How can I fix this issue?
    Thanks in advance,
    Mamta

    Hi Ashutosh,
    yea it gets launched correctly from safari. But my problem is with the link(which is using custom uri scheme e.g myapp://backtoapp) in the loaded page inside StageWebView. It is not allowing app to moveback to app from StageWebView. Moreover these two event listeners INVOKE_EVENT(native application) and LOCATION_CHANGE(stagewebview) are not responding. Dont know what should I do in order to move back to app area(mainView.mxml) from StageWebView(native browser).
    Thanks,
    Mamta

  • [OAM] Want to use custom System Error page and OOTB logout page simultaneously

    Hi,
    I have developed a custom OAM System Error screen (Error.jsp). To do that, I took oamcustompages.war from the installation directory, create Error.jsp and deploy it on oam_server1 server. After that, I run the updateCustomPages(extension="jsp", context="/oamcustompages") on wlst. This works fine.
    But now, if I invoke xxxx/oam/server/logout I have the following:
    <html><head><title>302 Moved Temporarily</title></head>
    <body bgcolor="#FFFFFF">
    <p>This document you requested has moved temporarily.</p>
    <p>It's now at <a href="http://lablnx246:8888/URLWeb/oamcustompages/pages/Logout.jsp">http://lablnx246:8888/URLWeb/oamcustompages/pages/Logout.jsp</a>.</p>
    </body></html>
    So.. it appears that all pages ootb have been replaced by the custom war. Is there any way to only let Error.jsp active and other pages be called OOTB?
    Thanks!

    The updateCustomPages will change the default OOTB behaviour
    If you do not want this, you can leverage the Success URL/Failure URL configuration in the Authentication policy and point it to the custom error handler

  • Change Master page of a site using ECMA Script in sharepoint 2010

    Hi All,
    I'm working on SharePoint 2010.
    I have a requirement where in I need to create a site and apply a particular master page to the newly created site using
    ECMA Script.
    The site gets created but while applying the master page it gives me an error stating the method 'set_masterUrl' is not defined.
    Here is my code:
    $(document).ready(function () {
    ExecuteOrDelayUntilScriptLoaded(createSite, "sp.js"); //This is used to ensure until sp.js is loaded, createSite will not be executed.
    function createSite() {
    var context = SP.ClientContext.get_current();
    var collWeb = context.get_web().get_webs();
    var webCreationInfo = new SP.WebCreationInformation();
    webCreationInfo.set_title('TestSite');
    webCreationInfo.set_description('Description of new Web site...');
    webCreationInfo.set_language(1033);
    webCreationInfo.set_webTemplate('STS#0');
    webCreationInfo.set_url('TestSite');
    webCreationInfo.set_useSamePermissionsAsParentSite(false);
    var oNewWebsite = collWeb.add(webCreationInfo);
    context.load(oNewWebsite);
    context.executeQueryAsync(Onsuccess, onfail);
    function Onsuccess() {
    dummy(context, oNewWebsite);
    function onfail(sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    function dummy(context,oNewWebsite)
    var strMasterPageUrl = '/_catalogs/masterpage/Test.master';
    oNewWebsite.set_masterUrl(strMasterPageUrl);
    oNewWebsite.set_customMasterUrl(strMasterPageUrl);
    oNewWebsite.update();
    context.executeQueryAsync(Onsuccess1, onfail1);
    function Onsuccess1() {
    alert("Done");
    function onfail1(sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    Please help.
    Thanks,
    Sachin

    The issue is coming because the scope of context and oNewWebsite is not available in your success method. Try to modify the code as below and see if that helps.
    $(document).ready(function () {
    ExecuteOrDelayUntilScriptLoaded(createSite, "sp.js"); //This is used to ensure until sp.js is loaded, createSite will not be executed.
    var context = null;
    var oNewWebsite = null;
    function createSite() {
    context = SP.ClientContext.get_current();
    var collWeb = context.get_web().get_webs();
    var webCreationInfo = new SP.WebCreationInformation();
    webCreationInfo.set_title('TestSite');
    webCreationInfo.set_description('Description of new Web site...');
    webCreationInfo.set_language(1033);
    webCreationInfo.set_webTemplate('STS#0');
    webCreationInfo.set_url('TestSite');
    webCreationInfo.set_useSamePermissionsAsParentSite(false);
    oNewWebsite = collWeb.add(webCreationInfo);
    context.load(oNewWebsite);
    context.executeQueryAsync(Onsuccess, onfail);
    function Onsuccess() {
    dummy(context, oNewWebsite);
    function onfail(sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    function dummy(context,oNewWebsite)
    var strMasterPageUrl = '/_catalogs/masterpage/Test.master';
    oNewWebsite.set_masterUrl(strMasterPageUrl);
    oNewWebsite.set_customMasterUrl(strMasterPageUrl);
    oNewWebsite.update();
    context.executeQueryAsync(Onsuccess1, onfail1);
    function Onsuccess1() {
    alert("Done");
    function onfail1(sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    The other way is to use this.context and this.oNewWebsite. To see how you can modify your code have a look at the following link.
    http://msdn.microsoft.com/en-us/library/office/jj163201%28v=office.15%29.aspx
    Geetanjali Arora | My blogs |

  • Master Page updated , but changes are visible only for that Page(site) alone ?

    I updated v4.master in SharePoint designer to add a bread crum navigation control
     <div class="BreadCrumbWrap s4-notdlg"> 
           <asp:SiteMapPath runat="server" SiteMapProvider="SPContentMapProvider" id="ContentMap"   CssClass="BreadCrumbStyle" PathSeparator="&gt;"> 
           <CurrentNodeStyle CssClass="BreadCurrentNode" /> 
           <PathSeparatorStyle CssClass="BreadPathSeparator" />   
            </asp:SiteMapPath> 
          </div>
    But the changes are visible only in that site. all other sites dont have bread crum control,
    I added the bread crum in header section, and also in page layout section, but there is no change (bread crum navigation only visible in that site alone)
    Why ?
    I always thought master page edits will be visible in all sites of a site collection,
    Am i going wrong some where (My site collection has about 30-35 sites, and new sites are created every now and then )
    Please help
    rn

    If the publishing features are turned on then the master pages for all the sites in the site collection are pulled from the master page gallery of the root site.  But if Publishing hasn't been enabled then each site uses the v4.master in its own master
    page gallery.  It sounds like you haven't enabled the Publishing Infrastructure site collection feature and Publishing Site Feature in the root site of your site collection.  
    Paul Stork SharePoint Server
    MVP Senior Solutions Architect: BlueChip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Creating Master page for publishing site

    Hi,
    I am trying to create a master page for publishing site. I have downloaded the "StarterBranding - V1.3" from codeplex, and used the "Starter Publishing". Currently it is not showing logo, search box, top navigation, breadcrumbs.
    I have an existing master page which has lot of tags, and I am not sure what they represent. The below code is after the script manager tag in the body section:
    <SharePoint:AjaxDelta id="DeltaDelegateControls" runat="server">
    <SharePoint:DelegateControl ID="DelegateControl2" runat="server" ControlId="GlobalNavigation" />
    <SharePoint:DelegateControl ID="DelegateControl3" ControlId="GlobalSiteLink3" Scope="Farm" runat="server" Visible="false" />
    </SharePoint:AjaxDelta>
    <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;">
    <SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" text="<%$Resources:wss,master_turnonaccessibility%>" EncodeMethod="HtmlEncode"/></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;">
    <SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" text="<%$Resources:wss,master_turnoffaccessibility%>" EncodeMethod="HtmlEncode"/></a>
    </div>
    <div class="s4-notdlg s4-skipribbonshortcut noindex">
    <a id="A1" href="javascript:;" onclick="document.getElementById('startNavigation').focus();" class="ms-accessible ms-acc-button" accesskey="<%$Resources:wss,skipribbon_accesskey%>" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral3" runat="server" text="<%$Resources:wss,skipRibbonCommandsLink%>" EncodeMethod="HtmlEncode"/></a>
    </div>
    <div class="s4-notdlg noindex">
    <a id="A2" href="javascript:;" onclick="document.getElementById('mainContent').focus();" class="ms-accessible ms-acc-button" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral4" runat="server" text="<%$Resources:wss,mainContentLink%>" EncodeMethod="HtmlEncode"/></a>
    </div>
    <div id="TurnOffAnimation" style="display:none;" class="s4-notdlg noindex">
    <a id="linkTurnOffAnimation" href="#" class="ms-accessible ms-acc-button" onclick="ToggleAnimationStatus();return false;">
    <SharePoint:EncodedLiteral ID="EncodedLiteral5" runat="server" text="<%$Resources:wss,master_disableanimation%>" EncodeMethod="HtmlEncode"/></a>
    </div>
    <div id="TurnOnAnimation" style="display:none;" class="s4-notdlg noindex">
    <a id="linkTurnOnAnimation" href="#" class="ms-accessible ms-acc-button" onclick="ToggleAnimationStatus();return false;">
    <SharePoint:EncodedLiteral ID="EncodedLiteral6" runat="server" text="<%$Resources:wss,master_enableanimation%>" EncodeMethod="HtmlEncode"/></a>
    </div>
    <a id="HiddenAnchor" href="javascript:;" style="display:none;"></a>
    <div id="suiteBar" class="ms-dialogHidden noindex">
    <div id="suiteBarLeft">
    <div class="ms-table ms-fullWidth">
    <div class="ms-tableRow">
    <div class="ms-tableCell ms-verticalAlignMiddle">
    <SharePoint:DelegateControl id="ID_SuiteBarBrandingDelegate" ControlId="SuiteBarBrandingDelegate" runat="server"/>
    </div>
    <SharePoint:AjaxDelta runat="server" id="DeltaSuiteLinks" BlockElement="true" CssClass="ms-core-deltaSuiteLinks">
    <div id="suiteLinksBox">
    <SharePoint:DelegateControl id="ID_SuiteLinksDelegate" ControlId="SuiteLinksDelegate" runat="server" />
    </div>
    </SharePoint:AjaxDelta>
    </div>
    </div>
    </div>
    <div id="suiteBarRight">
    <SharePoint:AjaxDelta runat="server" id="DeltaSuiteBarRight" CssClass="ms-core-deltaSuiteBarRight" BlockElement="true">
    <div id="welcomeMenuBox">
    <wssuc:Welcome id="IdWelcome" runat="server" EnableViewState="false" />
    </div>
    Are the above tags required in Master page? what is the use of it? I have more tags and will add after knowing the use of it in future threads.
    Thanks

    Hi,
    According to your description, my understanding is that you want to know about the each tags useful in master page.
    In SharePoint 2013 master page, there are some common tags like body tag, head tag and meta tag and some style CSS div tags. For the useful of these tags, I suggest you can refer the articles below:
    Understanding HTML master pages in SharePoint 2013
    In your custom master page, it will have some custom css tags depend on the display style but it is no required for master pages, if you want to know about what tags is required in master page, you can compare the custom master page with the  OOTB master
    page.
    More information:
    Create a minimal master page in SharePoint 2013
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Setting Custom Master page in search results page - Publishing site

    Hi,
    I have a publishing site, in which i have a custom Master page.
    However when doing the search in the site, the search results does not show the custom Master page.
    Is it possible to set the custom created Master page for the search results page? How to achieve this?
    Thanks

    Hi Venkat,
    The search page for a publishing site is a file available in the layouts folder (I believe it is the osssearchresults.aspx if you see the address bar). It is used by all web applications and site collections in your farm. So ideally you should not change
    it. I mean you can change it to point to your master page but it is bad practice ..
    I would instead do the following
    1. Create a custom search results web part page and place it in the site collection itself (one of the document libraries)
    2. Custom search results is not difficult because all search results pages are made of a set of Out of the box search results web parts. If you add the same webparts to your page as the default search results page, you have effectively created a copy of
    it
    3. go to site settings --> search settings and change the search results page to your newly created page
    4. The newly created page by virtue of its location will automatically use the master page the rest of the site uses.
    I could not spend the time to try the above for you but I am sure the above will work.
    Thanks and Regards,
    Partha
    AvePoint

Maybe you are looking for

  • Is 'Repository Creation Utility' a mandatory for SOA Suite

    Hi All, I am new to Oracle Weblogic 11g application server. I worked on Oracle 10g app server. I am very much interested in BPEL and planning to learn BPEL and SOA related concepts. I have Jdeveloper 11.1.1.0.1, Oracle Weblogic server 10.3.2, Oracle

  • My lock button doesnt work is there another way to lock it?

    the lock button on the side stopped wotking what can i do to still be able to lock my phone

  • Windows 7 models for baseline configuration analyzer

    I'm trying to find models for windows 7 to use with the baseline configuration analyzer. I keep running across the following but it never says where these are available at. Could someone provide a link if possible? " Models are available as separatel

  • Composing new messages using smtp alias doesn't return results

    Greetings, Our setup: New Exchange 2013 server with an existing 2007 server.  Looking to move mailboxes to 2013.  When testing with iOS and Android devices we found when composing new messages and using an smtp alias and just typing each users initia

  • SPECIL GL H

    HI ALL, vendor special G/L Indicator H is not maintained in PRD and we have cheked in sand box clinet.Here its maintaining "H".BUT IN GOLDEN CLIENT ITS NOT MAINTAING WE HAVE CHEKED THROUFH FBKP AND OBYR.BUT ITS SHOWING IN THE TABLE,THEN WHAT WE NEED