Providing submit for approval button in Designer Tab

Khathun s asked on April 3, 2017 07:11


I have a Designer role in my work flow,I gave permission to edit only Design Tab, but I want to save changes post approval only how can I provide Submit for approval button in designer tab? Please help me.

Correct Answer

Chetan Sharma answered on April 3, 2017 10:56

Hi Kathun, Workflow is for content pages. Templates are treated as objects in Kentico and for objects we have Object versioning. So to answer your question.

You can't have Workflow for Objects in your case Templates.

Thanks, Chetan

0 votesVote for this answer Unmark Correct answer

Recent Answers

Roman Hutnyk answered on April 3, 2017 08:45 (last edited on April 3, 2017 10:35)

You can assign workflow (submit for approval is a workflow step) to pages. On the design tab you do not modify page, but page template, so you can NOT add/apply workflow on the design tab.

If you need a role that will modify page layout, add new controls into it - consider widget zones and widgets.

0 votesVote for this answer Mark as a Correct answer

Khathun s answered on April 3, 2017 10:23


Thank you for your response, I have created work flow step, but it is appearing in pages Tab and Form tab not in design tab? I want approval for designer role Designer will edit the zone and templates? Please help me..

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on April 3, 2017 17:35

Workflows sadly only apply to Pages.

Here are some options if you wish to do object 'workflow'

  1. Have a staging environment where you allow Designer to modify templates, but don't allow them access to the Staging module. They can make changes, then the reviewer reviews the changes and pushes the page template.
  2. Set up a Development environment and configure it for Continuous Integration, so any object changes need to be checked into source control where an administrator can see, then approve them to be pushed to the master. Then export the objects through the Site-> Export Objects and export the page template, and import it into your live site.
  3. Complicated, so breaking it down:
    • Add Checkin/Checkout to objects
    • Use Global Event Listeners to catch a "Check in" on Page Templates
    • If the role is "Designer" programatically...
      • Cancel the Check in
      • Trigger an email to your moderators to review the item
      • Add a note that "Page Template X is in review" (custom module or custom table)
      • The reviewer would then set an "Approve" flag on your custom module/custom table
      • Designer can then check in

A bit convoluted i know, but you would have to recreate the workflow a bit for objects.

I think #1 is probably the best and easiest way.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.