Workflow for Custom Module Data

Aaron Hayon asked on February 23, 2016 18:14

I have a situation where we have some data that needs to be displayed on the site and must go through a workflow in order to get the content approved for publishing. This data happens to have several parent/child relationships that leads me to believe that a custom module is the best implementation for this. However, I have read that custom module class data does not go through workflow. So I have a few questions.

  1. Is it true that custom module class data cannot be configured for workflow?

  2. If the above is true, then can we associate a page type as a parent to data that is captured in the module? I believe this will solve my issue of having information go through workflow and still maintain the data hierarchy.

  3. Is there another way to be able to workflow content and still retain the data hierarchy?

Thanks in advance for your help.

Aaron

Recent Answers


Roman Hutnyk answered on February 23, 2016 20:03

  1. Yes, unfortunately this is true.
  2. This is good idea in my opinion.
  3. Use Page Types instead of module classes. CMS Tree allows you to build hierarchy. Of course, many to many relation are impossible in this case
1 votesVote for this answer Mark as a Correct answer

Aaron Hayon answered on February 24, 2016 00:26

Thanks Roman, in this case I have several many-to-many relationships which will require the custom module route. I am trying to find a way to associate a given page type primary key with a field on a custom class.

0 votesVote for this answer Mark as a Correct answer

Pedro Costa answered on February 24, 2016 12:38

Couldn't you use the principals of the ecommerce module with the SKU class?

I'm not sure it's possible but it would be great if we could create a page type that is complemented with properties/details of a module class.

Is that possible, or is that ability just for SKU's?

0 votesVote for this answer Mark as a Correct answer

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