Allow Type of Content to be set dynamically

Any chance we can have that?
Set Type of Content dynamically to elements, instead of creating a bunch of hidden groups to display different type of content?
As it stands, I need 4 different groups on the same page to display 1 field across 4 different Types of Content.
It would be very nice and clean and “write less code”-ly to have one group and just change it’s Type of Content on workflow request.

Can you explain a little bit more your case?
Often, the issue is on DB design…

Sure. I have 4 DataTypes: Action, Role, Goal, Project.
I need to pull information fields which are pretty much the same and display them on the page.
Let’s say name, description, data, goals, projects, roles - most of them are type text.
However, I can’t use the same group to pull that data, since it needs Content Type. I need 4 different display groups.

What if you set content type to text?

Have you thought about creating a reusable element that takes the name/description/data etc as text properties, and displaying those? That way, you will reuse the same UI for multiple data types.

1 Like