SaaS CMS has officially launched! Learn more now.

[Major Missing Feature?] Long property


It appears that Int64 properties are not supported. If you create such property EPiServer automatically uses backing type 'Number' for it, which only supports Int32. When you try to create and save a page you will get an 'Invalid cast exception'.

Am I missing something or are they really not supported. And if so, will they be supported in the future?

May 30, 2013 16:14

There is no built in property that holds an Int64. However it should be fairly simple to create a custom property for it, in that case you should inherit PropertyString and not PropertyNumber (since propertynumber is stored in SQL in an int column and not a bigint column).

May 31, 2013 9:30
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.