How Can I Define IP Address Field in SharePoint List and show it in Visual Studio while creating a List

Answered How Can I Define IP Address Field in SharePoint List and show it in Visual Studio while creating a List

  • Saturday, April 28, 2012 6:59 PM
     
     

    I'm creating a list using visual studio 2010, I want the list to contains I-P-Address field which i figured out is not available out of the box, so i guess i need to define that field.

    how can i define that field type pro-grammatically?

    I followed the tutorial Here to create Custom Field but when i was adding list from visual studio i tried to change type to Ip Address but i couldnt find it!

    How can i make it that it shows in the type list?

    thanks in advance.

All Replies

  • Tuesday, May 01, 2012 2:24 AM
    Moderator
     
     Answered

    Hi ZeusSE,

    For this issue, first, please debug the code to make sure that you have created the custom field successfully, try to create a column based on field type in a list from UI, check whether the field type is shown in create column page, and can be added as well.

    And from the picture you provided, fields type shown in it is not all of existing field types, some types may be not available in this situation.

    More information, creating custom field in SharePoint 2010:
    http://avinashkt.blogspot.com/2011/07/creating-custom-field-in-sharepoint.html

    Thanks,
    Qiao


    Qiao Wei

    TechNet Community Support

    • Marked As Answer by Shimin Huang Friday, May 04, 2012 7:58 AM
    •