Action to tag a draft with a specific tag


#1

New drafts user here so apologies if there is a really simple solution this. I want to create an action that tags my current draft with a set tag. Eg Work.

I assume that I’ll need to use something similar to this script but this is for a New document rather than the current one.

let d = Draft.create();
d.addTag(“home”);
d.update();
editor.load(d);


#2

No scripting and no steps required.

With scripting, just this for current draft:

draft.addTag("home");
draft.update();

Hope that helps.


#3

Why didn’t I notice that! Thanks!