How to create custom content placeholder in sharepoint 2013

Hi, I would like to create custom content placeholder don't know how to and add to my custom master page in sharepoint 2013. I have no luck searching on how to create custom content placeholder, any help?
Thanks,
Johnweb

Hi,
If you’re not fixed your requirement with the Out of the box SharePoint place holders, you can create as many as you want as long as the ID doesn’t conflict. On the master page add the content place holder 
<asp:ContentPlaceHolderid="CustomName" runat="server"></asp:ContentPlaceHolder> and add this to your page layout
<asp:Contentrunat="server" ContentPlaceHolderID="CustomName"></asp:Content>.
I suggest you provide your basic requirement for further research.
If you want to customize a master page, the Rajendra's method would be helpful.
Best Regards,
Dennis Guo
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

  • How to create Custom error message in SharePoint 2013

    Hi,
    I have created one document library.On uploading the same file SharePoint throws error as"server error.The same file exit".
    But my requirement is not to show the SharePoint default message.I wanted to create custom message and show the pop up for the same file upload.
    Is there any way to create any custom error page or can I manipulate SharePoint default error page?
    Any help?
    Thank you

    Hi,
    You can create an event receiver to set the validation error messages.  One such post to redirect the custom error page is as follows
    https://social.msdn.microsoft.com/Forums/office/en-US/2bc851f6-e04b-4550-b87f-9b874a290482/sharepoint-event-receivers-and-custom-error-messages?forum=sharepointdevelopmentlegacy
    Create custom error page for SharePoint event receiver
    Please mark it answered, if your problem resolved or helpful.

  • How to Create Custom Content Type with 100 site columns ?

    Hi EveryOne,
    i have one requirement to create custom conten types in sharepoint 2013 as follows.
    1. Create a content type with 100 site columns ( in this 100 site columns includes 10 mms feilds and 10 lookup fields).
    2.when we deploy the content type in other server if already the same content type existing in the server it should be upgrade the existing content type.
    Please advise how do develop the solution ( using power shell script or visual studio with event receiver or xml file)
    Regards,
    Srinivas

    Try below:
    http://www.mindfiresolutions.com/Add-Columns--Fields-Programmatically-to-a-SharePoint-List-282.php
    using(SPSite
    oSPsite = new SPSite("http://Web-URL"))
        oSPsite.AllowUnsafeUpdates =
    true;
    using (SPWeb oSPWeb = oSPsite.OpenWeb())
            oSPWeb.AllowUnsafeUpdates =
    true;
    /* get the SPList object by list name*/
    SPList lst = oSPWeb.Lists["EmpList"];
    /* create a Numeric field for EmpID */
    SPFieldNumber fldEmpID = (SPFieldNumber)lst.Fields.CreateNewField(
    SPFieldType.Number.ToString(),
    "EmpID");
            fldEmpID.Required =
    true;
            fldEmpID.DisplayFormat =
    SPNumberFormatTypes.NoDecimal;
    /* create a Text field for Name */
            SPFieldText fldName = (SPFieldText)lst.Fields.CreateNewField(
    SPFieldType.Text.ToString(),
    "Name");
            fldName.Required =
    true;
            fldName.MaxLength = 50;
    /* create a Date field for Dob*/
    SPFieldDateTime fldDob = (SPFieldDateTime)lst.Fields.CreateNewField(
    SPFieldType.DateTime.ToString(),
    "Dob");
            fldDob.DisplayFormat =
    SPDateTimeFieldFormatType.DateOnly;
    /* create a Currency field for Salary */
            SPFieldCurrency fldSal = (SPFieldCurrency)lst.Fields.CreateNewField(
    SPFieldType.Currency.ToString(),
    "Salary");
            fldSal.Currency =
    SPCurrencyFieldFormats.UnitedStates;
            fldSal.DisplayFormat =
    SPNumberFormatTypes.TwoDecimals;
    /* add the new fields to the list */
            lst.Fields.Add(fldEmpID);
            lst.Fields.Add(fldName);
            lst.Fields.Add(fldDob);
            lst.Fields.Add(fldSal);
    /* finally update list */
            lst.Update();
            oSPWeb.AllowUnsafeUpdates =
    false;
        oSPsite.AllowUnsafeUpdates =
    false;
    If this helped you resolve your issue, please mark it Answered

  • How to create external content type in sharepoint for salesforce account

    Can anybody help me on How to create external content type in sharepoint for salesforce account.
    I wanto upload documents to a document library which should sync with accounts in saleforce.
    thanks in advance

    Hi,
    The following materials would be helpful:
    Tutorial: Access Salesforce Leads in SharePoint through an External List
    http://geekswithblogs.net/dataintegration/archive/2014/02/03/tutorial-access-salesforce-leads-in-sharepoint-through-an-external-list.aspx
    Salesforce SharePoint Integration – Best Practices
    http://rainforce.walkme.com/salesforce-sharepoint-integration-best-practices/#.VFxra3mKAeE
    If you want to upload documents to SharePoint document library from the Saleforce, we can also customize your own web service using SharePont .Net Client Object Model or REST to achieve it.
    Best Regards 
    Dennis Guo
    TechNet Community Support

  • How to Implement custom share functionality in SharePoint 2013 document Lib programmatically?

    Hi,
    I have created custom action for Share functionality in document library.
    On Share action i'm showing Model pop up with Share form with addition functionality.
    I am developing custom share functionality because there is some addition functionality related to this.
    How to Implement custom share functionality in SharePoint 2013  document Lib pro-grammatically?
    Regards,
    - Siddhehswar

    Hi Siddhehswar:
    I would suggest that you use the
    Ribbon. Because this is a flexible way for SharePoint. In my project experience, I always suggest my customers to use it. In the feature, if my customers have customization about permission then i can accomplish this as soon
    as possible. Simple put, I utilize this perfect mechanism to resolve our complex project requirement. Maybe we customize Upload/ Edit/ Modify/ Barcode/ Send mail etc... For example:
    We customize <Edit> Ribbon. As shown below.
    When user click <Edit Item>, the system will
    render customized pop up window.
    Will

  • How to create a Document Set in SharePoint 2013 using JavaScript Client Side Object Model (JSOM)?

    Hi,
    The requirement is to create ""Document Sets in Bulk" using JSOM. I am using the following posts:-
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1904cddb-850c-4425-8205-998bfaad07d7/create-document-set-using-ecma-script
    But, when I am executing the code, I am getting error "Cannot read property 'DocumentSet' of undefined "..Please find
    below my code. I am using Content editor web part and attached my JS file with that :-
    <div>
    <label>Enter the DocumentSet Name <input type="text" id="txtGetDocumentSetName" name="DocumentSetname"/> </label> </br>
    <input type="button" id="btncreate" name="bcreateDocumentSet" value="Create Document Set" onclick="javascript:CreateDocumentSet()"/>
    </div>
    <script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"> </script>
    <script type="text/javascript">
       SP.SOD.executeFunc('sp.js','SP.ClientContext','SP.DocumentSet','SP.DocumentManagement.js',CreateDocumentSet);
    // This function is called on click of the “Create Document Set” button. 
    var ctx;
    var parentFolder;
    var newDocSetName;
    var docsetContentType;
    function CreateDocumentSet() {
        alert("In ClientContext");
        var ctx = SP.ClientContext.get_current(); 
        newDocSetName = $('#txtGetDocumentSetName').val(); 
        var docSetContentTypeID = "0x0120D520";
        alert("docSetContentTypeID:=" + docSetContentTypeID);
        var web = ctx.get_web(); 
        var list = web.get_lists().getByTitle('Current Documents'); 
        ctx.load(list);
        alert("List Loaded !!");
        parentFolder = list.get_rootFolder(); 
        ctx.load(parentFolder);
        docsetContentType = web.get_contentTypes().getById(docSetContentTypeID); 
        ctx.load(docsetContentType);
        alert("docsetContentType Loaded !!");
        ctx.executeQueryAsync(onRequestSuccess, onRequestFail);
    function onRequestSuccess() {       
        alert("In Success");
        SP.DocumentSet.DocumentSet.create(ctx, parentFolder, newDocSetName, docsetContentType.get_id());
        alert('Document Set creation successful');
    // This function runs if the executeQueryAsync call fails.
    function onRequestFail(sender, args) {
        alert("Document Set creation failed" + + args.get_message());
    Please help !!
    Vipul Jain

    Hello,
    I have already tried your solution, however in that case I get the error - "UncaughtSys.ArgumentNullException: Sys.ArgumentNullException:
    Value cannot be null.Parameter name: context"...
    Also, I tried removing SP.SOD.executeFunc
    from my code, but no success :(
    Kindly suggest !!!
    Vipul Jain

  • How to create a quarterly view in SharePoint 2013

    How do you create a 3 month view in SharePoint 2013, preferably without adding code?

    Hi 
    you can create two additional calculated column to do.
    http://blog.pentalogic.net/2009/11/howto-filter-items-current-calendar-month-view-sharepoint/
    http://iwillsharemypoint.blogspot.in/2012/03/sharepoint-list-view-of-current-month.html
    Rajendra Singh
    Walking on water and developing software from a specification are easy if both are frozen
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to create Ticket Booking Functionality in SharePoint 2013 App?

    We have created a Ticket Booking site in Asp.Net.
    In that in Ticket Booking page user can book the ticket and the booked seats will be stored in the database. If there are any booked seats it will be disabled for the user and from other user can book tickets.
    Took reference from this site:
    http://techbrij.com/online-ticket-booking-system-asp-net-sql-server
    Now I want to do same functionality using SharePoint 2013 App Part with SharePoint Hosted App.
    I don't know how to start
    Anybody having Idea.
    Thanks in Advance.

    Hi,
    According to your post, my understanding is that you want to create a Ticket Booking solution as SharePoint Hosted App.
    To build the similar solution in SharePoint, I would suggest you take a look at the links below about how to create ShrePoint Hosted App for a quick start:
    Create Host App:
    How to: Create a basic SharePoint-hosted app
    Create App Part:
    How to: Create app parts to install with your app for SharePoint
    Then for the data storage, here is a documentation will provide more information:
    App data storage:
    Data storage options in apps for SharePoint
    For the responsive UI, HTML plus JavaScript would be OK.
    Feel free to reply if there are still any questions.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to create column for attachment in SharePoint 2013 Document Library.

    I've created document Library where user can upload the file while click on Upload option (OOTB).
    Now in this Library I want to create one more column where user can put some comment and attach one more file for reference. 
    For comment I can create "Single line of text" type calumn where user can put some comment but for attachment not sure which type of column I have to create.
    Want to know is there OOTB feature/column available which I can use to Add / create a one more column to upload a document for reference.

    Hi,
    For issue 1, please refer 
    To manage the permissions for a Document Set, you must have at least the Design or Full Control permission level.
    On the Welcome Page for the Document Set, click the Manage tab of the Document Set ribbon, and then click Permissions.
    Do one of the following:
    To change the permission settings for the document library itself, click Manage Parent.
    To stop inheriting permissions from the document library and create unique permissions for this Document Set individually, click Stop Inheriting Permissions.
    To view the specific permissions an individual has, click Check Permissions, and then type the name of the user or group you want to check.
    To inherit permissions from the parent document library (if the Document Set was previously configured to stop inheriting them) click Inherit Permissions.
    For more information about working with permissions, see the links under See Also.
    https://support.office.com/en-in/article/Create-and-manage-Document-Sets-c71d5796-d559-48de-b1b3-42383bdd13ea?ui=en-US&rs=en-IN&ad=IN
    For Issue 2:
    You can create a link in the Quick Launch bar
    http://support.sherweb.com/Faqs/Show/how-to-add-a-link-to-the-quick-launch-toolbar-in-sharepoint-sharepoint-2013
    Please don't forget to mark it answered, if your problem resolved or helpful.

  • How to create Search Service Application in SharePoint 2013

    When I am Creating Search Service Application through SharePoint Central Administration I am getting the error:
    Path of how I created It:
    Central Administration->Application Management->Manage Service Applications
    Here Click on New and Select Search Service Application
    How Should I create new search service application?
    As I want to create crawled Property and manage property for Search Center in SharePoint On Premises.

    Hi darsh,
    For creating a new search service application, you can refer to the blog:
    http://technet.microsoft.com/en-us/library/gg502597.aspx
    http://blogs.technet.com/b/praveenh/archive/2013/02/07/create-a-new-search-service-application-in-sharepoint-2013-using-powershell.aspx
    http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=378  
    For your issue , please refer to the article:
    http://praveensharepointknowledgebase.wordpress.com/2012/05/29/error-while-creating-search-service-application/ 
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to create own site template in sharepoint 2013?

    Hi All,
    How to create a new site template  in SharePoint 2013? Any suggestion please.

    Create a site the way you want it, then go to Site Settings -> Save Site as Template.
    SharePoint - Nauplius Applications
    Microsoft SharePoint Server MVP
    MCITP: SharePoint Administrator 2010
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to create multi chart dashboard in SharePoint 2013?

    Hi All,
    I would like to have a dashboard in SharePoint 2013 like this:
    Here, project details are from a list "Project", Budget consumption from a list "Budget". Different project should mention as option in tab like Project1, project2, project3. If i click project project 1 it should show its own details.
    In that tab itself like to mention KPI and Status bar. I plan to have this whole dashboard as a webpart or else what is the best way to achieve this? and thanks in advance!

    I could not find a exact solution to the issue.
    Here is how you can use caml query in char.  hope it helps:
    http://support.nevron.com/KB/a236/chart-from-multiple-sharepoint-lists.aspx

  • How to Create Custom Timer Job for SharePoint 2010 using Visual Studio 2010?

    While creating timer job Visual Studio showing some kind of error and assembly issues.

    Hi Aryav
    Please provide the errors so that we can resolve your issue.
    Meanwhile go through the step by step process of creation of Timer Job in the articles given below.
    Create and Deploy Custom Timer Job Definition in SharePoint Programatically
    Indul Hassan
    Microsoft Community Contributor
    http://www.indulhassan.com
    You Snooze.. You Lose !!

  • How to create a bc model for sharepoint 2013 that consume data from two Sql tables?

    Hi everyone!!!
    I have created several external contents using SQL Server databases as datasource. The thing is every time I created one, only consume one table and define operations for that table. I would need to create an external content that can contain the
    information of two tables. I tried to export the bdc model and type the query using left joins but nothing happens...I did it in that way for sharepoint 2007 and works!!!
    I know if a create a view in the database I can have the data that I want and I can create the external content using the view. But the thing is I don't have access to the database for creating anything, just read it.
    can anybody can help me, please?
    Thanks.

    Please follow this article to write SSRS reports with data source as SharePoint list/calendars etc. All document libraries, list and calendars are derived from base list class so you can use any of this type as a data source
    http://www.mssqltips.com/sqlservertip/2068/using-a-sharepoint-list-as-a-data-source-in-sql-server-reporting-services-2008-r2/
    Once your SSRS report is developed, you have multiple ways to show it in SharePoint
    - upload to SSRS server and show in sharepoint in a page viewer web part or simply open it as a link in new window
    - configure SharePoint environment with integration to SSRS and upload report to SharePoint library. Display report in a web part page using SSRS web part.
    Moonis Tahir MVP SharePoint,MCTS SharePoint 2010/2007, MCPD.net, MCSD.net, MCTS BizTalk 2006,SQL 2005

  • How to create a SSRS report with SharePoint 2013 team site's calendar?

    Hi I have sp13 and SQL Data Rool (that brings up VS Shell 2010).
    I need to build a report where the top part is to have a SP Team site's calendar for up coming week. The 2nd half would be a table with data from that same site.  This report would then need to be embedded in a email that automatically sent to several
    users  on weekly basis.
    I have the table data report created form the SP list.  How can I get the calendar(display as a calendar that I see in the team site) on to the top part of this report? 
    Thank you.

    Please follow this article to write SSRS reports with data source as SharePoint list/calendars etc. All document libraries, list and calendars are derived from base list class so you can use any of this type as a data source
    http://www.mssqltips.com/sqlservertip/2068/using-a-sharepoint-list-as-a-data-source-in-sql-server-reporting-services-2008-r2/
    Once your SSRS report is developed, you have multiple ways to show it in SharePoint
    - upload to SSRS server and show in sharepoint in a page viewer web part or simply open it as a link in new window
    - configure SharePoint environment with integration to SSRS and upload report to SharePoint library. Display report in a web part page using SSRS web part.
    Moonis Tahir MVP SharePoint,MCTS SharePoint 2010/2007, MCPD.net, MCSD.net, MCTS BizTalk 2006,SQL 2005

Maybe you are looking for