Page 1 of 1

Unique identifier in the Xms/Xml

Posted: Tue Jun 23, 2009 2:57 am
by ltiong
Hello Alex,

I'm looking for a unique identifier for the Annotation in the Xms/Xml generated by GetAnnotationXml().

I see that the Annotation objects have a Guid member; is there any way to send that to the Xml?

Lu

Re: Unique identifier in the Xms/Xml

Posted: Tue Jun 23, 2009 2:49 pm
by Alex
Hello Lu,

Guid is unique for session and it is not saved with annotation. Why do you need this feature?

Best regards, Alexander

Re: Unique identifier in the Xms/Xml

Posted: Tue Jun 23, 2009 7:22 pm
by ltiong
Hello Alex,

I was just curious if there was existing fucntionality.

I'm building an versioning/undo/redo subsystem for the Annotations in my application that outlasts the session. I needed a unique identifier so i can tell which individual Annotations are changed on the canvas, so that i can update those in the database.

I have been able to come up w/ a workaround, so I'm ok for now.

Thanks,
Lu