Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Custom Field and GetCustomProperty

  Asked By: Trenton Hubbard         Date: Feb 19, 2010      Category: Sharepoint      Views: 627
 

I am trying to set a property called "NumberOfLines" in a custom field
that inherits from SPFieldMultiLineText. Now, when I do the following

this.NumberOfLines = GetCustomProperty("NumberOfLines") in a method
(called Init invoked in constructor), I get "Object reference not set
to an instance of object". I made sure that I defined custom property
under PropertySchema in fldtypes*.xml file.
Please let me know if I am missing something.


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:        

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Custom Field and GetCustomProperty Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].