Hello Paolo,
It's difficult to help without more details. For example, I am not quite sure if the "HttpSetHeader" is really needed. But anyway must work. On the other hand, about the URL that you try to conform, certainly I can see something "rare"
Maybe is a mistake when copy the URL and variables, but, this have not too much sense: [where][0][email]
Maybe you want to conform an URL like the below one?
That URL must work, in principle. Maybe you can use the EncodeURI action, but, I am not sure.
Finally, the point is, what is the result that you expect and what is the result that you get? Some error message?
Hello Paolo,
I am not quite sure if can understand perfectly, but, one of the possible aproach can be the below one. Supose we have an container like this in an HTML control:
Then, in our app, we can establish the "ContainerClasses" variable in a way like this, for example:
And... the result is the expected, that is, the "ContainerClasses" CSS classes are applied to the HTML container.
Note that is also possible to establish some CSS classes "by default", in an container like that:
Then we can set the other CSS classes using the variable:
In both cases the "bg-danger" and "text-white" CSS classes are applied to the HTML container.
Hello Paolo,
LoadVariables, as you said; also place that HTML inside the HTML control and use just some variables for some specific content; a sole variable in the HTML control to be feeded by the response of an HttpClient control. Using pure Javascript in order to feed the HTML control by their ID (which is their name in App Builder),... and may others ways too... :-)
However, apparently you want to shown an modal dialog... please, remember we have the "ShowDialog" action to shown app's view as dialogs. And we have also the "MessageBox" action, which is also very powerful, as you can see in the MessageBox sample.
Hello Paolo,
The error message is more or less obvious this time: "cordova" is not defined, in other words, can't be used. Certainly what happen i that the Files sample requires to compile the app with Apache Cordova first. In fact we only can write files from an Cordova's compiled app, that is, our apps cannot read files if they run in a browser, for example, which is good (just imagine than an webpage can read your own files...).
Hello Paolo,
I can understand. However, the component that you mention is not for Angular 1.x, which is used by AB, but for Angular 2.x. This frameworks are not compatibles, so, probably it's difficult to implement exactly the component that you wanted, Paolo. You must look for another possible way to shown what you wanted. And of course, if you need any help, please, don't hesitate to post it here or just open another forum thread.
* How you can do what you wanted? Maybe an HTML control below the navbar, so you can show there the icons that you wanted, etc. There is not only a way to do the things, so, I am sure that you can find one useful approach.
Hello Paolo,
I am not sure if can understand perfectly well. If what you want is to mix the navbar control and an swipe menu, that is, use the "hamburger" button to shown the menu, I am not sure if that can be the best. The "hamburger" button already do their work by shown the navbar items.
Maybe I can prepare an even for that button, but, again, I am not sure if that is what you wanted or really needed. For example, if you take a look at the "SwipeMenu*" samples, what we use to show the menu is the "SwipeRight" event of the app's view.
Inside that event, we use the app's function "DoShowSwipeMenu", as you can see. Ok. In fact, you can use that function from another place, for example, from an Button Click event. And that Button can have an "hamburger" icon (the FontAwesome icon is "fa-bars").
So, I am not sure if this can be useful for you or not. Please, go ahead if you have some further questions.
P.S. As you can see below in the image, we use the refered technique to shown our app's swipe menu: see at the top right corner the menu button. The button's Click event toggle the menu visibility.
Hola Julio,
Lo mejor, ahora mismo, si se incluye código, es usar el icono de la izquiera del editor y tratar con el HTML directamente. El código ha de ir entre etiquetas HTML "code". Quisiera mejorar en lo posible el editor del foro, a ver si saco un poco de tiempo y me pongo con ello.
Hola Julio,
En efecto, la variable opcional "Loading" del control "Report" no admite HTML, sólo texto plano. Podría admitirse HTML para dicha variable, sin embargo, he optado por identificar el texto con las clases CSS oportunas. Al fin y al cabo, el texto "Loading" es opcional, y, podemos ofrecer al usuario otro tipo de "progreso" (mediante un control "Progressbar", por ejemplo) a la hora de cargar información en un Report.
Por favor, actualice su copia de App Builder. Ahora, el control Report identifica el texto de la variable "Loading" del siguiente modo: Si el Report tiene su variable "Wrapper" con un valor "table", ahora tiene a su disposición tres clases CSS que puede usar: "loading-row", "loading-col" y "loading-text". Si el Report tiene su variable "Wrapper" con un valor "grid", las clases CSS que puede usar ahora son "loading-container" y "loading-text".
Podría aplicar un estilo a todos los "Loading" de los "Report" usando sin más las clases CSS mencionadas, por ejemplo:
Y, si prefiere acotar el estilo a un control "Report" en particular, puede hacerlo anteponiendo el identificador del control, que, coincide con su nombre en App Builder, por ejemplo:
Espero que esto pueda serle de utilidad.
Hello Paolo,
i have another ask for you. there is a way to avoid to close the android app with the back button?
Yes; please, take a look at the "ConfirmExit" sample.
Hello Paolo,
Are you take a look at the SwipeMenu* samples? There is not an "sidebar" control "out of the box", but, we can implement it using some other already available controls, more or less as you can see in the SwipeMenu* samples.
I use it in this particular app, as you can see in this screenshot:
You're welcome John!
Maybe I can say something more about this question. In fact, our apps only need an HTTP server to run, not big HTTP server like Apache, but, almost anyone that can just server content over HTTP. Any tiny HTTP server can do the work.
On the other hand, browsers like Firefox are capable to run our apps just by open their "index.html" file, without the usage of any HTTP server. But this can cause some problems or have some restrictions.
Since not all browsers support "local files" to be opened, and, certainly that "local files" way can cause some unexpected results, we recommend the usage of an HTTP server. Maybe some apps can be deployed as simple "local files". Depend on the app.
Hello John,
In fact, what we need is to put the "_Compiled" directory files in a hosting.
For example, you can see here the Calculator sample running in my hosting:
https://www.decsoftutils.com/calculator/
Hello Tin,
Just to inform you what the Ripple Effect sample has been included in the current release of DecSoft's App Builder.
Thanks again! :-)
Hello Tin,
Please, upgrade your AB copy. The error that you report has been fixed. Thanks very much for your report and also for the idea about try to keep old releases availables! I will try to add another "tab" in the DecSoft's customer area to made this possible. Thanks again Tin!
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.