# Ignition 8.1 Copy Document tag Data

**URL:** <https://forum.inductiveautomation.com/t/ignition-8-1-copy-document-tag-data/55098>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [January 18, 2022, 8:42am UTC](https://forum.inductiveautomation.com/t/ignition-8-1-copy-document-tag-data/55098 "2022-01-18T08:42:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew\_Hunt](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Matthew\_Hunt](https://forum.inductiveautomation.com/u/Matthew_Hunt)\
**Post date:** [January 18, 2022, 8:42am UTC](https://forum.inductiveautomation.com/t/ignition-8-1-copy-document-tag-data/55098/1 "2022-01-18T08:42:47Z")

</div>

I wasn’t able to find any easy way to extract the data from a Document tag that was created by Browsing the OPC. There was also someone else on the forum with the same issue but there was no solution as the document tag was empty when trying to Edit raw.

This is an easy workaround to get the data structure populated with values that works well until a more UX oriented way of doing this is implemented.

---

<div class="post-metadata">

**Author:** ![Matthew\_Hunt](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Matthew\_Hunt](https://forum.inductiveautomation.com/u/Matthew_Hunt)\
**Post date:** [January 18, 2022, 8:44am UTC](https://forum.inductiveautomation.com/t/ignition-8-1-copy-document-tag-data/55098/2 "2022-01-18T08:44:27Z")

</div>

Solution:

Open the Script Console and type  
`system.tag.readBlocking("{TagPath}")[0].value`  
Replace the {TagPath} with the actual tag path to the Document tag you want to read.  
You get the path by right clicking the tag and clicking copy path.

Example:  
`system.tag.readBlocking("[default]drive/source")[0].value`
