Add source entity parameters to the webform url

Created on 27 August 2024, 9 months ago
Updated 10 September 2024, 8 months ago

Problem/Motivation

Webform has the following setting:

Allow (dialog) source entity to be populated using query string parameters
If checked, source entity can be populated using query string parameters.

For example, appending ?source_entity_type=node&source_entity_id=1 to a webform's URL would set a submission's 'Submitted to' value to 'node:1'.

You can also append ?source_entity_type=ENTITY_TYPE&source_entity_id=ENTITY_ID and the ENTITY_TYPE and ENTITY_ID parameters will automatically be replaced based on the current page's source entity.

We might use that, if enabled? Might be helpful...?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

1.0

Component

Code (commerce_product_availability_webform_request)

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024