Action

Archive and Make New Draft

Posted by nathanblawrence, Last update over 6 years ago

Archive the current draft and set up a new blank one for your immediate use!

Steps

  • script

    // See online documentation for examples
    // http://getdrafts.com/scripting
    
    draft.isArchived = true;
    draft.update();
    
    editor.new();
    editor.activate();

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.