1. Home
  2. Docs
  3. Flexie CRM Methods
  4. removeTags method

removeTags method

Method

removeTagRemoves a specific tag and preserves the other tags.

Description

Tags are a way to organize data and segment information within your company. You can generate smarts lists of Leads, Contacts etc by filtering with tags. At some point you may want to remove a tag from your Leads, Contacts if they don’t fit in a certain condition.

Minimum number of  arguments for this method is two.

Structure of the method:

removeTag(tags, newTagValue)

Parameters

tags— this matches the tags field. It will be the name of the field that you will be using to hold tags.

tagToRemove— The tag you want to remove

Examples

In the example below, we remove a tag and see how to use this method.

{{removeTag(tags, 'Email#5')%} 

//Output: will output all the tags separated by pipe without the Email#5 tag that was removed.

To stay updated with the latest features, news and how-to articles and videos, please join our group on Facebook, Flexie CRM Academy and subscribe to our YouTube channel Flexie CRM.

How can we help?