volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Possible to create default content

Pretty often functionality require multiple content to be created.

Lets say you have an invoice listing page which requires an invoice detail page below it.

Of course I can react to the publish event and set this up but it would be nice with some kind of default pages to be set up automagically.

#143701
Jan 29, 2016 8:34

Guess I'll do an addon for it :)

#143794
Feb 01, 2016 12:41
Vote:

Your requirements are a bit unclear, but you might find something useful in the Instant Templates plugin. It allows you to store "pre-created" page templates/structures that you can re-use when you need them: http://geta.no/blogg/episerver-instant-templates/

#143843
Feb 02, 2016 9:07

Very close to what I'm looking for at least. Sweet! Does it support creating hierarchy of children?

I read this issue

https://github.com/Geta/InstantTemplates/issues/10

#143848
Feb 02, 2016 9:43

Yes I think it does (as the first part of Alf's comment also seems to confirm). 

If I recall correctly, all it really does is copy a node (with all its children) when using a template. 

Try @frederikvig on Twitter or just download the plugin to confirm :-)

#143857
Feb 02, 2016 11:44

Then I'll skip on to develop another addon I guess :)
I'll check it out. Looks exactly what I had in mind. Thx!

#143977
Feb 04, 2016 9:46
error This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.