Posts by DecSoft

Show threads by DecSoft
3355 posts found, page 77 of 224

DecSoft (In thread: Looping the HttpClient Response object)

Hello Ryan,

Yes; not only you can... in fact, is the preferred way: the server's response can be (always that is possible) an Array of objects, that is, something that we can directly assign to the Report.Data variable.


DecSoft (In thread: Looping the HttpClient Response object)

Hello Ryan,

Before go ahead, and, since the server's response is an Array of objects, please, try to directly assign the server's response to the report's data variable: in other words, probably you no need to iterate over the server's response, just assign the server's response to the report's data variable. You can use the "CopyVar" or the "ArrayConcat" actions, for example.


DecSoft (In thread: Looping the HttpClient Response object)

Hello Ryan,

It's difficult to say, after take a look at your code, which appear fine, that is, I can't see right now anything rare or wrong, so, that code must work as expected. You must debug what happen, Ryan, for example, take a look at the browser's console (use Firefox, Chrome or other browser) for the HTTP Client response: look if that is what you expect, and, also look if some possible error occur (and it's placed in the browser's console).

P.S. If you want to provide an app which can reproduce the problem, please, don't hesitate to send me the app at info@decsoftutils.com


DecSoft (In thread: External javascript 'Hello World' using Firebase)

No problem Peter! :-)


DecSoft (In thread: Utilizar una base de datos Firebase)

Hola Juan,

Creo que este reciente hilo en el foro puede ser de su interés. Está en inglés, pero, como digo, creo que puede resultarle útil, pues contiene un sencillo ejemplo "Hello world" que utiliza Firebase desde DecSoft App Builder.


DecSoft (In thread: External javascript 'Hello World' using Firebase)

Hello Peter,

You don't mention the error that you get... even in the AB debugger: because we are talking about a syntax error. The problem is caused by the syntax used in the below line:

On the other hand, maybe other changes are also needed, for example, how you want to shown or use the value get from the database. If you place an "Input1" control in the app view, and, the below code in the app view Show event, you can see the things working as expected, that is, once the value is retrieved from the database, it's placed in the "Input1" control:

You can also copy the below code in a file and save it as "MyApp.ab", for example, then open it with DecSoft App Builder and run the app:


DecSoft (In thread: Utilizar una base de datos Firebase)

Hola Juan,

En su código Javascript se incluye la referencia a ciertos otros archivos Javascript, pero, dichas referencias tendrá que incorporarlas a la app usando el "Gestor de archivos" (app's File manager). Una vez especifique los archivos Javascript necesarios (usando sus URLs, por ejemplo, así como cualquier posible y necesaria "query", como podrá ver en el "Gestor de archivos"), podrá utilizar el código Javascript que necesite.

Ha de empezar por ahí... y, si encuentra después algún otro error, por favor, refiéralo aquí y trataremos de ayudarle.

P.S. He editado su mensaje de modo que ahora aparece el código Javascript, pero, sin las referencias antes mencionadas: en principio ese será el código Javascript que acaso tendrá que usar.


DecSoft (In thread: Disable in AB enable in JS)

Glad to know that you got it, Ava! :-)


DecSoft (In thread: Disable in AB enable in JS)

Hello Ava,

I think you can't use something like "Radio1.disabled" for the condition. Probably "Radio.disabled" is not defined, for that reason the "enable" alert appear, because the condition is not "true". I think the condition must be something like this:

P.S. Please, use the "code" HTML tag to post code: it's better for you (less paragraphs) and better for all (more readable).


DecSoft (In thread: Disable in AB enable in JS)

Hello Ava,

For the first question, certainly we can use AB actions or pure Javascript without problems. You don't refer how you try to disable / enable a control using Javascript, but, probably the mistake is that you must use a non empty string (preferible "true") to disable an object (or to hide it) and an empty string, in order to enable / show it.

Doing the above the below code do exactly the same thing:

About the second question, we can use the below code to do what you wanted with the specified four buttons:

You can take a look at a sample app that I prepare for you, copy the below code and save it in a file like "MyApp.ab", open it with DecSoft App Builder and run the app.

P.S. Please, don't hesitate to open different threads to ask different questions, so the forum is more or less well ordered and searchable.

P.S.2. By my mistake I use Push buttons controls when reply to your Radio buttons question: in fact it's the same code, that is, that code must work if you change "Button" for "RadioButton" and you have the right "RadioButtonN" controls in your app's view.


DecSoft (In thread: disable progress bar)

You're welcome, Ava! :-)


DecSoft (In thread: disable progress bar)

Hello Ava,

The "Disable" action is intended to be used with Input controls and have no effect in a Progressbar control. I look for a possible Bootstrap CSS class to "disable" a Progressbar, however, apparently there is not something like that.

So what you can do is to change the Progressbar "Kind", maybe change the "Active", and shown or not the message depending on this Progressbar properties.

Another possible approach is to use a flag variable, so, when the user click into the Progressbar you can set that flag variable to "true", and, only shown the message if that flag variable is "false" or not "true".


DecSoft (In thread: change Progress bar Percentage)

No problem, Ava! :-)


DecSoft (In thread: change Progress bar Percentage)

Hello Ava,

It's quite rare, because your code appear good and in fact works as expected here. Please, try the below app... maybe you are not referring correctly to the ProgressBar control?


DecSoft (In thread: Change label text with variable)

You'r welcome, Ava!

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.

This website uses cookies only to store your preferences.

Ok! Hide this note More information