alternative for use of localstorage for personalized widget content

hidde
Tera Contributor

I have created a custom widget that enables users to "join events", this means that when an event is joined a new event is created in the personal calendar of the user. 

 

The thing is that I want to be able to store the events that the user has joined, so I can show the user appropriate content when an event is joined/not yet joined.

At this moment im using localstorage to store the sys ids of the events that are joined.

I dont want to store this data is custom tables, so im looking for alternative (better hopefully) ways to store this data.

2 REPLIES 2

Kieran Anson
Kilo Patron

Is an event a record in a table? Are you looking for a potential OOB table you could leverage? 

Hi Kieran, yes an event is a record in the Portal Content table. Potentially a OOB table could be a solution. I could also create a new custom List field in the Portal Content where I store a reference to the users that joined the event, but I don't like this idea. So I would like to get some input on this.