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

Forums / General Discussions / Sitefinity API documentation & personalization in content level

Sitefinity API documentation & personalization in content level

5 posts, 0 answered
  1. PC
    PC avatar
    14 posts
    Registered:
    15 Apr 2013
    18 Jun 2013
    Link to this post
    Hi Folks,

    Recently, we have inquiry in configure personalization in content level eg. per custom news in sitefinity, However we have found it is bit challenging and thinking it is required to customize in .NET, but we have no way to find out the defail API doc.
    Eg. 1) how to retrieve the current logged user and its user segment
    2) how we change to default display behavior in customize module according to user segment. 

    It would be great if any professional advice to do so, thank you.

    Rgds,

    PC

  2. Jonathan
    Jonathan avatar
    119 posts
    Registered:
    19 Dec 2012
    18 Jun 2013 in reply to PC
    Link to this post
    I would strong recommend the Sitefinity Personalization Module it has everything you are looking for and more.  While you can get the current user & their role i think you will be greatly limiting your capabilities, I would check out the module, it does require additional licensing. 

    Good Luck
  3. PC
    PC avatar
    14 posts
    Registered:
    15 Apr 2013
    19 Jun 2013 in reply to Jonathan
    Link to this post
    I'm unlucky to find those information I need in customize the widget and perform personalization (per content , not per page or widget) by checking the logged user's user segment, any reference docs/sample are welcome, thank you.
  4. Jonathan
    Jonathan avatar
    119 posts
    Registered:
    19 Dec 2012
    19 Jun 2013 in reply to PC
    Link to this post
    This post talks about how to get the current user. 
  5. Svetla
    Svetla avatar
    36 posts
    Registered:
    07 Sep 2015
    25 Jun 2013
    Link to this post
    Hi,

    Here is some further information on your questions:

    1) how to retrieve the current logged user and its user segment

    - Please see attached doc

    2) how we change to default display behavior in customize module according to user segment. 

    This is custom work at this point. What you'd need to do is create tags or categories that correspond to your personalization segments and assign them to your news articles. Then you'd use the appropriate APIs to pull the data back based on your taxonomy and display it in your custom widgets. 

    You would need to override the default widget's InitializeControls methods and modify the databinding to occur based on the designated filter.

    Hope this helps!

    Regards,
    Svetla
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
5 posts, 0 answered