Hello,
I have a custom entity MyCustomEntity; this entity is available in a portal.
Front-end user can create a new record of MyCustomEntity by visiting :
{portalUrl}/#MyCustomEntity/create
I would like to pass a query variable to this controller so that a field on the 'create' form gets automatically set on the front-end
For example, {portalUrl}/#MyCustomEntity/create?role=operator
Visiting the above URL would require the portal user to login and, after, it would show the create new record form for MyCustomEntity with the 'role' field filled in with the value 'operator'
I have a custom entity MyCustomEntity; this entity is available in a portal.
Front-end user can create a new record of MyCustomEntity by visiting :
{portalUrl}/#MyCustomEntity/create
I would like to pass a query variable to this controller so that a field on the 'create' form gets automatically set on the front-end
For example, {portalUrl}/#MyCustomEntity/create?role=operator
Visiting the above URL would require the portal user to login and, after, it would show the create new record form for MyCustomEntity with the 'role' field filled in with the value 'operator'
Comment