Replies: 1 comment 5 replies
-
Should be able to add the settings using a settings display driver for the BagPart We did a feature like this at work and it works well, but our needs are different from most peoples. Definitely doable though. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I've created a
Content Type
namedUser
, which I intend to use in an Orchard Core headless microservice. This service will enrich the user information provided by the SSO microservice. TheUser
content type should be similar to the following JSON structure:Additionally, I've created an
Information
content type. In theUser
content type, I've added abag
part, as shown here:Within the
bag
settings, I've chosen to include theInformation
content type:Now from the backend I can create multiple
Information
items, but I only need one.I used a
bag
to prevent direct creation of theInformation
content type and to avoid to use a picker in theUser
content type.Information
item per user?ContentHandlerBase
class be a solution, or is there another method to achieve this from the backend?Thank you
Beta Was this translation helpful? Give feedback.
All reactions