Submitted by WayneK on 2019/09/26 18:14
I just lost a Tag from the Tags grid.  It just suddenly blinked out and disappeared in the same way I was losing grid items a while back. 
 
I found the tag using search and was able to restore it to the Tags grid but it will not show up in the Tags pane and it appears it has lost all its assignments (I checked a lot of items that should have the tag and they're all missing the tag).
 
Would like to see if any assignments are still active but don't know how to do that if it won't show up in the Tags pane.  Since it has lost assignments I guess I'll have to start over with a new Tag.
 
Fairly disturbing because there's a lot of work involved in making tag assignments. 
 
Anyone else have this happen or have a preventative or remedy?  When I had the problem with items disappearing, I created a network of backup grids.  Maybe I need to do something like that for tags, too (eg a checkmark field for each tag) but that would probably be time-consuming and cumbersome.
 
Wayne 114c

Comments

Hi Wayne,
 
There must be something you do that causes items to "disappear" from grids. It would useful if we can identify the underlying cause.
 
That said, Tags are like any other items with values for the fields Tags and TagID. Tags are also automatically locked, preventing deleting the item
 
If you found your missing tag item, did it still have the TagID value ?
 
p.s. To have the tag item show up in the Tags pane, set the field Tags to checked
 
Pierre_Admin
IQ Designer
 

WayneK

2019/09/26 18:44

In reply to by Pierre_Admin

Pierre,
 
We spent a lot of time on that before, including sending you my database file, but don't think we ever determined the cause.  It tended to happen after selecting a column of items, then clicking on one item: all items would disappear.
 
It has been much better for months now so I don't think it's worth pursuing.  The tag deletion is the first incident dealing with tags.
 
Yes, it still has the TagID number.
I don't know what "set the field Tags to checked" means.
 
Wayne
 

Pierre_Admin

2019/09/26 19:17

In reply to by WayneK

[quote=WayneK]
I don't know what "set the field Tags to checked" means.
[/quote]
In the tags grid, show the Tags column and ensure it is checked for all items that you want to see in the Tags pane. It is that simple
 
Pierre_Admin
IQ Designer
 

WayneK

2019/09/26 19:49

In reply to by WayneK

OK, got it (duh).  
 
I checked it in the Tags grid and now it's showing up in the Tags pane. 
 
I was pretty sure that I had lost assignments because it has zero assignments and I was confident that it should based on the  amount of tagging work I've done.
 
But  I just did a test that shows otherwise:
 
1) created a test tag
2) assigned the tag to a test item
3) removed the test tag from the Tags grid
4) it disappeared from the tags pane and the test item lost the tag assignment
5) found the removed tag, moved it back to the Tags pane, and it showed up in the grid AND the test item regained its tag assignment
 
That makes me feel a lot better.  Thanks for your help.
 
Wayne

Pierre_Admin

2019/09/26 20:29

In reply to by WayneK

[quote=WayneK]
I was pretty sure that I had lost assignments because it has zero assignments and I was confident that it should based on the  amount of tagging work I've done.
[/quote]
Check a back-up and report back. Items should not lose tag assignment
(unless you do a Database > Repair, which "may" do the clean up, I'm not sure, would need to check the code to confirm)
 
Pierre_Admin
IQ Designer
 

WayneK

2019/09/26 20:52

In reply to by WayneK

I checked the backup: it has the tag assignments (56 of them).
 
Returned to my current file, and now it has the assignments, too.  I know I refreshed the list earlier and it was still showing 0 assignments,   Whatever it was, I'm back to normal now.
 
Good to have confirmation that assignments aren't lost.
 
Wayne
 

OK, I think I have a backup plan that will let me feel more secure about not losing tag assignments.
 
1) Create a grid for each major tag category (source = #tagname; grid name = T-Tagname)
2) Inside the grid create a new checkmark field for backup = T-Tagname-bup
3) Autoassign all tag grid items to the backup grid
4) If a tag is lost, recreate it, then use the backup grid to re-assign it to items.
 
The above doesn't preserve subtag structure but that is easier to recreate once the top level items are gathered.  I've been moving away from subtags anyway in favor of organizing within the tag grid using additional columns etc.
 
Wayne
 

Tom

2019/09/26 19:10

In reply to by WayneK

Just in case:
Do you do regular backups as well Wayne?
When I used IQ for work I was backing it up extremely regulary. IQ has good backup options -- I also used Syncovery backup programme to back it up regularly.
 
Of course if you have to go back to a backup where you have made many changes since that time, you've got some problems. And that backup will start making backups in turn (why I keep the time-stamp in the name of the restored backup). So there may be work involved, but your data should be there...

Pierre_Admin

2019/09/26 19:21

In reply to by Tom

Indeed, opening a backup and double click the tag in question will show all items that have it checked. Then in your current database, you can assign the tag for these items
 
But... this really isn't needed as you can simple turn the Tags field-value to checked state to instantly restore the tags  (as I wrote above)
 
Pierre_Admin
IQ Designer
 

WayneK

2019/09/26 21:10

In reply to by Tom

Yes, I back up every 10 minutes.  As noted above, Pierre is right: the assignments re-appear when the tag is re-assigned to the Tags grid, though mine did so only after a delay, for some reason.
 
Wayne