Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
GautamBisht
Posts: 39
Registered: 01-05-2009

Is it possible to persist Event and Todo items

Hi all,

 

Is there any way to persist Event and Todo items in persistence store.

 

Thanks

Gautam

Please use plain text.
Developer
RexDoug
Posts: 4,568
Registered: 07-21-2008

Re: Is it possible to persist Event and Todo items

What is wrong with persisting them in the PIM database?

 

 

Please use plain text.
Developer
GautamBisht
Posts: 39
Registered: 01-05-2009

Re: Is it possible to persist Event and Todo items

If I store event in PIM database they will appear in calendar which i don't want. I just want to store them as a template for later use.So I have to store them in persistence store but RIM don't allow to store objects which do not implement PersistTable.

Is there any workaround for this problem 

 

Thanks

Gautam

 

Please use plain text.
Developer
peter_strange
Posts: 13,585
Registered: 07-14-2008

Re: Is it possible to persist Event and Todo items

As far as I am aware, your only option is to extract all the data into a persistable Object, and save that.  Then reconstruct the Event/ToDo from this Object when you need to. 

Please use plain text.