Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Duplicate/Copy a workflow
-
Neither the new template nor the new workflow buttons offer to create a template/workflow from the copied workflow.
-
This worked for me.
- Create a new template by tapping "new template" . Let the name be "my template 3".
- Copy the workflow ( tapping the title and tapping copy workflow)
- copies a URL scheme to clipboard
- Rename the template " my template 3 old"
- In safari, paste this in address bar and open(the URL scheme will be copied and it will open the editorial and create the template "my workflow 3")
-
Direct copy and paste should have worked for templates. This seems to be a bug. Here are some more notes. ( I rarely use editorial and some of the observations may not be right.)
-
You can think of templates as document creation workflows. Thiese workflows are executed when you create documents and they are listed separately from the normal workflows ( workflows created using wrench menu). But from the point of view of functionality they are the same as normal workflows. Default template workflow is to create a document and open it in editor.
-
You can create a workflow in wrench menu, copy to clipboard and paste in template. Copy command copies a URL scheme to clipboard. Installing a workflow basically run this URL scheme in safari.
-
-
@CascadeHush If we're talking about templating blocks of functionality from within workflows, then yes, presets work nicely— something I only discovered myself recently. In order to set a whole sequence of workflow steps as a preset, I've sometimes used "if" blocks as wrappers/containers. Put the steps you want to keep as a reusable block in an "if" block, set that as your preset, then unpack them in your new workflow when needed.
Almost forgot: "sub-workflow" might also be helpful in this context?
-
@omz, can you look at this bug?
-
If you copy the workflow from wrench menu workflows, and then edit a template workflow, paste appears and you can copy it by tapping on it.
-
But if you copy the workflow from template workflow and then edit another template workflow, paste does not appear and hence you can not copy it. Paste appears and you can do the copying if you do the following:: copy clipboard content to a text file, replace the "add-template" to "add-workflow" and then copy to clipboard.
-
-
@CascadeHush Here are the relevant portion of the documents about "document templates".
From the url http://omz-software.com/editorial/
Document Templates
Tired of copying and pasting boilerplate text? Simply create a template, so you don't have to start from scratch every time you create a new document.Templates are full-fledged workflows, so they can include variables, e.g. the current date/time or clipboard. You can even make templates that are based on Python scripts for a maximum of flexibility.
From the url
http://omz-software.com/editorial/docs/ios/editorial_using.html#managing-filesCreating and Managing Files
...
When you tap the + button, the template picker is shown, and you can select the type of document you’d like to create. The document templates are all empty by default, but you can easily create your own templates by tapping “New Template” at the bottom of the picker.Templates can be useful for creating documents that have a fixed format, e.g. report cards, but Editorial’s template system is actually much more powerful than that. Each template is a complete workflow that can include custom logic or even UI that is shown before or after the document is created. For example, if you prefer to enter a filename before a document is created, you can easily do this by adding a Request Text Input action before the Create Document action (which is included by default in a template workflow).
-
@enceladus said:
This worked for me.
Thanks
Here's what I ended up doing, based on your info.
1 Open the template you want to copy.
2 Copy the workflow ( tapping the title and tapping copy workflow)
3 Rename the existing template to something new (this will be the new copy)
4 In safari, paste into the address bar (this is what was copied in step 2) and open the URL which will give you the original template backI think that makes it a bit more clear what is what, for anyone who may come along in the future.
That's some pretty crazy stuff, when all we need is a copy template button, but at least I can do it.
Thanks again.
-
Wrapping in an if block might have been easier, I didn't think of that.
-
@CascadeHush you can write a workflow to modify the clipboard content after copying from template wporkflow. This will reduce the steps till @omz fixes the bug.
-
enceladus' explanation about templates is completely correct. They're essentially the same as workflows.
I'm not sure right now why there is no "Paste Workflow" option when editing a template workflow. Pasting the copied template workflow in Safari is a good workaround, though it might be even faster to paste it into Editorial's in-app browser.