1

Sitecore 8.2.

We have a "Data" folder under each page item in which components which are on the page are stored.

We currently have only 1 workflow which we use called "Simple workflow".

When a page is submitted via the Experience Editor, it automatically submits any/all descendants so that items in the Data folder will get moved in the workflow.

The problem comes when the Home page is edited and submitted in the workflow. Because the recursive nature of the submission, every single item in the whole tree gets submitted at the same time and I don't know how to prevent that.

The workflow (and everything else) was initially setup by a 3rd party consulting company who helped us get everything going.

How do I allow a submission of the page and the page's related items from the Experience Editor? Currently it submits all child items 1 deep

Here is a screenshot of a portion of the content tree
Screenshot of content tree

UPDATE: After further testing, I found additional information which only seems more confusing to me: the depth of the recursive submission seems to be only 1 with the exception of the Data folder, where it goes at least 2 deep. See images below. I can also find no custom code developed related to the auto submission action:
Test Scenario Test Scenario submission results

10
  • Which version of Sitecore do you use? Commented Dec 4, 2018 at 20:27
  • Is the workflow using a standard action (or one with parameters you can configure), or is it purely custom code? My guess is that you'll need access to that action's source code to change it... Commented Dec 5, 2018 at 2:22
  • @PeterProcházka, It's version 8.2
    – Michael
    Commented Dec 5, 2018 at 14:46
  • @DanSinclair I'm not sure how to tell. I don't know about how the workflows are put together beyond the very basic information readily available on the web and in the developer training. If you have a good reference you can link, it would be appreciated.
    – Michael
    Commented Dec 5, 2018 at 14:47
  • 1
    Is there a way you can show a screen shot of how you have your items structured? I'm assuming that the home page is the parent of the data folder (and probably other folders)? My guess is we will need to write something custom to target only the folder or data templates you want
    – Mikeyp
    Commented Dec 5, 2018 at 21:03

1 Answer 1

0

It turns out this is actually default behavior.

See: https://jammykam.wordpress.com/2016/09/05/sitecore-8-2-managing-datasource-components-and-workflow-from-the-experience-editor/

Related items on the page will be submitted when the page is submitted to the workflow from the Experience Editor. This is configured in the Sitecore.ExperienceEditor.config file via the WebEdit.AffectWorkflowForDatasourceItems setting.

To those who tried to answer my question, I apologize. When I posted my question, I was thinking that the additional pages that were being submitted were not related to the home page, but it turns out that they are related items.

The pages that were getting submitted are datasources for one of more components on the page being submitted. I didn't realize that and therefore you had no way to know.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.