Trying to add my own contentplaceholder in sharepoint 2013 masterpage

hi all,
I'm new in sharepoint 2013.I'm trying to add my own contentplaceholder in sharepoint 2013 masterpage( near search textbox).  like <asp:ContentPlaceHolder ID="PlaceHolderMain" runat="server"></asp:ContentPlaceHolder> and
 <asp:Content runat="server" ContentPlaceHolderID="PlaceHolderTopMenu1">   </asp:Content> in my layout. but its not working, nothing is rendered when i refresh my page. I also tried  to add code generated
by snippet galary and put it into html page. That also did not work. can you please help me how to add my own contentplaceholder in sharepoint 2013 masterpage.

Thanks a lot for your response Jason, it looks like the proper way to add the Custom place holder to the top header section of the master page.
So that you know, I have created the master page by converting an HTML file in SharePoint 2013 design manager. Following the links, added following two block of code in the master page:
Following code between<mso:CustomDocumentProperties> tag of master page:
<mso:ContentPlaceHolderHashPlaceHolderTopMenu1 msdt:dt="string">87884212</mso:ContentPlaceHolderHashPlaceHolderTopMenu1>
and in body part:
<div class="container">
               <!--CS: Start PlaceHolderTopMenu1 Snippet-->
                <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
                <!--MS:<SharePoint:AjaxDelta ID="DeltaPlaceHolderTopMenu1" IsMainContent="true" runat="server">-->
                <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderTopMenu1" runat="server">-->
                  master page content
                <!--ME:</asp:ContentPlaceHolder>-->
                <!--ME:</SharePoint:AjaxDelta>-->
                <!--CE: End PlaceHolderTopMenu1 Snippet-->
</div>
And added the following code in layout page using that  layout page.
Following code between<mso:CustomDocumentProperties> tag of layout page:
<mso:ContentPlaceHolderHashPlaceHolderTopMenu1 msdt:dt="string">87884212</mso:ContentPlaceHolderHashPlaceHolderTopMenu1>
and  in  body part
 <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderTopMenu1" runat="server">-->
         <div> Layout content </div>
         <!--ME:</asp:ContentPlaceHolder>-->
Unfortunately, the page created from the master page, is not adding any placeholder beside the search control.
Any idea what I am doing wrong?
Thanks again for your response in advance.

Similar Messages

  • Bought a looping background and trying to add my own flash on top.

    Trying to design a church flash animation, and so far.. cussing ( shh dont tell ) isn't getting it done.  I have tried different layers, etc... same layer... I only know enough flash to get myself into trouble and have no flash capable friends. (( I need some! ))
    I bought a looping background and am wanting to create my own flash on  top of it.  I have tried separate layers, same layer etc... It shows when I move the playhead and when I click play.. but when I test the movie, only the background and the music shows.. can anyone explain what Im doing wrong?
    Thank you so much!!
    Yvette

    Hi Sam Ibrahim,
    Welcome to the Apple Support Communities!
    If you have already paid for an application from the Mac App Store on one computer, you will need to sign in on the second computer to be able to download it for free from Purchases. Please use the attached article as a reference.
    Mac App Store: Buy, download, and install apps
    http://support.apple.com/kb/PH11493
    Download purchased apps on all your Mac computers
    To automatically download apps when you sign in to your account in App Store on other Mac computers, choose Store > Auto Download Purchases from Other Macs.
    To manually install purchased apps, sign in to your account in App Store, click Purchases, and then install apps.
    To use copied apps, open the copied app and sign in using the Apple ID you used to purchase the app.
    Have a great day,
    Joe

  • Using a MacBookPro-trying to add my own captioning.  need help!

    I've been able to figure out how to add closed captioning - have enabled to see Closed captioning but it's not showing up on the preview screen.  It WAS but now it's not.  what have I done wrong?

    A screenshot might help diagnose the problem. Please make sure all of the following are visible:
    the caption track in the timeline, expanded to show the caption blocks.
    the Captions panel
    the Program Monitor, ideally with the Closed Captions button displayed.
    the Closed Captioning Display Settings dialog

  • How would you troubleshoot this? Sharepoint 2013 - masterpage loses all styles on preview and publish

    Here is what happened.
    I had a fully functioning masterpage
    I copy the 'html' masterpage by using 'copy and paste'
    When I preview this masterpage, this is what I see:
    It looks as though somehow all of the styling has been stripped out. The content for the most part is still there.
    I tried:
    relinking the stylesheets and still having a problem
    Can anyone suggest how to troubleshoot this? Could it possibly be an ASP.NET conflict? I know that on any given masterpage a webpart ID cannot be duplicated and generally other IDs should also not be duplicated.

    Hi,
    According to your post, my understanding is that you had an issue about the Master page.
    What did you mean “copy the ‘html’ master page by using ‘copy and paste’”?
    Did you mean you copy and paste the html master page in SharePoint Designer?
    If so, you can preview the default html master to check whether it works.
    Then you can copy a new html master page, then write your own function step by step to check whether it works.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • I can't add my own firefox extension.

    I'm trying to add my own FF-extension, but each time after step 2 (where u need to add extesnion.xpi) i'm getting error page. After that, if i will try to add same extension i'm getting error with UUID.
    Tried to do this several times. Help me pls.

    hi KOCMOHABT, if this is about an addon that you've developed yourself, tehn it will probably be better to ask this in the mozilla addons forum: https://forums.mozilla.org/addons/index.php

  • Content Cannot Be Displayed in a Frame When Trying to Add Item

    We have a user that is trying to add an item to a SharePoint Calendar.  She using using IE9 browser in IE9 compatibility mode.  When she selects a date then clicks on "add item", the dialog box pops up, but it displays "The Content
    cannot be displayed in a frame".  When I try adding and item it works fine for me. 
    I'm at a loss on this one.  Has anyone experienced this or know what is going on?
    Thanks

    To resolve this issue, follow these steps:
    Click Start, click Control
    Panel, and then click Internet Options.
    Note Make sure that you view Control Panel by
    using either small icons or large icons.
    Click the Security tab, click Trusted
    sites, and then click Sites.
    Enter your SharePoint Url, click Add,
    then click Close.
    Make sure that the Enable Protected Mode check
    box isn't selected.
    Close all web browsers, and then try again with a new session.
    Ibrahim Sukari, Technical Consultant | SharePoint | Dynamics CRM |
    LinkedIn Profile

  • To add new file type in SharePoint

    Hi,
    I am trying to add new file type for sharepoint site like MSWord, PDF etc.,
    Are there any ways to create new file types in SharePoint? My requirement is to create a file type for AutoCAD drawings (.dwg format).
    Please note, we are using SharePoint 2007 version!
    Thanks

    Browse to the Central Admin site
    Select the Operations tab
    Under the Security Configuration section, click the link for
    Blocked file types
    Select the Web Application that you would like to modify from the drop down list
    Each blocked file extension displayed in the list is blocked by SharePoint.  To enable the blocked file extension, simply remove it from the list.
    Check with your type and if its there unblock it.
    Regards, Dharnendra Shah "strong belief is the only way to success"

  • Can't add my own artwork

    OK, I am trying to add my own custom artwork for albums done by my son. I select all the songs on the album, Select get info, then double-click on the blank artwork square --- which does bring up My Pictures on my computer. I then select the picture I want and it does open up the the previously blank artwork square. I hit OK and ------ nothing happens. My son's album still does not have any artwork. Can someone help me?
    Thanks,
    Bill

    How I usually do it is drag it from wherever I found it into the little box in the corner that says "drag album artwork here". then it automatically attaches the artwork. i usually have 500x500 sized images, or at the very least 300x300.
    hope that helps.

  • SharePoint 2013 and IE 11 issue - While creating a Web Part Page and Editing Web Part Properties

    I tried to edit a Web Part in SharePoint 2013 using IE 11 but I did not see the Edit Eeb Part dropdown menu at the top-right corner of the web part. Then I tried to create a Web Part page and I get the following error.
    Cannot create a Web Part Page with the current browser. Browsers that support the creation of Web Part Pages include Microsoft Internet Explorer 7.0 or later, Mozilla Firefox 3.0 or later, and Apple Safari 3.0 or later
    Strange !!! My web browser is IE 11.
    I tried the above two tasks in Google Chrome and worked fine.
    Solution:
    I added the site url to local intranet zone in IE 11 and I am now able to add Web Part Page and Edit Web Part in IE 11.
    imd.net

    Hi - One more solution is to add SharePoint site to compatibility group:
    http://blog.fpweb.net/sharepoint-internet-explorer-compatibility-issues-with-video/#.VAaZSPmSyy4
    -prs

  • SQL Svr 2012 / SharePoint 2013 "Install-SPRSService is not recognized..."

    Greetings --
    I'm having a heck of a time trying to get Reporting Services integrated with SharePoint 2013.  The end result is that no matter what I try, I keep getting the "The term 'Install-SPRSService' is not recognized as the name of a cmdlet" error
    which thereby prevents me from finalizing the integration with SP 2013.
    Following is a description of my lab + the steps I've followed to try to resolve:
    In a virtual environment with 3 machines, I have one set as the Domain Controller, one with SQL Server 2012 installed (no reporting services), one with SharePoint Server 2013.
    The domain is working fine... no problems there.  SQL Server 2012 is working fine... I can connect to it locally and remotely, execute commands, etc.
    On the SharePoint 2013 machine, I have tried two ways... 1) install SharePoint 2013 first, then install SQL Server requirements... 2) install SQL Server requirements first, then SharePoint 2013.
    In both methods, I am installing both "Reporting Services - SharePoint" and "Reporting Services Add-in for SharePoint Products" on the same machine as SharePoint Server 2013.
    My understanding was that when SP is installed first, the SQL Server installation should auto-register the necessary components (meaning running Install-SPRSService and ServiceProxy are not required). However, in this scenario, this doesn't appear to
    have happened.  The service does not appear at all within SharePoint.  Attempting to run "Install-SPRSService" fails with the "not recognized" error.
    In the second scenario (Installing SQL Server components first, then SharePoint second), it is my understanding that the "Install-SPRSService and Install-SPRSServiceProxy" must be run manually. With both SQL Server components and SharePoint 2013
    successfully installed, running "Install-SPRSService" fails with the "not recognized" error.
    I would also like to point out that I am executing the Install command from the "SharePoint 2013 Mangement Shell" (right clicking and running as Administrator). 
    Any suggestions or nuggets-of-wisdom would be GREATLY appreciated!

    Hi,
    I had the same issue when installing SSRS in SharePoint integrated mode. I had SharePoint management Shell opened, installed SQL binaries and then tried to run command Install-SPRSService
    and Install-SPRSServiceProxy. I got the same errors.
    But then I thought, if assemblies for SharePoint are loaded when Management Shell is opened, the assemblies were not
    there when I opened PowerShell. So I just closed Management Shell, opened it again and everything worked as expected.
    Hope it helps
    Robi MCT Kompas Xnet d.o.o. Ljubljana | blog: http://xblogs.kompas-xnet.si | website: http://www.kompas-xnet.si
    Slovenia
    Please vote if you find reply useful or mark it as answer.
    Thank you

  • Displaying a webpage in SharePoint 2013

    Hello,
     I am trying to display a webpage within our SharePoint 2013 site. I added the Page viewer web part, but it doesn't fit the window so I need to use the scroll bars on the side and bottom.
    I came across this following post
    http://aryannava.com/2011/05/05/resize-sharepoint-20072010-pageviewer-webpart-height/
    and I tried to do it this way, but it makes the window really small. I am not sure what I am doing wrong here.

    Hi,
    We can apply custom CSS code to the current page which contains the Page Viewer Web Part to make the content of the Page Viewer Web Part smaller, then we will not have to use
    the scroll bar.
    With “transform: scale(0.5)” property, we can zoom in the content of the Page Viewer Web Part like this:
    You can add the CSS code like this in a Content Editor Web Part:
    <style type=”text/css”>
    #s4-bodyContainer
    transform: scale(0.5);
    </style>
    Feel free to reply if there are still any questions.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • AJAX TabContainer in SharePoint 2013

    I am trying to implement AJAXToolkit Tabcontainer control in SharePoint 2013 inside a web part.I have done the following.
    1.Put AjaxControlToolkit in GAC
    2.Added entry for it in web.config
    I am facing the following issues.
    1.The control does not show up on the page.On doing F12, I see that the visibility is set to hidden even though I explicitly set it to true in the code.
    2.The tabs do not change on click.
    Please help.

    Hi,
    According to your post, my understanding is that the AJAXToolkit Tabcontainer control does not show up on the page.
    Please make sure you use the control correctly.There is an article for your reference, although it is about the SharePoint 2010, it is similar to SharePoint 2013.
    http://ranaictiu-technicalblog.blogspot.com/2010/08/ajax-control-toolkit-with-sharepoint.html
    In addition, please make sure you download the new version, add a reference in the <assemblies> section of the web.config file and add the following line into the .ascx user control file: 
    <%@
    Register Assembly=”AjaxControlToolkit”
    Namespace=”AjaxControlToolkit”
    TagPrefix=”asp” %> 
    Here is a similar thread for your reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/51d4a039-5a77-450a-9d38-f8bd9e08e7c7/ajaxtoolkittabcontainer-not-working-in-webpart-page
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Unable to change and re-publish existing InfoPath forms on External SharePoint lists (SharePoint 2013 Enterprise Online and On Premise)

    Hi everybody,
    I really reached the limit of my diagnostic ability... ...please help me!!!!
    I subscribed an Online Sharepoint 2013 Development site to try Business Connectivity Services and InfoPath forms. Using SharePoint Designer 2013 I successfully created an external content type
    and an external list, including InfoPath forms.
    When I use InfoPath Designer 2013 to customize the forms I can open and change them without any problems, but when I try to publish the changes I made I get the following error:
    "An error has occurred. The form template has been published to the server but it can only be opened using InfoPath filler"
    (please note that I changed just an existing label, without adding any new control or new fields).
    If I try to do exactly the same things but with an normal SharePoint list everything works like a charm!
    I noted that the main difference between the internal/external list is that with the internal list the publishing path in InfoPath 2013 is something like:
    https://<sharepointsite>/lists/<listname>
     whereas for the external list is something like the following:
     https://<sharepointsite>/lists/<listname>/item/template.xsn
    Trying to overcome the problem I installed SharePoint 2013 Enterprise on premise using the VM from the Windows Azure Gallery. In this case the error I get when I try to publish with InfoPath
    Designer 2013 is the following:
     The following URL is not valid:
    http://<sharepointsite>/lists/<listname>/item/template.xsn
    and of course everything works fine with InfoPath Designer 2013 and regular SharePoint lists.
    Even if I believe the problem is in general with external list and InfoPath, my external list is based on a the "Product" table from the "AdventureWorks2012" sample database
    installed on SQL Azure and connected to SharePoint via Business Connectivity Services.
    A big
    thanks in advance to anyone who is able to
    provide useful information to solve the problem!!!
    Regards,
    Fabio

    Hi Folks,
    Same issue here for any external list. We've migrated from 2010 to 2013 - it used to be fine on 2010. 2013 seems hang after 'getting site column information' then nothing. All effected users can quick publish to regular sharepoint lists, but cannot to external
    lists.
    In our situation we are trying to quick publish to sites using the 2010 look and feel in a 2013 environment. using SharePoint Designer 2013 and InfoPath 2013.
    Rich
    Rich Burdes

  • Export and import a list in sharepoint 2013

    Hi Team,
    I have an share point 2013 application which is an input wizard that allows user to enter some employe information and after user submits the same. these records are stored in form of sharepoint list.
    as part of load testing , I need to create this list with more than 100 records. i can use coded ui to enter information and create records, but this will take good amount of time.
    is there any way i can import the list to an excel and then add my test records using some  c# code and then import back the excel to share point list.
    Can any one help in this regard.
    Thanks,

    Hi,
    There are many options we can select to import the excel file to SharePoint list.
    First option,  you can use the “Export to Excel” option to export the list items to a excel file, create records in the excel, then save the file to local machine.
    Now, you can use the “ Export Table to SharePoint List” option under the DESIGN table tool in the Excel to export the file to a new list in the SharePoint.
    You can also use Excel 2007 Add-in(it works in SharePoint 2013) to achieve the same function.
    http://msdn.microsoft.com/en-us/library/bb462636%28v=office.11%29.aspx
    In SharePoint, we can also use the Import Spreadsheet app to import the Excel file to a new SharePoint list.
    Site Content->add an app->Import Spreadsheet
    What’s more, you can also use the SPImporter tool to import data to SharePoint.
    https://spimporter.codeplex.com/
    You can also import the Excel data to SharePoint list programmatically.
    http://ravimaloth.blogspot.com/2013/06/upload-excel-data-into-sharepoint.html
    http://social.technet.microsoft.com/wiki/contents/articles/18830.sharepoint-2010-import-data-from-excel-into-a-list-using-powershell.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • VS 2012 cannot open SharePoint 2013 site

    Hi,
    I am using SP 2013, VS 2012.
    I am trying to create a new project - selected SharePoint 2013 Visual webpart project. In the site to connect, I added a site (which I am site collection Administrator) , and selected "Deploy as Farm solution". I added a visual web part in the solution
    when I run the solution the solution successfully build and then open browser(Google Chrome) , the browser asks user name and password for the site I give user name and password but site is not open, it is loading but sometimes it loads in 10 to 15 mins. On
    the other hand when I deploy the solution (right click on the solution and deploy ) the web part is deploy in the gallery and successfully placed on the site but the main problem is that when I run the solution in VS 2012 it cannot open the site.
    How to fix this?
    Thanks

    Hi,                                                             
    Based on your description, you have deployed the solution to your site successfully, however, there is an issue of opening browser through Visual Studio.
    What version of IE you use?
    What if you set your site as trusted site in IE, will the issue still occurs?
    Feel free to reply with the test result.  
    Best regards
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • CS4 Master Collection Installation Fails

    I have tried several times over the last 2 days to install the CS4 Master Collection from the 30-day trial DVDs. However, it has failed every time I have tried with the folowing message: "Error 1603. Fatal error during installation." I have used the

  • Mass update of matl master

    Hi Gurus, For around 2000 material we need to step-up a ABC value indicator in MRP1/plant 0910 of Material Master. We have issues when doing with MM17. Want some sugestions.... If we use LSMW how to proceed?

  • Is it possible to connect MBP as a external disply from macbook air

    I have both a macbook pro and air, my MBP is 15" and air 11" i was wondering if its possible to use my MBP 15" as a external displly like "another/ seperate" monitor i thought of two ways of possibly connecting them. 1, buying a thunderbolt cable and

  • SAP with Barcode Technology

    Hi, My requirement is, Once I created the Packing material it has to be tracked or traced until the supply completes. For example goods movements inside the warehouse need to be traced in the SAP also supply van need to be traced. Laxman

  • Error 6 in function module RSS_PROGRAM_GENERATE

    Hi friends, While testing the extraction of a hierarchy data source (0CMMT_ITEM_FMCI_PU_HIER) from RSA3, I encountered the above error. I looked into some notes and it was not of much help for me. Please let me know if someone have come across this e