Page 1 of 1

[Managing] Allow "empty" tags

Posted: Thu Aug 16, 2012 5:43 pm
by RSchiaffino
I would like the possibility to keep tags even when they are "empty" that is have a tag in the list even if there is no note associate with it at the moment.

I normally use CintaNotes to organize and take notes during my work as translator. The tags for my notes always follow the same pattern:

[project name]
/questions/not_asked
/questions/asked
/answers
/changes/to_make
/changes/made
/reference

I would really appreciate it if there was a way to have the tags structure from the beginning of the project, even when there are no notes attached to any or to some of the tags.

Re: [Managing]Allow "empty" tags

Posted: Fri Aug 17, 2012 6:43 am
by SibRich
In CN 1.7 and later you can create new empty tags in the tag sidebar. You can configure the tags to either remain, or auto delete when the last note with that tag is deleted.

Try right clicking in the tag side bar and creating new tags. Does this do what you want?

Re: [Managing]Allow "empty" tags

Posted: Fri Aug 17, 2012 6:46 pm
by RSchiaffino
Yes, that is exactly what I wanted... sorry, I din't realize the functionality was already there. :oops: (I should have RTFM)

Re: [Managing] Allow "empty" tags

Posted: Mon Nov 19, 2012 10:43 pm
by RSchiaffino
Sorry to return to this, but is there a way to:
1) Set the tags by default so that they don't autodelete (I know how to do this manually now)
2) Set the autodelete property for more than one tag at the time (I tried highlighting several tags, but at that point the "properties" were greyed out)

Re: [Managing] Allow "empty" tags

Posted: Wed Nov 21, 2012 10:25 am
by CintaNotes Developer
Hi Ricardo,

RSchiaffino wrote:Set the tags by default so that they don't autodelete (I know how to do this manually now)

Right now this is improssible unfortunately. Probably we can add a parameter to the settings file in future.
Also, when you add tags via right-click on the tag sidebar and selecting "New", it is created as non-autodeleted.

RSchiaffino wrote:Set the autodelete property for more than one tag at the time (I tried highlighting several tags, but at that point the "properties" were greyed out)

Also not possible, but here there are some options:
- via XML export: export all notes to XML, set the "autodelete" attributes of the needed "notebook/tags/tag" elements to either "0" or "1" as needed, then re-import XML into a new .db file.
- via SQL: to unset the autodeleted property on ALL tags, load the .db file into any SQLite manager application
and run the following SQL:

Code: Select all

UPDATE Tags SET autodeleted=0


Hope this helps!