Action

Add to existing list

Last update over 6 years ago

Add current draft contents to a list in an existing draft, based on the UUID

Steps

  • script

    // get text to append
    const myText = "\n[ ] " + editor.getText();
    
    // get the target Draft and append the text
    var myTarget = Draft.find("UUID");
    myTarget.content += myText;
    myTarget.update();

Options

  • After Success Default
    Notification Info
    Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.