2013 Custom Web Parts in Page Layouts not showing for users

Custom Web Parts in Page Layouts not showing for users
I have created a master page in the root site collection for a subsite I am developing. I created content types and custom page layouts for the pages within the subsite.
I used the snippet tool in the design manager to create web parts and page field markup which I copied into the custom layout HTML pages in the root site collection. For instance I have an image viewer web part that I place there to serve as a section title.
The problem is that I can see all these customer layout page parts no problem but my users cannot. This leads me to believe its permissions, I am site owner of both the subsite and root site collection.
The users that cannot see the web parts are site members of the site and restricted read users on the root site collection (where the layouts are stored).
What gives I'm finding it hard to understand why a snipet generated web part wouldn't show in all pages created from that layout page.
Any help would be appreciated, Havent found anything on this issue online. weird.

It is a permission issue indeed. Fix is simple, make sure you check out the page layout page, then check it back in as published version.
John Architect

Similar Messages

  • Access Exchange Service From SharePoint 2013 Custom Web part getting The request failed with HTTP status 401: Unauthorized.

    I want to Fill a drop down with Outlook Meeting of Current log-in user in SharePoint 2013 web part for default credentials I am using the following code
     ExchangeServiceBinding binding = new ExchangeServiceBinding();
                ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;
                binding.RequestServerVersionValue = new RequestServerVersion();
                binding.RequestServerVersionValue.Version = ExchangeVersionType.Exchange2010_SP2;
                binding.PreAuthenticate = true;
                binding.UseDefaultCredentials = true;
                binding.Credentials = CredentialCache.DefaultCredentials ; 
                string server = "https://*********/ews/Exchange.asmx";
                binding.Url = server;
    I Am Getting the Error "The request failed with HTTP status 401: Unauthorized."
    but when I Replace  the line  
    binding.Credentials = CredentialCache.DefaultCredentials ; 
     binding.Credentials = new NetworkCredential(userName, password, domain);
    Its run fine.  Is there any way I could able to use default credential.

    As this question is more relate to Exchange development, I suggest you post it to the corresponding forum, you will get more help and confirmed answers from there.
    Best regards
    Patrick Liang
    TechNet Community Support

  • SharePoint 2010 Site Web Analytics - Top Pages report not showing complete data

    I have a custom page in a team site which takes list ID as an argument and shows the relevant data e.g.
    ../Dashboards/View%20Briefing.aspx?BriefingID=1079 etc
    When i look at the Top Pages report under Site Web Analytics all i can see is data for:
    /dashboards/view briefing.aspx
    I need stats for individual list items i.e. how many time BreifingID 1078 was viewed etc. Is it possible to achieve this using OOTB reports or can i write a custom report to achieve this? If yes then how...
    Any help would be appreciated.

    You’re dynamically filtering content on a single page with values on the query string. Your users are still only hitting one page (View%20Briefing.aspx). Analytics only sees that 'View%20Briefing.aspx' is being hit; it won’t record stats for what’s specified
    on the query string.
    I expect you could pull this data out of your IIS logs using log parser. Some links on this subject:

  • Custom Auto Attendant Prompts through TUI not working for users who migrated from 2010 to 2013

    In Exchange 2010, we started using unified messaging and set up Auto Attendants. We setup a admin role/RBAC for people of a security group to be able to update the message on the auto attendants. They have the UMPrompts assigned role. All of this is working
    great in 2010. We have now migrated to 2013, and the users who were migrated from 2010 to 2013 can no longer update the messages through TUI. Newly created 2013 users can and are assigned the EXASCT same permission as the users who have been doing this for
    well over a year on 2010.  When they call the AA and press #,* they are asked to provide their extension, after doing so the system tells them that extension is not correct. and asks for the extension again.  Newly created users with the same permissions
    get prompted for their PIN and can log in and change the message just fine. 
    Confirmed Bug?  anybody else having this issue?
    What would be different for this process between a user who was migrated from a previous version like 2010 compared to a newer user who has only ever existed on 2013?

    What if the migrated 2010 users are in the same DB as the system mailbox? I had a similar issue during a migration; http://www.skypeadmin.com/2014/11/10/known-issue-um-automated-attendant-tui-editing-broken-migration/
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications
    This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • BEx Analyzer variable screen not showing for user

    I have a BEx query that shows the variable screen to enter the query parameters when I run the query but when the user runs it, he is not given the variable screen and therefore cannot enter the variables.  Both the user and myself are running the query in BEx Analyzer (Excel). 
    The user is new to BEx.  Is there perhaps some security or role setting that needs to be changed?  Something else?
    Thanks in advance for your help!

    Hi Paul,
    I am also facing exactly the same problem as you were facing. Could you please tell, whether your problem got solved? If yes, then would you please provide the solution for the same?
    Thanks in advance,

  • SharePoint 2013 SIP Address has no value in site collection for users

    I have SharePoint 2013 site collection and I gave access to particular user design access. When I check the user information i do not have any value of that users SIP field. In that domain I am having exchange mail server and LYNC 2010 server. Please help
    me on this issue.

    SIP value exist in AD.
    i check user profile service and edit for user, in that SIP value is exists.
    But when i go to Site Action - > site setting -> People and group
    then i am not able to find SIP value for the users.
    when i delete user from the site users and re-add user then SIP value is coming. but that's nit feasible because i have around 150 sites.
    Please give me solution or should i make the tool which will update user SIP value for all the sites?
    Coz of SIP value when i add site users web part then status is not showing for the user in the web parts.

  • Custom web parts in SharePoint 2013 becomes inactive when the session is idle for long time.

    We have a search center site with custom web parts and custom master pages. When the session is inactive for long time all the custom web parts in the page doesn't work, unless we close the browser and open it. Where as this is not the case with the
    OOB web parts. We are not able to identify the root cause as it works with OOB web parts and not the custom web parts.We were able to find that by increasing the session timeout of the web application we can avoid this issue.We do not want to increase the
    session timeout as the OOB web part works perfectly even when the user session is idle for long time.Is there any other alternative where we can acheive the same for custom web parts when the session is idle for long time?

    Hi Saranya,
    According to your descirption, my understanding is that when the session is long time idle ,then custom web part will not work.
    I suggest you check if you have enable the session in the Page Level in the web.config. By default SharePoint disable the session state.
    In the web.config, you will see <page enableSessionState> tag. You can modify like below and test if it works.
    <pages enableSessionState=”true” ….. />
    Here is a detailed thread for your reference:
    Use Session State in SharePoint
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • SharePoint 2013 RSS Viewer not loading when other Custom web part using Update Panel or Ajax Timer control

    SharePoint 2013 RSS
    Viewer web part failing to complete loading when the page loads.
    This happens when having RSS Viewer and then adding a Custom webpart with an updatepanel and timer control.
    I  had used Ajax update panel and timer control to load the web part asynchronously after the main page is fully loaded.
    The RSS-Viewer web part hangs in loading state while the custom webpart loads just fine.
    The issue occurs when an like button click or Timer Tick event fires after the page
    is loaded.
    Haven't been able to track the issue.
    Couple of workaround I tried to call a server side button click event from the custom web part after the page gets fully loaded using JQuery shown below did not work out either.
     $(document).ready(function () {
                $('#<%= netButton2.ClientID %>').click();
    document.onreadystatechange = function () {
                if (document.readyState == "complete") {
                    $('#<%= netButton2.ClientID %>').click();
    Please let me know how to resolve this issue.

    Hi Johan,
    The assignment of this user on the given task might be corrupted. Try to remove the resource from the task, publish the project, assign the resource again and publish again the project. If it is not working, try to unpublish the task (column "publish")
    and publih it again.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Create custom web-part page with OOTB page layout using CSOM (Javascript)

    I need to create a custom webpart page with a OOTB page layout (eg. Header 3 column footer) using JSOM.
    I found a link to do this using CSOM: http://spdevlab.com/2013/03/28/creating-wiki-web-part-and-publishing-pages-via-csom-in-sharepoint-2010/
    But here i have to copy the page template from 15 hive and store it in a resource file and I am also getting error as "The request message is too big" and to fix this I need to run a powershell script but I need the code to run in SharePoint online
    Isn't there a simpler piece of code in which I can enter the name of the page layout(OOTB/Custom) while creating a page in JSOM as we have in SSOM?
    Thanks for the help

    According to your post, my understanding is that you want to create a custom web part page layout template.
    There are some articles about how to create the custom web part page layout template, you can refer to them.
    Thanks & Regards,
    Jason Guo
    TechNet Community Support

  • SP 2013 - Use PowerShell to Add a Custom Web Part to a Page

    Hello Community,
    I need to add a custom web part to a page using PowerShell - has anyone done this and if so please provide guidance and code examples.
    Tom Molskow - Senior SharePoint Architect - Microsoft Community Contributor 2011 and 2012 Award -
    Linked-In - SharePoint Gypsy

    BTW, here is my current code:
    #$web= Get-SPWeb -Identity "http://c4968397007/sites/BRE"
    $Url = "http://c4968397007/sites/BRE"
    $pageUrl = "/SitePages/Home"
    $webpartzone = 2
    $index = 0
    $fileName = "wp_DistrictHomePage_VisualWebPart1.webpart"
    $web = Get-SPWeb $Url
     $webPartGallery = $web.Lists["Web Part Gallery"]
     Write-Host "Searching webpart $fileName in web part gallery"
      if($webPartGallery -eq $null)
       Write-Host("Unable to retrieve Webpartgallery");
     $webpart = $null;
     $webpart=$webPartGallery.Items | ? { $_.Title -eq $fileName}
      if($webpart -eq $null) {
       Write-Host("Unable to retrieve webpart: $fileName") -ForegroundColor Red
     else {
      Write-Host("----------Adding Webpart--------")-ForegroundColor Yellow
      $webpartmanager=$web.GetLimitedWebPartManager($pageUrl, [System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared)
      $errorMsg = "";
      $xmlReader = New-Object System.Xml.XmlTextReader($webpart.File.OpenBinaryStream());
      $webpart = $webpartmanager.ImportWebPart($xmlReader,[ref]"Error")
      $webpartmanager.AddWebPart($webpart, $webpartzone, $index);
      Write-Host("Webpart is added successfully") -ForegroundColor Green ;
    $SiteURL =$Url
    #---------------Test Page----------------------------
    $page=$web.lists["Pages"].Items | ? {$_.Name -eq $PageName}
    Add-WebPartToPage "$SiteURL/Pages/$PageName" "Header" 0 "My Custom WebPart"
    $page.File.CheckIn("Added Web part to a page");
    $page.File.Approve("Added Web part to a page");
    Tom Molskow - Senior SharePoint Architect - Microsoft Community Contributor 2011 and 2012 Award -
    Linked-In - SharePoint Gypsy

  • How to fix javascript error/bug on custom web part of SharePoint 2013

    I have a custom web part with serveral business fields. This web part is installed on DispForm, EditForm an NewForm.
    But, I click on Attach File button and a javascrit error is throw on my browser's status bar.
    Line: 5279
    Character: 5
    Code: 0
    URI: http://mysite:4000/_layouts/15/form.debug.js?rev=vyMg8qjZfJ8La1jn7bQ2cg%3D%3D
    How to solve this problem? I think it is a javascript conflict
    Tarcísio Corte [email protected]

    1. You can create a simple demo web part without your custom code firstly, then insert it into your form pages to see if the similar issue would occur. If it works, then add your
    other code into it one after one. By doing this, it will be easier to find out the root cause of this issue.
    2. What browser do you use? Please try to use IE 10(SharePoint 2013), IE8(SharePoint2010).
    3. You can also debug your code using IE F12 Developer Tools.
    If the issue still exists, I can suggest you provide more information for further research.
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM.

    How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM. I found that it can be
    done by using XsltListViewWebPart class but how can I use this one by using shraepoint client api.

    Nice, can you point me to the solution please ?
    I'm  trying to do this but I get an error : 
    Web Part Error: Cannot complete this action. Please try again. Correlation ID: blablabla
    StackTrace:    at Microsoft.SharePoint.SPViewCollection.EnsureViewSchema(Boolean fullBlownSchema, Boolean bNeedInitallViews)     at Microsoft.SharePoint.SPList.GetView(Guid viewGuid)   
    All help really appreciated.

  • How to enable a custom web part class file to be refreshed at regular interval of time, without affecting the entire page where its placed.

    I am calling a web service in the web part class file where it gets the data. I need to call the service at regular intervals of time which is in the web part, is there a way to get the web part refreshed automatically at certain intervals of time.

    You can use Ajax for automatic refreshing.
    Add a timer control into an Ajax Update panel within your custom web part and execute your code to refresh the field values within the Timer_Tick() event.
    You can also control the timer interval to 10 minutes or so using the Timer.Interval property.
    This will always enable your page to remain with only the web parts getting refreshed.
    I just found
    a blog post which describes this in detail with screenshots.

  • SharePoint 2013 Visual Web Part Custom Property.

     How to create drop down control to display existing libraries in current web site using a custom web part property?i want to show this control on web part configuration.then users can select the relevant library without typing.(SharePoint
    2013 Visual Web Part).

    This has been answered for SP 2010 at SP:SO. Things wont change much in SP 2013 as far as VWP is concerned. Basically you will need to implement Custom Web Part Editor.
    Here is an example.

  • Best Practices in SharePoint 2010 ( Out of the box feature vs Custom Web Part, development )

    How do we differentiate on when to allow custom web parts and when to use out of the box.
    What are the performance issues involved when we deploy a custom web part into the SharePoint server. 
    Why do some companies prefer to allow only out of the box features, and no custom work is done?

    SharePoint is a powerful, flexible server product that can provide a wealth collaboration environment right out of box.
    Best answer for your question is depend upon your requirement. Sometime Out of Box features will solve all the problem with little designing. But sometime your requirement need a Custom Web part / solution.
    With OOTB implementation the big advantage is easy to trouble shoot & fix the issues. You will also found tons of blogs on internet for OOTB features. In custom development, its hard to troubleshoot & identifying whether its SharePoint issue or Custom
    code issue.
    check the below article for more ideas.
    Master List of SharePoint 2010 On-Premises Custom Development Best Practices
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

Maybe you are looking for

  • I've lost my photo library and iPhoto pictures & i want to get them back

    i deleted photobooth & iphoto from my pictures folder. now when i open photo booth & iphoto it says it cannot locate my photo library and i have no pictures. i want my pics back help!

  • Filtering Behaviour

    Dear All,   Can anyone tell me that how the filtering function behave at the backend. ie: After executing a query and past the seleciton screen, if I set more restrictions on the free characteristics from the list screen, does BW re-fecth data from t

  • Setting the time to UTC?

    Okay my local time is 1 hour behind. My UTC time is correct. In /etc/rc.conf iI have "HARDWARECLOCK="UTC" but everywhere the time is displayed its in local time? Is there a way to set the time to UTC system wide?

  • Javac wanted

    Hi I have del my java 1.3, which then i install java 1.3.1 but when i set the path and everything else i can't find the javac in the java folder?????? . I thought that the javac.exe comes with the installation file but for some reson it was not there

  • After Effects CS6 update to CC

    My Adobe Application Manager says my After Effects CS6 is Up to date. What do I need to do to update to the version that comes with Cinema 4D Lite?