Annotations to and from db

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
AndyT
Posts: 1
Joined: Mon Jul 10, 2017 2:37 pm

Annotations to and from db

Post by AndyT » Mon Jul 10, 2017 2:50 pm

Hi,

I am writing a POC using DocuVieware - so far everything I've thrown at it is rendering great. I now want to annotate and save individual/groups of individual annotations to my db.

1. I can see on adding an annotation a POST gets sent to a newannotation action on the default DocuVieware3ApiController. Assuming I add a custom button Save button, how can I stop this behaviour and POST directly to my own controller?

2. Assuming I can do the above via your CustomAction framework where do I actually get the annotation data from to POST. Presumably there must be a collection of Annotations that have been added during the session cached somewhere in the client? I can't seem to find them.

3. Can I load the annotations from the db back to the DocuVieware client and have them render programmatically? Do I have to transform them in some way before I store them in the db?

Hope my questions make sense and thanks in advance for any help.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest