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

Forums / Developing with Sitefinity / Implementing Your Bookmarks

Implementing Your Bookmarks

2 posts, 0 answered
  1. Laura
    Laura avatar
    311 posts
    Registered:
    25 Feb 2008
    30 Nov 2012
    Link to this post
    How did Telerik do the Your Bookmarks under Your Account when logged in?
    I tired searching for this but I get every page when searching for Your Bookmarks!  But is is a cool feature and I am interested in how they did it.

    Thanks!
  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    30 Nov 2012
    Link to this post
    The way I implemented it was add a new long text field to my basic profile. 

    Then created a service that would just add the current page to a JSON array.

    Sitefinity comes with NewtonSoft JSON so you can just serialize it and deserialize it to\from a string super easy

    ex:
    Newtonsoft.Json.JsonConvert.SerializeObject(favs);

    So whenever a save or delete happens I just Deserialize the data back to a List<> ...add\remove the item, then serialize it backup and save to the profile field.
2 posts, 0 answered