CreateChildDraftRoles field in mp_Pages

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
2/5/2014 8:09:29 PM
Gravatar
Total Posts 190

CreateChildDraftRoles field in mp_Pages

Hi Joe,

Is the CreateChildDraftRoles field in mp_Pages for a yet-to-be implemented feature, or is this field to DraftEditRoles as CreateChildPageRoles is to EditRoles? If so I see no place in the GUI to set it.

Many thanks,

John

(PS Does "DraftApprovalRoles" do anything yet?)

2/6/2014 11:08:50 AM
Gravatar
Total Posts 18439

Re: CreateChildDraftRoles field in mp_Pages

CreateChildDraftRoles exists in the database for possible future use, not sure when it may be used. This is basically true for any field you may see in the database that is not surfaced in the UI. Since we support so many database platforms the mutliple data layerts we must implement are a good bit of work so when adding a new column for example it is better not to do a separate process for each new field but add a few fields at a time when possible so sometimes we think of things we may need in the future and add those fields at the same time as another field which we intend to use right away for something we are working on right at the moment.

DraftApprovalRoles is surfaced to the UI and as far as I know it is implemented and working. Members of those roles should get notification of content submitted for approval on pages where those roles are in place and where workflow is enabled. However to approve content a user must also be in an allowed view role and probably also an allowed edit role. Also workflow is only currently implemented int he HTML content feature so these roles only apply for that feature.

Hope that helps,

Joe

2/6/2014 1:55:34 PM
Gravatar
Total Posts 190

Re: CreateChildDraftRoles field in mp_Pages

thanks Joe. I thought maybe that was just a 'future use' field. However, maybe I'm being a little dense here, but I don't see where DraftApprovalRoles is in the UI or how you would assign that permisson.

2/6/2014 2:10:17 PM
Gravatar
Total Posts 18439

Re: CreateChildDraftRoles field in mp_Pages

ok, I looked into this and DraftApprovalRoles is not used by default, by default users in the edit roles for the page are the approvers of draft submissions and approval results in publishing the draft.

But there is an optional way to have a 3 step process where approval is a separate step from publishing and users in the roles will get notified of submissions.

To enable this optional 3 stage way of using workflow you would add this to user.config:

<add key="Use3LevelContentWorkflow" value="true" />

Then the draft approval roles should appear under security in page settings.

This was something Joe Davis implemented a while ago to meet one of his client's requirements, I have not tested it thoroughly myself.

2/6/2014 2:52:31 PM
Gravatar
Total Posts 190

Re: CreateChildDraftRoles field in mp_Pages

Aha. Que bueno!

2/6/2014 7:59:36 PM
Gravatar
Total Posts 2253

Re: CreateChildDraftRoles field in mp_Pages

Hi John!

The 3-Level workflow works quite well and we have a few sites running it. It's really useful for large organizations who may want only a few people to actually publish content but several able to approve content. This makes the job of the publisher a little bit easier as they do not need to review the content quite as closely for content accuracy (which would be done by the approver) but more for aesthetics or policy adherence (not using Google Docs on sites is a big one these days with some of my clients). 3-Level workflow is also nice if you just want that extra set of eyes on content before it's published.

If you have any questions regarding 3-Level workflow, let me know. I hope to get around to documenting it soon. I finished it like a year ago so I really should document it.

HTH,
Joe D. 

You must sign in to post in the forums. This thread is closed to new posts.