when i add comment in the PDF then it gets flushed out after refreshing page.
I want to persist these comments even after refreshing the page.
how can i do it?
When you refresh the page, you are reloading the uncommented PDF file from the server so you won't see any comments previously added.
But I'm unclear as to how you want it to work. When the comments are saved, do you want the comments to be private to each user where they get reloaded on each visit, or do you want to update the file on the server every time anyone makes a comment... or something else?
We have to update the file on the server every time and anyone can makes a comment.
How we can do this?
could you please help us?
with the help of above url getting updated pdf content .
It's saving but in another file i.e "Piping Drawing.pdf" but i want to save comments in same file i.e mentioned in url "../Sample Searchable PDF.pdf" .
how we can achieve it?
Can you provide us the snippet of the Save Callback you have registered?
You need to write your file update implementation in the saveApiHandler, in which you can use the content buffer provided as an argument to update the file at the desired location.
I am not sure whether you are following the documentation or not. You need not to have any annotation manager for your use-case.
As described in the comment of saveApiHandler itself that /* Dummy implementation of Save API, replace with your business logic */, So, you have to write the code for uploading the content of the file in your desired location (where the file is residing currently).
Unable to see exiting comments text ? could you please help?
I am doing this in angular i can Add,Edit Delete comments but after save not able to see comments text.
We would like to apologize for the inconvenience. Ideally, it should work after registering the GET_USER_PROFILE_API callback in the documented way https://www.adobe.com/devnet-docs/dcsdk_io/viewSDK/howtos_ui.html#user-profiles.
Could you please confirm if you are following the same? Also, if we can get the code snippet (configurations) you used with PDF Embed API for your website.
Yes Refering the same.
Attached snippet could you please check and let me know It's in angular
I'm not proficient at Angular. Sorry.