View Full Version : How do remove paper types from the database?
10-18-2004, 11:30 PM
How do remove paper types from the database?
10-19-2004, 12:15 AM
In GoBinder paper types are defined in xml-files.
To remove some of them, go to %programs%\Agilix\GoBinder\PaperTypes and delete/remove the corresponding xml file.
If you are not shure wich one to delete, open them with a text editor or Internet Explorer and look for the line
<paperType ... displayname="xyz" ...
where "xyz" is the name you see in GoBinder.
Restart GoBinder and the paper(s) should be gone :-)
10-19-2004, 12:27 AM
I have already tried that. They still exist in the Change Paper Types dialog box.
10-19-2004, 12:58 AM
Unfortunetly, once paper types are in, you can't get them out using the GoBinder interface. Even if you export & re-import they are still there.
Currently to do so you have to use a not-so-friendly low level tool called "DbUtil.exe". Here's how:
<<Caution: If you delete a paper type that is used by some note, you will never be able to view that note again.>>
1. Run "DbUtil.exe" from the "c:\program files\agilix\gobinder" directory.
2. Type in "opendlg".
3. Find the database file you wish to edit.
4. Change directory to 1Planner by typing "cd 1planner"
5. Change directory to PaperTypes by typing "cd PaperTypes"
6. Type in "dir" to see a list of files.
7. Type in "del MyPaperType" to remove the paper type you no longer need.
10-19-2004, 01:05 AM
Is there a plan to fix this? When developing a new paper type, I end up with a lot of paper types that I don't use. Saving over the existing paper type doesn't work and I end up having to create a new name for it.
In addition, can you fix it so that if GoBinder doesn't find a papertype after its' been removed, you default the note to an internal paper type so the note isn't lost?
10-19-2004, 05:14 PM
Admittedly the paper types feature is rough around the edges. It's on the list of things to fix, for sure, but we don't have current plans to release fixes for these problems before the next major release.
For those who may not have read this forum last year or don't remember the history around paper types, we never intended to publish the XML format until such popular demand for additional types, we decided to expose the process for creating them along with all the ugliness that accompanies it. Creating new paper types is a use-at-your-own risk feature, and any you create now may not be supported in future versions.
That said, we'll do our best to help preserve your notes and ink, even if the paper type is missing. I can't say for sure how this will work.
Ooo, I will have to be careful with custom papertypes. I wasn't aware that you could destroy all notes that used it by deleting that papertype. I second the suggestion to default to 'blank' or some other standard type.
10-20-2004, 03:02 AM
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.