Developer forum

Forum » Development » recent activities

recent activities


Reply
Hi,

We need to develop a recent activities list for the active user (for Forum Posts, surveys and a custom quizz module), similar to what you have in engage. I would like to know if there's a way that's better than other?

 - use database triggers and record in a new table and then setting it through a custom module or data lists?
 - use listeners to record the log in the new table  and then setting it through a custom module or data lists?
 - other solution? (can it be done using only data lists?)

Nuno

Replies

 
Nicolai Høeg Pedersen
Reply
Most things in Dynamicweb have a CreatedBy which is the ID of the user that created whatever thing.

Simply use datalists to query the newest records of News, Pages, Posts etc. using the user ID from session.
 
Reply
Perfect, thank you Nicolai.

nuno

 

You must be logged in to post in the forum