# Tag import export

**URL:** <https://forum.inductiveautomation.com/t/tag-import-export/4461>\
**Category:** Ignition\
**Created:** [May 14, 2012, 9:15am UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461 "2012-05-14T09:15:08Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![marioquark](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@marioquark](https://forum.inductiveautomation.com/u/marioquark)\
**Post date:** [May 14, 2012, 9:15am UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/1 "2012-05-14T09:15:08Z")

</div>

importing a client tag previously exported on file: [quote]com.inductiveautomation.ignition.designer.sqltags.action.ImportTagAction$ImportException: Error on row 3: Cannot coerce value ‘Dataset [0R ⅹ 2C]’ into type: interface com.inductiveautomation.ignition.common.Dataset  
at com.inductiveautomation.ignition.designer.sqltags.action.ImportTagAction$CSVTagImporter.run(ImportTagAction.java:286)  
at com.inductiveautomation.ignition.client.util.gui.progress.ClientProgressManager$ClientRunningTask.run(ClientProgressManager.java:544)  
at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:526)  
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)  
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)  
at java.util.concurrent.FutureTask.run(Unknown Source)  
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)  
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at java.lang.Thread.run(Unknown Source)  
Caused by: java.lang.ClassCastException: Cannot coerce value ‘Dataset [0R ⅹ 2C]’ into type: interface com.inductiveautomation.ignition.common.Dataset  
at com.inductiveautomation.ignition.common.TypeUtilities.coerce(TypeUtilities.java:1120)  
at com.inductiveautomation.ignition.designer.sqltags.action.ImportTagAction$CSVTagImporter.tagFromRow(ImportTagAction.java:393)  
at com.inductiveautomation.ignition.designer.sqltags.action.ImportTagAction$CSVTagImporter.run(ImportTagAction.java:194)  
… 10 more

Ignition v7.4.2 (b953)  
Java: Sun Microsystems Inc. 1.6.0\_31  
[/quote]

---

<div class="post-metadata">

**Author:** ![Michael.Stofan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.stofan/32/3342_2.png) [@Michael.Stofan](https://forum.inductiveautomation.com/u/Michael.Stofan)\
**Post date:** [May 14, 2012, 7:53pm UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/2 "2012-05-14T19:53:45Z")

</div>

Looks like I’ve been able to reproduce the issue. I’ll talk with the Dev Team and create a Bug Report if need be. Thanks for bringing this to our attention!

---

<div class="post-metadata">

**Author:** ![marioquark](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@marioquark](https://forum.inductiveautomation.com/u/marioquark)\
**Post date:** [May 15, 2012, 7:22am UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/3 "2012-05-15T07:22:29Z")

</div>

ok thanks.  
i need to import a subset of client tags from another proj, but importing by file deletes all other client tags.  
copy/pase from another opened designer doesn’t work…  
…how can i paste a set of client tags from another project?  
tnx

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [May 15, 2012, 4:58pm UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/4 "2012-05-15T16:58:00Z")

</div>

Well, if you open two designers you can copy and paste between them.

---

<div class="post-metadata">

**Author:** ![marioquark](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@marioquark](https://forum.inductiveautomation.com/u/marioquark)\
**Post date:** [May 15, 2012, 5:24pm UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/5 "2012-05-15T17:24:01Z")

</div>

it doesn’t work for client tags ☹ i use the latest version

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [May 15, 2012, 5:35pm UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/6 "2012-05-15T17:35:54Z")

</div>

Hmm, that works for me. Can you copy and paste within one designer? I know that makes a duplicate copy but just trying to see if you can do that.

---

<div class="post-metadata">

**Author:** ![marioquark](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@marioquark](https://forum.inductiveautomation.com/u/marioquark)\
**Post date:** [May 16, 2012, 9:03am UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/7 "2012-05-16T09:03:48Z")

</div>

😮 verified: i can copy and paste within one designer but not between two.

---

<div class="post-metadata">

**Author:** ![marioquark](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@marioquark](https://forum.inductiveautomation.com/u/marioquark)\
**Post date:** [May 24, 2012, 11:52am UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/8 "2012-05-24T11:52:37Z")

</div>

up 😐

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [May 24, 2012, 3:19pm UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/9 "2012-05-24T15:19:22Z")

</div>

Ok, how about this. In the designer choose File \> Export… from the menu. Choose only clients tags and try importing that into the second designer.

---

<div class="post-metadata">

**Author:** ![marioquark](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@marioquark](https://forum.inductiveautomation.com/u/marioquark)\
**Post date:** [May 24, 2012, 4:00pm UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/10 "2012-05-24T16:00:06Z")

</div>

i’m introducing some tags in every project and i’ve also configured client tag values in the existing ones.  
if i import “Client Tags” any existing tag value will be overwritten.

…i think in my situation the only method is to fix the selective export of client tags feature or to fix the copy/paste tags from another opened designer.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [May 24, 2012, 4:21pm UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/11 "2012-05-24T16:21:31Z")

</div>

Yes, there is a ticket in to fix that. We will let you know when it is fixed.

---

<div class="post-metadata">

**Author:** ![marioquark](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@marioquark](https://forum.inductiveautomation.com/u/marioquark)\
**Post date:** [July 18, 2012, 4:01pm UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/12 "2012-07-18T16:01:28Z")

</div>

when i paste a client tag (copied from another opened designer) i get:

`WARN [main-AWT-EventQueue-0] Error - clipboard busy
java.lang.IllegalStateException: cannot open system clipboard
	at sun.awt.windows.WClipboard.openClipboard(Native Method)
	at sun.awt.datatransfer.SunClipboard.getClipboardFormatsOpenClose(Unknown Source)
	at sun.awt.datatransfer.SunClipboard.getAvailableDataFlavors(Unknown Source)
	at com.inductiveautomation.ignition.designer.sqltags.dialog.TagBrowserPanel$TagBrowserActionHandler.canPaste(TagBrowserPanel.java:463)
	at com.inductiveautomation.ignition.designer.IgnitionDesigner$Handler$2$1$1.run(IgnitionDesigner.java:1497)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
`

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [July 27, 2012, 11:48pm UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/13 "2012-07-27T23:48:20Z")

</div>

I believe that is a transient error that occurs when one tries to use the clipboard but another process has it locked. Does this happen all the time?

---

<div class="post-metadata">

**Author:** ![marioquark](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@marioquark](https://forum.inductiveautomation.com/u/marioquark)\
**Post date:** [September 5, 2012, 8:57am UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/14 "2012-09-05T08:57:34Z")

</div>

even if i read the latest version had some bug fixing in this direction, i still have the same problem 😕

[quote]com.inductiveautomation.ignition.designer.sqltags.action.ImportTagAction$ImportException: Error on row 3: Cannot coerce value ‘Dataset [295R ⅹ 2C]’ into type: interface com.inductiveautomation.ignition.common.Dataset  
Ignition v7.5.2 (b1146)  
Java: Sun Microsystems Inc. 1.6.0\_33  
[/quote]

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [September 5, 2012, 11:44pm UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/15 "2012-09-05T23:44:26Z")

</div>

So is this exactly the same problem again? We are looking into it.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [September 6, 2012, 12:00am UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/16 "2012-09-06T00:00:49Z")

</div>

There are two problems here.

1. Dataset-valued tags are not supported in CSV import/export
2. Copy-paste doesn’t work between designers.

I’m looking into fixing #2

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [September 6, 2012, 12:38am UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/17 "2012-09-06T00:38:52Z")

</div>

Ok, copying and pasting client tags between designers works in 7.5.3

---

<div class="post-metadata">

**Author:** ![marioquark](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@marioquark](https://forum.inductiveautomation.com/u/marioquark)\
**Post date:** [September 6, 2012, 7:20am UTC](https://forum.inductiveautomation.com/t/tag-import-export/4461/18 "2012-09-06T07:20:33Z")

</div>

yes it is.  
tnx
