Hey all, I published a new package. It's
# news
d
Hey all, I published a new package. It's a content generator! It creates randomized content and works as a developer tool to easily create some content to test your work with. It's a useful addition that can help you to identify weaknesses in your backoffice design. It's released as a beta so you can check it out and see if it's useful for you: https://github.com/Infocaster/ContentGenerator It works for Umbraco 10 and 13.
j
Sounds great! What kind of content does it create? Does it generate doctypes or pick from the allowed child types fx?
d
It may generate any kind of document type and it simply fills it with random content, lorem ipsum, random picked content, random media items etc. Here's a screenshot of the UI: https://cdn.discordapp.com/attachments/1197498652361506846/1197500466838376590/image.png?ex=65bb7e37&is=65a90937&hm=fb5e8e3ad2363259ce0809df3567824ac747f0c10d950e8c934682fae8f11c33&
So you can pick one or more document types to generate, the amount of document types it generates, behaviour on optional fields and optionally a random seed if you want consistent results.
It creates new documents below a selected parent
It attempts to adhere as much as possible to the settings that you configure on your datatypes. That is: it should only fill content pickers with content below a configured node and of the configured content types, same for media. It also only creates blocks in blocklists of types that you configured on that specific blocklist and it adheres to minimum and maximum
The aim is to be as extendable as possible so that you can easily create your own generators for non-core property types like contentment or custom property editors
Or you can overwrite existing generators to add different behaviours for existing data types.
The list of content types comes from the allowed child types, yes... Forgot to mention that 😅
3 Views