Publishing Triggers
I was fooling around with the publishing trigger feature and I am not sure how to do what I am wanting to do but then again I have never used the work flow builder or the publishing trigger before so maybe I am in the wrong place.
Is there a way to trigger a task that whenever a child folder is published cascade also publishes an additional list of folders/pages/assets? Another option would be that when a child folder is published its parent folder and all its contents gets published. Which would include the child folder by default. Make sense?
Thanks for your help.
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by bwmyers on 23 Mar, 2016 10:51 PM
I ask because I am trying to make this as simple as possible for the end user. Its a blog set up that has two modes. Category and all. A list of articles makes up the home page which also feeds the categories view. So if someone adds an article I want to be able to have them publish their page and it triggers the other views to publish also.
Support Staff 2 Posted by Tim on 24 Mar, 2016 01:37 PM
Hi,
Yes, you should be able to do this via Workflow. You would basically do the following:
To publish the asset in question via Workflow, you would use the Publish Trigger. Then, the Publish Set would be included by adding a Publish Set Trigger that specifies the Publish Set you want to fire at the time that the asset goes through Workflow.
To help get you started, I'm attaching a sample 'No approval' Workflow from our default database. This Workflow basically makes it so that when a User edits and submits an asset, that asset is published automatically without approval from any other Users:
To add the ability you mentioned (to publish a group of other files), you would simply add a Publish Set Trigger right after the Publish Trigger. So, for example, if your Publish Set was named 'Articles', the last step of this Workflow might look like:Let me know if this information helps at all.
Thanks
3 Posted by bwmyers on 24 Mar, 2016 05:22 PM
Thank you sir. I will give this a try and see what happens. May not be until tomorrow though before I get to it.
Support Staff 4 Posted by Tim on 24 Mar, 2016 06:00 PM
No worries. We'll wait to hear back from you.
Thanks!
Ryan Griffith closed this discussion on 14 Apr, 2016 07:39 PM.