You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "dsanderbi (via GitHub)" <gi...@apache.org> on 2025/08/19 06:39:18 UTC
[I] [Feature Request]: Allow environment variables to control checkboxes in actions ,transforms and metadata (hop)
dsanderbi opened a new issue, #5628:
URL: https://github.com/apache/hop/issues/5628
### What would you like to happen?
Currently, Apache Hop supports the use of environment variables (e.g., ${MY_VAR}) for many text fields and drop-down menus across actions, transforms and metadata objects.
However, checkboxes (boolean options) cannot be controlled via environment variables. This creates an inconsistency: while most user-configurable options can be parameterized, checkboxes must be hardcoded.
<img width="201" height="53" alt="Image" src="https://github.com/user-attachments/assets/96265b48-99b4-42ba-8ae4-38d2b92a6331" />
Enable checkboxes to accept environment variables, similar to text fields and drop-downs. An environment variable could be evaluated at runtime and mapped to a boolean value.
Suggested semantics:
- "Y", "y", "true", "True", "1" → interpreted as true
- "N", "n", "false", "False", "0" → interpreted as false
### Issue Priority
Priority: 2
### Issue Component
Component: Metadata, Component: Actions, Component: Transforms
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Allow environment variables to control checkboxes in actions ,transforms and metadata (hop)
Posted by "dsanderbi (via GitHub)" <gi...@apache.org>.
dsanderbi commented on issue #5628:
URL: https://github.com/apache/hop/issues/5628#issuecomment-3373584567
Hi @mattcasters , and thanks for your answer!
Unfortunately, I don’t fully understand what you mean — how exactly can I apply this in a metadata object?
Could you please share an example?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Allow environment variables to control checkboxes in actions ,transforms and metadata (hop)
Posted by "gmitter-ef (via GitHub)" <gi...@apache.org>.
gmitter-ef commented on issue #5628:
URL: https://github.com/apache/hop/issues/5628#issuecomment-3496779778
@mattcasters
> The Neo4j Connection has it and it's also used in the "Sort Rows" transform dialog. Take a look there.
Is there any documentation on which values the variables in Neo4j & Sort Rows accept when trying to control the checkbox?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Allow environment variables to control checkboxes in actions ,transforms and metadata (hop)
Posted by "mattcasters (via GitHub)" <gi...@apache.org>.
mattcasters commented on issue #5628:
URL: https://github.com/apache/hop/issues/5628#issuecomment-3373805907
The Neo4j Connection has it and it's also used in the "Sort Rows" transform dialog. Take a look there.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Allow environment variables to control checkboxes in actions ,transforms and metadata (hop)
Posted by "gmitter-ef (via GitHub)" <gi...@apache.org>.
gmitter-ef commented on issue #5628:
URL: https://github.com/apache/hop/issues/5628#issuecomment-3501942747
Thank you!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Allow environment variables to control checkboxes in actions ,transforms and metadata (hop)
Posted by "mattcasters (via GitHub)" <gi...@apache.org>.
mattcasters commented on issue #5628:
URL: https://github.com/apache/hop/issues/5628#issuecomment-3497176432
As elsewhere in Hop, the values you suggested are all interpreted as true. The rest as false.
```
"Y", "y", "true", "True", "1" → interpreted as true
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Allow environment variables to control checkboxes in actions ,transforms and metadata (hop)
Posted by "mattcasters (via GitHub)" <gi...@apache.org>.
mattcasters commented on issue #5628:
URL: https://github.com/apache/hop/issues/5628#issuecomment-3280779110
`org.apache.hop.ui.core.widget.CheckBoxVar` handles this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Allow environment variables to control checkboxes in actions ,transforms and metadata (hop)
Posted by "dsanderbi (via GitHub)" <gi...@apache.org>.
dsanderbi commented on issue #5628:
URL: https://github.com/apache/hop/issues/5628#issuecomment-3411279353
Thanks for pointing out `org.apache.hop.ui.core.widget.CheckBoxVar`, **Neo4j** & **Sort Rows**.
Since my original request wasn’t specific about which transforms, actions, or metadata objects should support environment-variable-driven checkboxes, I agree this ticket can be closed.
I’ll open separate, targeted requests for the specific cases.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Allow environment variables to control checkboxes in actions ,transforms and metadata (hop)
Posted by "dsanderbi (via GitHub)" <gi...@apache.org>.
dsanderbi closed issue #5628: [Feature Request]: Allow environment variables to control checkboxes in actions ,transforms and metadata
URL: https://github.com/apache/hop/issues/5628
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org