Skip to content

Support URL pre-population of workflow template parameters - #1606

Open
hazdl wants to merge 2 commits into
mainfrom
hz/from-url-forms
Open

Support URL pre-population of workflow template parameters#1606
hazdl wants to merge 2 commits into
mainfrom
hz/from-url-forms

Conversation

@hazdl

@hazdl hazdl commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Populate array and object parameters from URL --- AP-1310
slack link Jessica request

Summary

 
Add support for pre-populating workflow template parameters from URL query parameters.
 
The implementation is schema-driven, allowing primitive values as well as structured parameters (arrays and objects) to be populated from the URL.
 

Changes

 

  • Added URL-based parameter pre-population for workflow templates
  • Added schema-aware parameter parsing using the template JSON schema
  • Added support for complex parameter types such as arrays and objects
  • Updated template forms to correctly react to pre-populated parameters after initial render
  • Maintained backwards compatibility for existing parameter reuse behaviour
     

Example

 
Simple parameter:
 
/templates/xrf-tomography?outputFolder=testing

Complex parameters:

Plain Text
/templates/xrf-tomography?outputFolder=testing&multiScan=436147-436230&multiEdge=Tl-La,Ga-Ka

- Add URL-based parameter pre-population for workflow templates
- Parse parameters using template JSON schema
- Support complex parameter types such as arrays and objects
- Update template forms to refresh when pre-populated values change
``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant