Try Now
More in this section

Forums / Developing with Sitefinity / Changing Metafield data type for items already in the DB

Changing Metafield data type for items already in the DB

2 posts, 0 answered
  1. Alessio S.
    Alessio S. avatar
    37 posts
    31 May 2010
    12 Jan 2011
    Link to this post
    in Sitefinity 3.7 latest version I'm having the same problem described in this thread:
    After changing the type of the "Libraries.Description" metakey from ShortText to LongText I get the error about the 250 chars limit. But I really need to update the previously uploaded items to support the longer description as I cannot reupload them all. What do I need to change in the database to convert the existing items from the old setting to the new setting? I tried moving the old descriptions in the sf_GCMetadata table from the ShortText column to the LongText column (setting the ShortText to null) but I still get the error.

    Thank you,
    Alessio Scalerandi
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    25 Oct 2016
    13 Jan 2011
    Link to this post
    Hello Alessio,

    Open [sf_GCMetaData] and update the ValueType for all entries which uses your custom  metakeys that you changed. As far as I remember "1" is for LongText.

    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered