Expand my Community achievements bar.

SOLVED

Scaffolding question, how to handle changes to the scaffold.

Avatar

Level 1

Scaffolding is a great way to provide a way for end user to create predefined pages like for instance, news pages.

Now suppose you have created your scaffold with just 2 fields:

  • title
  • content

You put the scaffold in production and it is used heavily by the end users, to create news pages. Unfortunately after a while your business user is like, 'I want to add a category as well'. Np, let's just change the scaffold and template to provide this functionality :-).

Question here is, what does this mean for the already created content (pages)? Is there a way to regenerate the created pages. What is the way to go here?

Next to that I wonder if it would be more interesting to create a more dynamic component that just renders the data in stead of create real pages using scaffolding.

Any thougths on this, anybody?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Here is the documentation:

http://dev.day.com/docs/en/cq/current/wcm/scaffolding.html

When you change the Scaffolding Template- the existing pages are updated.  Therefore -- any new content added to the template is reflected in the page. 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Here is the documentation:

http://dev.day.com/docs/en/cq/current/wcm/scaffolding.html

When you change the Scaffolding Template- the existing pages are updated.  Therefore -- any new content added to the template is reflected in the page. 

Avatar

Level 1

Thanks for the intel.

Is it also possible to leverage scaffolding on the publisher side. Suppose you want to enable end-users to be able to create pages themselves like on a mini site for instance?