1
{{$env.XXXX}} variables not supported in Autocomplete API dropdown URL
Source: directus/directus#24524 · opened by @ludekvodicka
Summary
I'm examining a ways how to connect two our systems with Directus. One of the feature which looks very useful is Autocomplete input (API) element.
Unfortunately it seems that {{$env.VARIABLE}} evaluation is not supported in Interface->URL settings.
Is there any way how to do that?
Same variables are working for me in Flows without any issues (I have FLOWS_ENV_ALLOW_LIST configured)
Basic Example
{{$env.VARIABLE} for URL settings
Motivation
To share same secrets via docker-compose without necessity to paste secrets directly to the URL
Detailed Design
evaluate {{$env.VARIABLE} in Autocomplete API same like it's evaluated in Flow REST API Headers for example
Requirements List
Must Have:
• `{{$env.VARIABLE} evaluation
Drawbacks
• Alternatives
• Adoption Strategy
• Unresolved Questions
_No response_
I'm examining a ways how to connect two our systems with Directus. One of the feature which looks very useful is Autocomplete input (API) element.
Unfortunately it seems that {{$env.VARIABLE}} evaluation is not supported in Interface->URL settings.
Is there any way how to do that?
Same variables are working for me in Flows without any issues (I have FLOWS_ENV_ALLOW_LIST configured)
Basic Example
{{$env.VARIABLE} for URL settings
Motivation
To share same secrets via docker-compose without necessity to paste secrets directly to the URL
Detailed Design
evaluate {{$env.VARIABLE} in Autocomplete API same like it's evaluated in Flow REST API Headers for example
Requirements List
Must Have:
• `{{$env.VARIABLE} evaluation
Drawbacks
• Alternatives
• Adoption Strategy
• Unresolved Questions
_No response_
No pledges yet. Be the first to back this.
Comments
Similar requests
Live Preview option to automatically add a time-limited token to the query (incl. ENV vars)
18 votes · 0 comments
Default Value for Many-to-One Dropdown using $CURRENT_USER
12 votes · 0 comments
Autocomplete API Input authentication
21 votes · 0 comments
Add search & autocomplete functionality for relational fields in filters
7 votes · 0 comments
Allow replacement of S3 Bucket URL with a CDN URL
25 votes · 0 comments
No comments yet.