Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > list of event subscriptions View modes: 
User avatar
Member
Member
ahussain-builderhomesite - 9/21/2011 12:23:08 PM
   
list of event subscriptions
How to show a list of the events that current user have subscribed? I would like to have a webpart or control to achieve that not using APIs.

Thanks, Altaf

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 9/21/2011 1:50:15 PM
   
RE:list of event subscriptions
Hello,

You need to create a custom query e.g. GetEvents:

select * from View_CONTENT_BookingEvent_Joined where nodeid in (Select AttendeeEventNodeID from Events_Attendee where ##WHERE##)

Now use this query in a custom repeater web part and specify this WHERE condition:

AttendeeEmail = '{%currentuser.email%}'

And the transformation:

CMS.Event.Preview

Best regards,
Boris Pocatko

User avatar
Member
Member
ahussain-builderhomesite - 9/21/2011 2:18:05 PM
   
RE:list of event subscriptions
Thank you very much Boris, seems a handy query, basically I though there might be some webpart/control with options like unsubscribe action etc.

Thanks n Regards
Altaf

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 9/21/2011 7:15:32 PM
   
RE:list of event subscriptions
Hello,

Regrettably, we don't have any build in web parts for unsubscription. You would have to create one of your own.

Best regards,
Boris Pocatko