# Annotations going to Readonly mode when accessed the same webviewer from multiple clients

**URL:** <https://pdfjs.community/t/annotations-going-to-readonly-mode-when-accessed-the-same-webviewer-from-multiple-clients/543>\
**Category:** Technical Support\
**Created:** [March 1, 2021, 4:12am UTC](https://pdfjs.community/t/annotations-going-to-readonly-mode-when-accessed-the-same-webviewer-from-multiple-clients/543 "2021-03-01T04:12:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kiran.patil](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kiran.patil](https://pdfjs.community/u/kiran.patil)\
**Post date:** [March 7, 2021, 7:39am UTC](https://pdfjs.community/t/annotations-going-to-readonly-mode-when-accessed-the-same-webviewer-from-multiple-clients/543/3 "2021-03-07T07:39:53Z")

</div>

Hi Logan,

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/7b9596eefc6471a67524c29046c58c124c1c8ad7.png)  
Here you can see in the above screenshot, that some are in readOnly state and some are in editing state. I have selected all the annotations. Here `instance.setReadOnly(false)`. Note that my selection color is purple.

1. Random.
2. Every document
3. For export annotations, I use `instance.annotManager.exportAnnotations()` and same for import `Instance.annotManager.importAnnotations()`

This is causing too much of problems for us. An urgent fix is needed for this.

Can we manually set those un-editable(read-only) annotations to editable ?

Also I am able to draw/perform operations over annotations where some annotations are in read-only mode. So this understands that `instance.setReadOnly()` is false. Now why some annotations are different ?

Please note that after migrating to 7.3.1, we have cleared all the previous data.

Here is the annotation - (Here readonly is false, still it appears as readOnly as i am unable to edit/move it)

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/114644b18a87bd771d185e3a82870fbed1a897b5.png)  
And its xfdf -  
 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/8c381466d721c2d639c42e17e77db5d12f0ba6e3.png)

I have seen in my testing that if I copy this xfdf then that annotation also goes into readonly/viewOnly mode.

Thanks  
Kiran

---

_[View the full topic](https://pdfjs.community/t/annotations-going-to-readonly-mode-when-accessed-the-same-webviewer-from-multiple-clients/543)._
