Reference to annotated files

Hello Again!


We have seen that Annotation uses a GUID to reference the documents to be annotated and creates a path to know where the folder this file is placed.

In the context of our application these folders are going to be temporary (after some time, they are going to be deteled, so when the users come back, they might not find the annotated document since it doesn’t exist any more in the application).

So, my question is: would it be possible to control where the files are stored?

Thank you very much!
Hello,

Thank you for your inquiry.

Could you please specify your question. Do you mean that you want to control where will be stored the cache files or annotations? If you need to control the cache files then you can create the CustomCacheDataHandler as it shown in our documentation for the GroupDocs.Viewer here. If you need to control where will be stored annotations then please check this documentation .

Best regards
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

I have to go further, but I think CustomCache is what I was looking for!


Thank you very much!

Best Regards!

Hello,


You are welcome.

If you will have more questions please feel free to contact us.

We have just seen that a class InputDataHandler only works for Viewer, but Annotation does not take into account this particular configuration. Are we doing something wrong?


Best Regards!
Hello,

Thank you for your request.

Basically you can implement InputDataHandler for GroupDocs.Annotation for Java, you can check our simple example for how it works here .

But if you mean CustomHtmlCacheHandler , then yes, we are sorry for misunderstanding, for version 1.9.0 this class not implemented yet. But our product team are work on the new GroupDocs.Annotation which will be released soon. And this functionality will be included necessarily.


We apologize for the inconvenience.

Best regards
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Hi,


We have been trying InputDataHandler with viewer and we have seen that it works correctly. However, exactly the same code with Annotation (with a custom InputDataHandler) it doesn’t work.

In our tests we do not use CustomHtmlCacheHandler.

Why is this not working??

Best Regards
Hello,

Could you please specify ,what do you mean - it not working. Do you get any errors?
Please share with us your code example how you try to use of the CustomInputDataHandler and we will investigate it. Because on our side it works well.

Best regards
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+