Add documentation for page creation/import worklfow
See original GitHub issueIf someone tries to simply update a field on a page and save it like this:
page.field = value
page.save()
then it appears to work but only the live page will be updated and the editor will show the last revision that doesn’t have the most recent changes. So if I’m not mistaken this should be the following instead:
page.field = value
page.save_revision().publish()
And we should note that this doesn’t take into account unpublished pages, and published pages with unpublished content.
Issue Analytics
- State:
- Created 8 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Importing a Workflow - Commvault Documentation
The Workflows page appears. In the upper-right corner of the page, from the All tasks list, select Import Workflow. Select the workflow file ......
Read more >How to Create Workflows from Workflow Templates
To create a workflow from a workflow template · Choose the Lightbulb that opens the Tell Me feature. · Choose the New Workflow...
Read more >Use a Document Generation Template to Start a Workflow
Click Admin at the top of the page. · Click Document Generation in the sidebar. · Click the Add Configuration button. · Enter...
Read more >Importing / Exporting Projects and Workflows - Tray.io
1 - Create a demo project in the Destination account · 2 - Export the Destination account project · 3 - Open Source...
Read more >Creating workflow templates to import data | Adobe Campaign
Create a new workflow template from Resources > Templates > Workflow templates. Add the following activities: Load file: Define the expected ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Some relevant (recent-ish) Stack Overflow questions that relate to this.
https://stackoverflow.com/questions/47788080/how-can-i-create-page-and-set-its-streamfield-value-programmatically
https://stackoverflow.com/questions/47749708/is-there-any-way-to-create-and-publish-pages-by-executing-python-script-in-wagta
https://stackoverflow.com/questions/43040023/programatically-add-a-page-to-a-known-parent
It’s not ready for a PR but just to give it some structure I’ve created a draft document outlining these issues: https://docs.google.com/document/d/1nd2PugY2g1-Fsw4dHnGrUvMQQuERtvueiu2cO3wulaM/edit
I’ll try to add some concrete examples later on but I’m not really sure about quite a few points there. And I think it would be nice to have this as a separate section in the docs too.