I want to get all notations and all changes that I have made up in syncfusion react pdf viewer . I send it to the backend and then set after I open the same pdf url i give him. and also change the userName in notation
Hi Vishal,
Kindly refer to the below sample provided below to export an annotation at the creation level, import an annotation during document loading, and update the annotation name when importing it.
Sample link: https://stackblitz.com/edit/react-mvfsfh-f3oxrg?file=index.js,index.css
Step to follow:
1. Run the sample
2. Add the annotation(free text annotation )
3. The modification (annotation) made in the previous document will be imported when you load a new one.
4. A new annotation name is displayed in the comment section.
Let us know if the solution provided is helpful to you
Regards,
Arun kumar
I have another problem that I want to export/import signature in pdf but when i open signature And add then
and when I import annotations as json as you told I cannot edit or delete
and the bigger problem is that when i download the pdf with annotations the stamp will come but no text show
Hi Vishal,
Kindly find the details below
Queries |
Details |
Script error occurs while adding signature? |
As the reported issue "Script error" was fixed in our latest version v20.2.0.49, Kindly update your version to resolve your issue and let us know if resolved
Packages:
CDN links: https://cdn.syncfusion.com/ej2/20.2.49/dist/ej2.min.js https://cdn.syncfusion.com/ej2/20.2.49/material.css
|
Import annotations as json as you told I cannot edit or delete?
|
Imported annotations can be edited and changed, and if you want to turn off the edit mode while loading the document, use the Is Locked property. The modified sample is provided below. Please let us know if the solution was beneficial to you.
Sample link: https://stackblitz.com/edit/react-mvfsfh-bpebpl?file=index.js,index.css
Step to follow:
1. Run the sample 2. Add the annotation(free text annotation ) 3. The modification (annotation) made in the previous document will be imported and locked when you load a new one.
Let us know if the solution provided is helpful to you
|
when I download the pdf with annotations the stamp will come but no text show?
|
We are not clear with the statement Stamp will Come but no text showing. We had shared the sample and video replication in which we have tried to reproduce the issue
Sample link: https://stackblitz.com/edit/react-96qxnu?file=index.js
Video link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Video_Stamp46934115.zip
Kindly try this and revert to us with the modified sample, code snippet, replication procedure and more details about the reported issue if you have any concerns. This will be helpful for us to analyze further and provide the details.
|
Regards,
Arun kumar
Script error occurs while adding signature? this problem is not resolve after I switch the version 20.4.49 in react js
Import annotations as json as you told I cannot edit or delete? this is also not working , I said that annotations are editable or delete when I import
when I download the pdf with annotations the stamp will come but no text show? the sample annotation json are
sir, I have also a problem is that The comments are not come when i reload the tab and also how to export import signature in react pdf viewer
here you can see that when I reload two or three times the pdf shows annotation in comment pannet and sometimes it doesn't | https://www.loom.com/share/7a93ea591e214f18bc20b483de634e9e |
when I download pdf the text annotations are not see | https://www.loom.com/share/7a93ea591e214f18bc20b483de634e9e |
here is my code...
Hi Vishal,
For some internal issue, we are updating it again and for your last query we will provide the solution on further updates
Querys |
Details |
Script error occurs while adding signature?
|
We were unable to reproduce the reported issue with the provided details. We have shared the sample and video replication in which we have tried to reproduce the issue in the below link, Video link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/signature688466971.zip
Sample link: https://stackblitz.com/edit/react-qddfus?file=index.js,package.json
Kindly try this and revert to us with modified sample, code snippet, replication procedure and more details about the reported issue if you have any concerns. This will be helpful for us to analyze further and provide the details.
|
Import annotations as json as you told I cannot edit or delete?
|
We are not clear about your query and we suspect that you requirement is to prevent the annotation while importing it into the document. we have shared the documentation link and sample in the above update
Documentation link: https://ej2.syncfusion.com/react/documentation/api/pdfviewer/annotationSettings/
Kindly explain your requirement in detail so that we can help you further and resolve your issue at the earliest
|
I download the pdf with annotations the stamp will come but no text show?
|
As we analyze the provided JSON and find that the stamp annotation size and position seem to be large and when we try to import then it is larger than our viewport and for your reference we have provided the screenshot below
Kindly provide the sample and pdf document to further analysis on it |
The comments are not come when i reload the tab ?
|
We were unable to reproduce the reported issue with the provided details. We have shared the sample and video replication in which we have tried to reproduce the issue in the below link, Video link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Video_CommentPanel-1145536472.zip
Sample link: https://stackblitz.com/edit/react-mvfsfh-kt32nq?file=index.js,index.css
Kindly try this and revert to us with modified sample, code snippet, replication procedure and more details about the reported issue if you have any concerns. This will be helpful for us to analyze further and provide the details. |
How to export import signature in react pdf viewer?
|
You have created a similar ticket for this query. so Kindly follow it for more updates on it |
Regards,
Arun kumar
Hi Vishal,
Kindly find the details below
Queries |
Details |
here you can see that when I reload two or three times the pdf shows annotation in the comment panel and sometimes it doesn't.
|
The given video seems to be wrong. Kindly check and update a valid video to reproduce the issue. However, we tried to reproduce the issue and found it woks as expected. |
when I download the pdf the text annotations are not seen?
|
We were unable to reproduce the reported issue with the provided details. We have shared the sample and video replication in which we have tried to reproduce the issue in the below link, Video link:
Sample link: https://stackblitz.com/edit/react-mvfsfh-shibhq?file=index.js,index.css
Kindly try this and revert to us with the modified sample, code snippet, replication procedure, and more details about the reported issue if you have any concerns.
|
Note: If you are still facing the issue, we will schedule a web meeting on these issues to analyze your code and provide a solution at the earliest. Kindly update your availability for the same.
Regards,
Arun kumar
sir, this will not work for me when I reload the pdf the annotations are come but not shows in comment pannel, this is my second last que
Hi Vishal,
Kindly find the details below
Query |
Details |
Console the base 64 and reload the base 64? |
We have provided the sample below to render the blob into base64 and console the base64. Kindly let us know if the solution provide is helpful.
Stack Blitz: https://stackblitz.com/edit/react-ar8tgd?file=index.html
|
Comments are not shown in the viewer? |
We were unable to reproduce the reported issue. We have shared the sample and screenshot in which we tried to reproduce the issue. Screenshot:
Sample link :https://stackblitz.com/edit/react-jca3xb?file=index.js,package.json
Kindly try this and revert to us with a modified sample, code snippet, replication procedure and more details about the issue if you have any concerns. This will be helpful for us to analyze further and provide the solutions.
Note: If you are still facing the issue, we will schedule a web meeting on these issues to analyze your code and provide a solution at the earliest. Kindly update your availability for the same.
|
Regards,
Arun kumar