+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Workflow and Permissions for Shared Content blocks

Workflow and Permissions for Shared Content blocks

7 posts, 0 answered
  1. David Arnold
    David Arnold avatar
    13 posts
    Registered:
    31 Jul 2009
    10 Sep 2012
    Link to this post
    I've created a 2 level workflow for a 5.1 site. Everything seems to work except for Content blocks. The shared content blocks seem to ignore workflow. The only button available is "save changes" no matter if the user has the ability to publish to a page. 

    I suspect it is a permissions problem but Content blocks is not listed in the items that I can set permissions for. 

    How can I get my workflow/permissions to apply to these shared Content Blocks?
  2. David
    David avatar
    16 posts
    Registered:
    10 Apr 2012
    18 Sep 2012
    Link to this post
    Any luck with resolving this?  I'm curious about this, too.
  3. Brandon
    Brandon avatar
    5 posts
    Registered:
    27 Apr 2012
    04 Apr 2013 in reply to David
    Link to this post
    I would also like to know if there is an answer to this question.

    We have a need to apply a workflow to Content Blocks
  4. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    21 Nov 2016
    09 Apr 2013
    Link to this post
    Hello Brandon,

    Unfortunately the Content Blocks module does not support Workflow.

    As an alternative you can try creating a dynamic module using our Module Builder and migrate the content to that module, if having permissions and workflow is an essential requirement for this project.

    All the best,
    Stefani Tacheva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    26 Jul 2013
    Link to this post
    it looks like this is still the case, which is okay but I'm curious: is there a way to tell programmatically if a content module supports workflow? is this a property or flag that I can access to determine if I should publish an item through the workflow before I try to do so?
  6. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    26 Jul 2013
    Link to this post
    aha never mind, I got it! just look for a defined workflow in the WorkflowConfig for a contentype that matches the desired content item type:

    // determine if this content type requires workflow
    var workflowCofing = Config.Get<WorkflowConfig>();
    var requiresWorkflow = workflowCofing.Workflows.Elements.Any(w => w.ContentType == contentType.FullName);
  7. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    21 Nov 2016
    31 Jul 2013
    Link to this post
    Hello Josh,

    I am glad to hear that you managed to find a solution. Thank you for sharing it.

    Regards,
    Stefani Tacheva
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
7 posts, 0 answered