+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / News module: Title changed to LongText, still error on saving

News module: Title changed to LongText, still error on saving

2 posts, 0 answered
  1. Zubair
    Zubair avatar
    142 posts
    Registered:
    26 Dec 2007
    26 Oct 2010
    Link to this post
    Hi,

    For our arabic website, the Title can be too long so I changed the News.Title to be LongText in web.config and using a script I created with the help of this link I read-deleted-resaved all item & the News title is saved in LongText instead of Short Text.

    The problem though is that in Sitefinity saves in LongText but it doesn't except more characters and I get this exception. Value for property Url is too long. Maximun length is 256

    If I remove any extra text, the item is saved properly to the LongText field.

    I want more characters to be saved and thats why I changed it to LongText in the first place.

    I'll appreciate the help, if the question is not too clear then let me know.

    -Zubair
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    27 Oct 2010
    Link to this post
    Hello Zubair,

    Thank you for using our services.

    The problem you are facing is because we use the Title for Urls by default. What you can do is to leave the original title as it was - ShortText, and then expose another metafield which will be Long Title for example. Then you have to change the control templates for the news view control so that they display the long title instead of the short one, and use the short one only for Urls.

    Sincerely yours,
    Radoslav Georgiev
    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