Get all existing tags of current user

Interested in talking about Mash-up's? This is the place.
Post Reply
zimdoh
Posts: 1
Joined: Thu Nov 15, 2018 10:48 am

Get all existing tags of current user

Post by zimdoh »

For my zimlet project i need to ensure a specific tag exists for the current user.

How can i query the list of available/existing user-tags?

If i just try to create the taq (using ZmTag.create)i run into an error if the tag already exists

Code: Select all

An object with that name already exists.
method:	[unknown]
msg:	object with that name already exists: TAGNAME
code:	mail.ALREADY_EXISTS
detail:	soap:Sender
trace:	qtp1684106402-5086:1542373189895:2c076f85fc378391


Or is there a way to handle this exception?
User avatar
barrydegraaff
Zimbra Employee
Zimbra Employee
Posts: 242
Joined: Tue Jun 17, 2014 3:31 am
Contact:

Re: Get all existing tags of current user

Post by barrydegraaff »

Post Reply