Export and Import Annotations
Hi,
- I Add a comment to pdf file, when i select the 'Export Annotations to JSON file' Option, a message error: 'Export annotations action has failed; please ensure annotations are added properly'. What is the problem?
- Many users can annotate a pdf file. I need a code exemple for exporting the annotations to multiples files (For a userX, select user annotations and export them to a file 'pdfFileName - userX.json').
- I need a code exemple for importing the annotations from multiples files ('pdfFileName - user1.json','pdfFileName - user2.json',...).
Thanks.
SIGN IN To post a reply.
9 Replies
AA
Akshaya Arivoli
Syncfusion Team
December 11, 2020 03:10 AM UTC
Hi Aitlahmid,
We are currently checking on the reported query and we will update you with further details on December 11, 2020
Regards,
Akshaya
AI
aitlahmid
December 16, 2020 10:23 AM UTC
Hi,
There is news regarding this ticket
Thanks.
AA
Akshaya Arivoli
Syncfusion Team
December 16, 2020 02:16 PM UTC
Hi Aitlahmid,
Sorry for the delay
|
Query |
Details |
|
I Add a comment to pdf file, when i select the 'Export Annotations to JSON file' Option, a message error: 'Export annotations action has failed; please ensure annotations are added properly'. What is the problem?
|
We were unable to reproduce the reported issue with the provided details. We have shared the sample in which we have tried in the below link,
Kindly try it and revert us with more details about your issue, if you still have concerns. Also confirm us whether you are adding comment annotation or providing the comments to an annotation(like shape, circle,.). These will be helpful for us to investigate further and assist you better.
|
|
Many users can annotate a pdf file. I need a code exemple for exporting the annotations to multiples files (For a userX, select user annotations and export them to a file 'pdfFileName - userX.json'). |
The provided information was not clear to us, so can you please provide more details about your requirement and the use case. Also confirm us whether you want to export the annotations with particular author. These will be helpful for us to investigate further and assist you better. |
|
I need a code exemple for importing the annotations from multiples files ('pdfFileName - user1.json','pdfFileName - user2.json',...).
|
We can import the annotations from the code behind using ImportAnnotations() API . We have created the sample for the same and shared in the below link,
|
Regards,
Akshaya
AI
aitlahmid
December 16, 2020 03:25 PM UTC
Hi,
Thank you for response and support.
| Query | More explanations | ||||
| I Add a comment to pdf file, when i select the 'Export Annotations to JSON file' Option, a message error: 'Export annotations action has failed; please ensure annotations are added properly'. What is the problem? | I test your exemple, the error message appears. The steps to produce it: - Add Comments/Shapes - In Comments panel, click 'Export Annotations to JSON file' option. | ||||
| Many users can annotate a pdf file. I need a code exemple for exporting the annotations to multiples files (For a userX, select user annotations and export them to a file 'pdfFileName - userX.json'). | I have a pdf file named 'fileName.pdf'. This file will be annotated by several users (). For each user, their annotations must be saved in a json file: 'fileName - user1.json' for user1, 'fileName - user2.json' for user2, ... and 'fileName - userN.json' for userN. | ||||
| I need a code exemple for importing the annotations from multiples files ('pdfFileName - user1.json','pdfFileName - user2.json',...). | OK |
regards.
AA
Akshaya Arivoli
Syncfusion Team
December 17, 2020 11:18 AM UTC
Hi Aitlahmid,
Please find the details of your query below,
|
Query |
Details. |
|
I test your exemple, the error message appears. The steps to produce it: - Add Comments/Shapes - In Comments panel, click 'Export Annotations to JSON file' option. |
We were unable to reproduce the issue with the provided procedure with the sample which we have provided earlier. We have shared the video demonstrating the same in the below link,
Kindly try it and revert us with more details and the replication procedure if you still have concerns. Also please let us know the culture settings and browser details. These details will be helpful for us to investigate further and assist you better.
|
|
I have a pdf file named 'fileName.pdf'. This file will be annotated by several users (). For each user, their annotations must be saved in a json file: 'fileName - user1.json' for user1, 'fileName - user2.json' for user2, ... and 'fileName - userN.json' for userN. |
Currently we do not have support to set file name for the exported JSON file. However, we will analyze further on this and update you with more details on December 21, 2020 |
Regards,
Akshaya
AI
aitlahmid
December 17, 2020 01:40 PM UTC
Hi,
Thank you for your fast response
Query | Details. |
We were unable to reproduce the issue with the provided procedure with the sample which we have provided earlier. We have shared the video demonstrating the same in the below link, Kindly try it and revert us with more details and the replication procedure if you still have concerns. Also please let us know the culture settings and browser details. These details will be helpful for us to investigate further and assist you better. | - OS: Windows 10 Pro English. Display language: Frensh -Visual studio 2019 Community Edition 16.9.0 Preview 2.0 Navigators: Edge and Chrome. (the problem appears in all) |
Currently we do not have support to set file name for the exported JSON file. However, we will analyze further on this and update you with more details on December 21, 2020 | OK |
Thank you
regards.
AA
Akshaya Arivoli
Syncfusion Team
December 18, 2020 11:28 AM UTC
Hi Aitlahmid,
Thank you for your update.
We are currently creating the Environment with French culture to reproduce the issue from our side. We will update you with further details on December 22, 2020
Regards,
Akshaya
AA
Akshaya Arivoli
Syncfusion Team
December 21, 2020 04:18 PM UTC
Hi Aitlahmid,
We will implement this feature and it will be included in our Volume 1 2021 release, Which will be at the end of March 2021. You can also track the status of the issue by using the below link
Regards,
Akshaya
DM
Dhivyabharathi Mohan
Syncfusion Team
December 20, 2021 11:26 AM UTC
Hi Aitlahmid,
We have included the feature implementation in our volume 1 release V19.1.0.54. Kindly upgrade to that version to get the feature implementation.
Packages:
|
Blazor Client |
|
|
Blazor Sever |
|
|
Service side package |
ASP.NET Core :
https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Core.Windows/ https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Core.Linux/
ASP.NET MVC:
|
Regards,
Dhivya.
SIGN IN To post a reply.
- 9 Replies
- 3 Participants
-
AI aitlahmid
- Dec 9, 2020 01:39 PM UTC
- Dec 20, 2021 11:26 AM UTC