You are viewing limited content. For full access, please sign in.

Question

Question

Workflow: Generate a Tag

asked on August 21, 2020

I want to generate dynamic Security tags for files that come in with certain metadata sets. Is there a way in Workflow or with the SDK to create a tag?

0 0

Answer

SELECTED ANSWER
replied on August 25, 2020

Here is some basic C# for creating a new tag:

 

var newTag = new TagInfo();
newTag.Name = "Tag to create";
newTag.Description = "Description of new tag";
newTag.IsSecure = true;

bool autoRenameTag = true;
Tag.Create(newTag,autoRenameTag,RASession);

If you check the LF Administration Console after running this you'll see this:

There are other options for modifying other tag settings (see below), so the above code is a good starting point if nothing else.

1 0
replied on August 25, 2020

Thank you!

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.