Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Save and later pre-load a whiteboard

MBoles
Level 1
Level 1

Folks-

Is it possible to save a whiteboard and later load it back in for continued work?  If it is, what are the major steps?

Thanks much-

Matt

PS-I did search this forum, and the three threads that seemed to ask the same question were unanswered.

0 Replies
Raff_
Employee
Employee

Well, if you configure the whiteboard CollectionNode to persist the state between sessions you should be able to do that.

I think by default the whiteboard is configured to be "session dependent" (all items are deleted when the room ends)

Sandy_Lerman
Level 3
Level 3

The way that we handled it is to serialize the whiteboard objects to XML. Then we can store it on our server or load it back in later.

aponnusa
Employee
Employee

You dont have to do anything, as the whiteboard would save the state. Are you sure you are subscribing to the right whiteboard. I suspect that you are creating a new whiteboard each time you login and hence losing your state. Try debugging your app with the dev console (inside LCCS SDK Navigator app)

Also as Raff mentioned, its possible that the nodes are not persistent, and their settings could be changed too using the dev console.

Thanks

Arun

Nigel_Pegg
Level 10
Level 10

Yup, either approach can work - for saving it on the service, just make sure sessionDependentItems is true for all nodes of the whiteboard (in the room console). If you want to save the whiteboard "offline", then you can iterate through the SharedWhiteBoard.model and save them in whatever way makes sense :

http://livedocs.adobe.com/labs/acrobatcom/com/adobe/coreUI/controls/whiteboardClasses/WBModel.html

nigel