How to rename categories?
In webapp 3.4 when I tag an email with a category, if it’s the first time I’ve used that particular category I’m given an option to rename the category eg. ‘Red category’ > ‘Super important!’. However I can’t find any way to change the main category names after that.
I’ve right-clicked on the ‘category area’ in the mail list view, and gone to Categories > Manage Categories. This window allows me to rename some of the categories by hovering over them and clicking on the pencil icon, but the top 6 can’t be edited or deleted. This is a pain because I made a typo in my red category (when I was prompted for a name the first time I used it), and when I tap the flag icon in the mail client on my tablet (Gmail app), it “translates” to the red category when viewed in the Kopano webapp even when I’ve unpinned that category from the quick-list from within Manage Categories.
Those default categories can only be renamed once.
Let’s say you have some items with a red flag and you migrate to the latest WebApp. You click on the red category and you give it a new name, lets call it “Red1”. All the items will become red with the name “Red1”.
If it was possible to rename “Red1” to “Red” the old items (which had the red flag) will be updated, but the new items created in the newest WebApp version lose that red color. In the future when you might be able to filter on categories more horrible scenarios can be imagined.
You can however remove the persistent setting on the server for a user. Use it at your own risk.
import kopano from MAPI.Util import * import sys # Define the persistent setting property PR_EC_WEBAPP_PERSISTENT_SETTINGS_JSON = PROP_TAG(PT_STRING8, PR_EC_BASE+0x74) parser = kopano.parser('skp') parser.add_option("-u", dest="user", action="store", help="Username") parser.add_option("-d", dest="delete", action='store_true', help="delete persistent setting") parser, args = parser.parse_args() server = kopano.Server(parser) if parser.user: user = server.user(parser.user) # Define the prop in users store try: prop = user.store.prop(PR_EC_WEBAPP_PERSISTENT_SETTINGS_JSON) except Exception: print "Property does not exist in store" sys.exit() if parser.delete: try: # Delete the persistent setting property user.store.delete(prop) print "Property deleted" except Exception: print "Property does not exist in store" sys.exit()
Last but not least I’ve created a ticket to show an extra dialog in this renaming process: