I'm trying to use the approach that Brian @Hyperbytes showed in his video
I have defined environment variables, but when I try to use them - they are not in the parameter list - what could be the reason for this?
I'm trying to use the approach that Brian @Hyperbytes showed in his video
I have defined environment variables, but when I try to use them - they are not in the parameter list - what could be the reason for this?
I think you should define the ENV variables in your gloabls...
(Have in mind that ENV variables are defined per target)
You are correct, ENV vars are per target so need to be defined in both targets with their resective settings.
Also yes, they must be defined in globals to appear in the picker
Thanks for the advice, I added these parameters and entered the data based on them in the settings of the connections for development and production. But the actual connection in development does not change to that set by variables.
2 diferrent things @vv-a2007...
Check out here:
it became a little clearer - but the interface logic is very strange
Wappler plans a full revamp of target settings in wappler 7
@famousmag Let's say there were changes in the structure and fields in my test database. And if I want to use these fields in queries in SC, should I connect the test database in the Database Manager section?
If you made these changes with some external db management software, outside of Wappler, then you simply need to right click the table name and refresh it:
The new fields will appear.
The point is that during the development process, test changes first appear in the database structure, which I need to use in Wappler. Then they will be applied to the production base - but this is all done through external tools and by other developers.
Not sure i really understand what do you mean, but in order to apply local db changes to the remote database from within Wappler, using the Database Manager, then you need to make the changes using the Database Manager.
Wappler is not aware of any changes you make outside it, so it can't keep track of them ...
No, I don’t want Wappler to make changes to the structure, I just need it to see the new tables and fields so they can be used in queries
As explained already: