Action

Update_projects

Posted by tommertron, Last update almost 3 years ago

This action will replace the contents of a specified Draft file with a list of projects (or whatever text is passed to it). This Draft will be used with the “Pick a Project” action that lets you pick a Things project from a list and pass the draft to that project.

Steps

  • script

    // Note - on line 2 replace everything between the quotation marks with the UUID of the draft containing your list of projects
    let d = Draft.find("PROJECTS-DRAFT-UUID");
    d.content = draft.content;
    d.update();

Options

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