Site Definition with Custom List Intance with Custom fields

How to create VS 2012 > Site Definition with Custom List Instance with Custom fields?
<site>
<list>
<field>

Hi Sunil,
it is the same way we create in VS 2010.
Add a new empty SP project in VS2012 and then add, site, list and fields as per your requirement.
Here are few references-
Creating SharePoint 2010 Site Definitions in Visual Studio 2010
http://msdn.microsoft.com/en-us/library/gg276356(v=office.14).aspx
Creating SharePoint 2010 List Definitions in Visual Studio 2010
http://msdn.microsoft.com/en-us/library/gg276355(v=office.14).aspx
Walkthrough: Create a Basic Site Definition Project
http://msdn.microsoft.com/en-us/library/ee231583.aspx
and  I normally create a blank site with all required configuration and then create, import the template to hand craft the list and fields. this would minimize errors.
see the below blog on this topic
http://blogs.msdn.com/b/sambetts/archive/2013/10/17/creating-a-clean-visual-studio-solution-from-a-sharepoint-2013-site-template.aspx
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if the reply helps you

Similar Messages

  • Sharepoint Custom List Mobile view all field values showing empty

    I have a custom list where I have multiple fields like employee id, name, title, department, manager. When I browse this form in PC VIEW all fields are showing properly and read only using 1.7.2.min.js & 0.7.2.js , it is working like a charm, I have
    also one more like where I have SAP Employee Data I can also able to retrieve the data from that particular list and its also working perfectly.
    The problem is that when I browse this list in mobile view all custom list fields showing blank values and enabled which I do not want can you please tell me the solution for this problem, I do not think that there is any problem with jquery or spservice
    version issue, please guide as soon as possible...
    Thanks
    Adnan Amjad

    And check if your mobile view is configured as per http://technet.microsoft.com/en-us/library/ff393832(v=office.14).aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Create Custom list form and validate fields using sharepoint designer 2010

    Hi All,
    I have a requirement to create a custom job application form which will be filled and submitted by anonymous users. I have a an option to create custom user control web part but I wanted to
    create it using custom list form using SharePoint designer. My requirement is below
    Date of birth (user age should be above 22yrs )
    Email Validation
    Phone validation
    Resume attachment (should attach only word documents or PDF)
    Qualification (If other is selected then show textbox else hide)
    Can above validations be done using SharePoint designer (JavaScript or validation controls)? Or do I have to create custom control web part?
    MercuryMan

    Hello,
    I think jquery/javascript can be used to put validations on those fields. Fortunately some of validation can be done via sharepoint itself like: email, phone, age. For Attachment and Qualification fields use jquery/JS.
    See below link for column validations:
    http://thechriskent.com/2012/08/15/validate-phone-number-columns-in-sharepoint/
    http://sharepointsolutions.com/sharepoint-help/blog/2011/12/how-to-validate-an-email-address-using-column-validation-in-sharepoint-2010/
    See this for attachment:
    http://stackoverflow.com/questions/4234589/validation-of-file-extension-before-uploading-file
    For qualification:
    http://sharepoint.stackexchange.com/questions/88064/hide-show-field-on-list-form-based-on-value-from-another-field
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Automatically populate custom list column with site name when list is created

    Hi All,
    I am using a CQWP to display selected contacts on subsites from one master contact list on the parent site. Each subsite is for a different project and is named according to the project number. In the master contact list I have a custom column called Projects
    that is populated with the various different project numbers that an individual contact is involved with.
    The CQWP on the subsite filters the results based on the Projects column of the master contact list. As it stands I have to manually input this job number into the CQWP's properties. What I would like to happen is for the project number (the subsite name)
    to automatically be input to the filter value.
    The closet I have come to reaching my desired behaviour is by adding a column to the Site Pages list called Title and setting the filter value to [PageFieldValue:Title]. This still doesn't get the automatic behaviour I require because I still have to input
    the project number into the Title column manually, but it is quicker than editing the CQWP properties.
    What I need to achieve is either a way of automatically populating this column with the subsite name or find a way for the CQWP to pick up the subsite name and filter its results accordingly.
    I have found this article http://www.andrewconnell.com/blog/Subclassing-the-Content-Query-Web-Part-Adding-Dynamic-Filtering which seems to be along the lines of what I want to achieve, but it is by no means a walk through and while I'm not completely
    unfamiliar with coding, I don't know enough to implement it without help.
    Any help would be greatly appreciated, I've been working on this for weeks on and off!
    Thanks in advance,
    Dan

    Hi,
    I believe the "Description" field type is Multiple Lines of Text. Sorting doesn't allow in this field type. In order to do the sorting, you would require to create additional column like single line of text column (note that it supports only 255
    chars and require to truncate the data if more than 255) and update the data using event receiver or workflow. and do the sorting with that column.
    kmhsad

  • Need help with dependent lists boxes with ADF.

    Hello,
    I am doing a project that use tree dependent list boxes.
    Ex. State---->
    College---->
    List of courses of the college chosen above----->
    The way this should work is when I select the state automatically I want it to change to the correspondent list of colleges of that state and after i choose the colleges I want to be able to get all the courses that are given in that college.
    To implement the first two list boxes I create tree views on JDeveloper and and using SelectOneChoice for both State and Colleges. In the binding editor I bind the first View with the second and then the second view with the third and at this point if I execute the first SelectOneChoice would give me all the state and the second SelectOneChoice would give me the list of all the colleges that exist.
    Now on the third view that I create a binding variable and i put a Where state=:TheBindingVariable on the query.
    Also I set the first SelectOneChoice the outoSubmit property to true, id to StateId and PartialTrigger property to CollegeId.
    On pageDef.xml in the bindings I create action form where I select the third view from Date Collection and select Action as ExecuteWithParams. And I set the value under the parameters section to #{bindings.state.inputValue}.
    Under executables still in pageDef.xml I create a invokeAction and I set binds = ExecuteWithParams.
    On first SelectOneChoice on the ChangeValueListener i create a new ManageBeans which generate me a java class and I create a new method as well to use it to change the binding variable on the second SelectOneChoice.
    Here is the method:
    public void Change_StateId(ValueChangeEvent valueChangeEvent) {
    String StateId;
    valueChangeEvent.setPhaseId(PhaseId.INVOKE_APPLICATION);
    FacesContext adi = FacesContext.getCurrentInstance();
    ValueBinding vb = adi.getApplication().createValueBinding("#{bindings}");
    DCBindingContainer bc = (DCBindingContainer)vb.getValue(adi);
    if(valueChangeEvent.getNewValue().toString().equals("0")){
    StateId = "MA";
    OperationBinding opBindingCollegeLovIter = (OperationBinding) bc.get("ExecuteWithParams");
    opBindingCollegeLovIter.getParamsMap().put("TheState",StateId);
    opBindingCollegeLovIter.execute();
    }else{
    DCIteratorBinding statesLovIter = (DCIteratorBinding) bc.get("CollegeProvaView1Iterator");
    Row rw = statesLovIter.getRowAtRangeIndex(((Integer)valueChangeEvent.getNewValue()).intValue());
    StateId = (String) rw.getAttribute("State");
    OperationBinding opBindingCollegeLovIter = (OperationBinding) bc.get("ExecuteWithParams");
    opBindingCollegeLovIter.getParamsMap().put("TheState",StateId);
    opBindingCollegeLovIter.execute();
    I don't know what I have done wrong because I am new in this field and a little support would be really helpful.
    I am using JDeveloper 10.1.3.1.0 and Oracle SOA Suite 10.1.3.1.0.
    I would appreciate any help.
    Thanks a lot.

    user8116089 wrote:
    For some reason the first selectonechoice doesn't give me all the states that are in the database it gives me just the first 10.check the value of RangeSize for itarator in pageDef. in this case to show all items it must be set to -1
    Also there is a way to assign the first value of the first selectonechoice to null at the start.this is a problematic requirement since all items are bound to iterator and basically this should serve for navigation purpose so the first item is set as selected, but maybe some workaround exists...
    regards,
    Branislav

  • Project Site custom list data reporting with Odata connection, BI reports in Project online 2013.

    Hi,
    Can we create an excel report with Odata feed connection which includes project site custom list data?
    Example: My Project is "ProjectTest" and it has a project site in which i created a custom list "ProjectNotes" with some new columns. I want to include these columns in my report.
    sandeep

    Hello,
    when using the SharePoint ODATA or REST APIs each list and site would have a different endpoint URL. Some example URLs are below:
    REST API:
    https://test.sharepoint.com/sites/pwa/Project01Test/_api/Web/Lists/getByTitle('ProjectNotes')/Items
    https://test.sharepoint.com/sites/pwa/Project01Test/_api/Web/Lists/getByTitle('Risks')/Items
    ODATA SVC:
    https://test.sharepoint.com/sites/pwa/Project01Test/_vti_bin/listdata.svc/Issues
    https://test.sharepoint.com/sites/pwa/Project01Test/_vti_bin/listdata.svc/ChangeRequests
    The down site is that in Excel you cant dynamically update the connection URL so would have to add all of these in manually and create the data models - I guess this is ok if you don't have many projects and don't create many new projects. In code such as
    JavaScript it is easy and you can build up the URL dynamically using variables like below:
    projSiteUrl + "/_api/Web/Lists/getByTitle('ProjectNotes')/Items"
     The options to explore to see if you have make this dynamic and get the data you want are:
    Potentially look at the search API and use that in Excel:
    http://sharepoint.stackexchange.com/questions/98159/retrieving-list-items-from-multiple-sites-via-odata-with-excel
    http://social.technet.microsoft.com/Forums/windows/en-US/727c1893-6b42-478b-afca-b32fb259a53d/retrieve-custom-lists-from-all-projects-for-excel-reports-by-using-odata?forum=sharepointgeneral
    Power Query:
    http://blog.oraylis.de/2013/05/using-dynamic-parameter-values-in-power-query-queries/
    JavaScript (put the data on a page), example:
    http://gallery.technet.microsoft.com/scriptcenter/Server-Risks-and-Issues-on-65dcbe0e
    Or bring the data down to a custom SQL database table and report of that data:
    http://nearbaseline.com/blog/2014/04/project-site-custom-list-reporting-using-ssis-odata-connector/
    Hope that helps
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • SharePoint Custom New Form with DataForm Webpart SharePoint 2010

    Hi Guys,
    i have a Problem with my Custom NewForm.ASPX.  I Created a CustomForm like this Guide:
    http://www.ilikesharepoint.de/2013/11/sharepoint-create-custom-list-forms-with-visual-studio-part-2/
    Problem
    Now i set the DataFormWebpart for the Webpartzone on visible=False and add my custom DataformWebpart in this NewForm.aspx (see Code).
    After my deployment and click on "New item" i can see my custom DataForm Webpart.
    The Problems are:
    1. The Ribbon is Greyed out
    This post was not my solution. The Ribbons is not greyed out but the Ribbon has no function ("save Button" is broken)
    2. The Fields are not loaded and looks like a Displayform
    I Don't know why the Dataform does not load these fields. I can see the title but not the text Columns or lookups
    3. Save Button and the Ribbon does not work
    Only the Cancel button work on this Newform.aspx
    The Save button has no function

    Here my NewForm.aspx Link
    NewForm

  • How to map a custom enum list to a custom form property in an extended incident class

    Hi,
    I'm struggeling to understand how to map a custom enum list to a custom form property in an extended incident class.
    Here's what i want to have happen:
    I am going to publish a request offering on my SMPortal for allowing users to submit basic IT incidents. I want the form to include "Whom does this problem affect" (answers(This is the custom enum list): Me, Multiple Users, Whole department or Whole
    company), "What is the problem about", "Description" and "Attachments".
    Here's what i've done:
    In the authoring tool i created a MP for the custom enum list and put only the list in it. I sealed the MP and imported it.
    I created another unsealed MP called TST.Incident.Library for storing incident library customizations and extended the incident class to add an extension class i called ClassExtension_Affected scope with a custom property i called AffectedScope. Then i am trying
    to set the datatype of this property to "list". In the "select a list" dialog i cannot chose my previously sealed MP with the custom enum list in it. Why?
    - Do i need to scratch the sealed MP and put the custom enum list in the latter TST.Incident.Library MP instead?
    - If so, can i do that and keep this MP unsealed, or will i get an error on import saying "Unsealed management packs should not contain type definitions"
    - Should i create one sealed MP for both the custom enum list and the extension class + custom property?

    Hi,
    Authoring Tool simply isn't informed about your list. Open the sealed management pack where you define the root of the list in the Authoring Tool and in the same time open TST.Incident.Library. You will have two opened MPs in the Authoring
    Tool and be able to add a custom list for your custom field.
    Cheers,
    Marat
    Site: www.scutils.com  Twitter:
      LinkedIn:
      Facebook:

  • Get the Version history of a sharepoint 2013 Custom List item

    Hi All,
    I am having doubt to retrieve the field version information with the comments.
    For this field i am done like this
    1.Creating a custom list
    2.And enable versioning for the list
    3.And add a field with field type 'Multiple Lines of Text' and in the Addition Column Settings section 'select yes radio button option in 'Append changes to the Existing text'.
    4.If we done like this the changes to the list item are available outside of field control.
    Can any one help me regarding this field to get the all the versions of list item along with modified data.

    hi Asatish,
    Thanks for posting your issue, Kindly browse the below mentioned URLs to know about the fixes of this issue
    http://berg-henry.blogspot.in/2010/11/custom-list-form-with-version-history.html
    http://somnathmatere.blogspot.in/2013/10/sharepoint-2010-custom-display-form.html
    http://blog.qumsieh.ca/2009/01/29/understanding-the-append-changes-to-existing-text-option/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • How to Retreive data from custom list on specify conditions?

    Hi All,
    I have custom list.And the custom list data contains 100 rows of data.
    my requirement is  how to retrieve custom list data from specific condition like 20-30,50-70.
    Assume that i want to fetch 20 record to 30th record.
    How to use the caml query for the above situation.
    Please assist me.
    Rama

    Hi 
    Thanks for posting your issue, Kindly browse the below mentioned URL to find related the CAML query example
    http://karinebosch.wordpress.com/2012/02/03/caml-and-the-client-object-model/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Standard Report for Customer Listing

    Hi Gurus
    Is there any standard report available for Customer listing which display customer details.
    Points will be rewarded..
    Regards
    Happy

    Hey Happy,
    I think there is no standard report functionality to get the list of the customer but you can get that in this way,
    Go to SE16 transaction enter the table KNVV then execute system will give the all customer which are maintaining sales area data.
    Take the table KNA1 to get the general data customers list
    Take the table KNB1 to the company code data customers list
    I hope it will help you
    Regards,
    Murali.

  • Quick Edit Greyed out in Custom List

    I have set up a SP 2013 environment using the trial software.  I have created a new custom list using the
    Custom List App.  I've created all the columns and I just want to use Quick Edit to be able to cut and paste columns from an excel sheet (I'd prefer to import the excel sheet but that icon is missing!).  Unfortunately, this is greyed out.
    Just to test further, I created another custom list using the Custom List in DataSheet View
    App - I can use Quick Edit in this list.
    Is there a way to enable Quick Edit in my original list..?  I don't want to recreate all the columns again - there are quite a few.
    Thanks

    I'm late to the game on this, but I just encountered the same issue.  SP Foundation 2013 demo in a VM.  Simple, four-column list.  Nothing fancy.  I have the box checked to 'Allow individual item checkboxes.  
    The important variable for me is that I set the view to display Newsletter style.  That's what's causing the Quick Edit box to gray out (apparently, any choice other than Default causes this). 
    I found a resolution at https://support.microsoft.com/kb/2876824?wa=wsignin1.0 .  Eventhough that page talks about SP Online, the proposed fix works on SPF also.  Click
    the List tab on the ribbon for your list.  Then, click Modify View.  Scroll down and click on the plus sign next to Style to expand that section.  From the 'View Style' choices, select Default.

  • Bulk update site definition

    Hi,
    I'have migrated a wiki library from my Onprem SP 2013 to SP Online.
    After the migration I noticed that most of the pages were plain white pages.
    I then launched SharePoint designer and noticed a small "!" symbol. After reapplying the site definition, my pages were visible again.
    Is there a way to automate the "Apply site definition" in bulk mode, either with a tool or with Powershell ?
    Thanks.
    R.

    did you read the technote i linked?
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16485
    Read that linked technote.
    "Dreamweaver TechNote
    Error when accessing sites: Server busy ... the other program
    is busy ...
    choose 'Switch To' to activate
    Issue
    When attempting to create a new site or edit an existing
    site, Dreamweaver
    fails with the following error:
    Server Busy
    This action cannot be completed because the other program is
    busy. Choose
    'Switch To' to activate the busy program and correct the
    problem.
    buttons: [Switch To...] [Retry] [Cancel] (grayed out)
    Note: This TechNote only applies to Windows XP Pro and
    Windows 2000 Pro
    users who have Microsoft Internet Information Services (IIS)
    installed"
    the fix is given further down.
    > Yes...I get a 550 error and/or server busy. On one site
    it tells me your
    > connected
    > but nothing is screened and freezes screen.

  • 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 ...

  • Issue with dropdown menu on Custom List Form

    Hello everyone,
    Recently I created a custom list with a few lookup columns in it. When I open the form in Internet Explorer 9 or 10, the dropdowns pertaining to the lookup columns are extremently wide, even though each dropdown only contains 2 characters. However,
    if I open the form in Google Chome, and Firefox, the dropdowns are displayed properly.
    IE 9 Dropdown:
    Chrome Dropdown:
    If anybody has run into this issue and can point me in the right diretion, I will appreciate it. Thank you
    Fausto Capellan, Jr - SharePoint Admin

    Hi Fausto,
    According to your description, my understanding is that the drop-down list boxes of the lookup column became wide when using IE 9 or 10.
    Did you customize the list form in InfoPath?
    Per my test, the width of the drop-down list boxes can be customized in InfoPath.
    I tested in my environment, and the lookup column worked fine in IE 9 or 10.
    I recommend to add the SharePoint site to Compatibility View in IE to see if the issue still occurs.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • Problem with JPY Currency

    Hello Experts, We are facing problem with values which are related to JPY Currency. In the DSO out put for Key figure Amount in doc currency it is showing 110,43 when you double click it is showing actual value that is 11043. Because of wrong valus w

  • No sound without headphone

    Hello, I got ipad 3 I can't hear anything withou headphone

  • TS4002 My desktop is not compatible with ICloud yet.

    How do I check my Mobifle Me mail via the web after June 30?  I have already selected to keep using my MobileMe e-mail after the change over. Can I move my IPhone and IPad to the Cloud and still get mail on my desktop computer? When I try to log into

  • Module locking - Maybe michecl can help me

    Hello ALL, I have question about EHP4 online module booking program and Maybe Michael give me some advice. In my university some module like language ( Thai, English ) have lots of event package and in the SAP GUI module booking program lock from the

  • Agent deployment from EM 12.1.0.2 to Linux agent failing pre-req checks

    Trying to deploy the agent software from EM to a Linux host running Oracle Enterprise Linux version 5.8 I am failing one of the pre-requisite checks indicating that the root / is not owned by the root. From the install log INFO: ---------------------