Posts by DecSoft

Show threads by DecSoft
3341 posts found, page 21 of 223

DecSoft (In thread: InAppBrowser URL schemes)

Hello Paolo,

If I am not wrong, the Apache Cordova InAppBrowser plugin only deal with the HTTP and the HTTPS schemes. In fact the error that you see say exactly that: "Unknow URL scheme". Can I ask why not to use the system browser instead of the InAppBrowser in this case? On the other hand, I am not sure if you can use "https://web.whatsapp.com/send?phone=xxx", since in this case the URL scheme is "HTTPS", which is supported by the InAppBrowser.

If as you mention the above URL directly redirect (if Whatsapp is installed) to the other URL, which is not supported by the InAppBrowser plugin, then I think the only solution is to use the system browser instead of the InAppBrowser. You can use the InAppBrowser plugin but open the URL in the system browsers:


DecSoft (In thread: New App Builder 2022.3)

Hello to all,

Here is a new DecSoft App Builder with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: New HTML Compiler 2022.4)

Hello to all,

Here is a new DecSoft HTML Compiler with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: Report with JSON in AB1)

Always thanks you, sir! :-)


DecSoft (In thread: Report with JSON in AB1)

Hello Paolo,

First of all thanks for your kindly words. Inside the "RowClick" event we have the "ReportName.Record" variable, which contains the object which correspond with the row clicked in the Report control. So, for example, we can codify something like below in the "RowClick" event:

... the above show us the "status" property of the clicked "Record". We can also reach any other property of the Object, like the "meta_data" one, but in this case this property is an Array, so, we can codify something like below:

... in order to show the first item "value" property of the "meta_data" Array. Or we can iterate over all the "meta_data" items if we wanted:

So the key is that in the "RowClick" event we have the "ReportNameHere.Record", variable, which store the Object / row clicked by the user. Of course "ReportNameHere" must be replaced by the name of your Report control.

P.S. Certainly the current generation of AB do not have "visual actions", but, this do not mean that the IDE code editor don't help you with the Editor Quick Code List. The new generation of DecSoft App Builder (currently available) is better than the first one in too many aspect, Paolo. Certainly the "visual actions" are not offered, but, the new IDE offers help too, and, if you think twice, the directly usage of Javascript is like a "bonus", to say like that: no matter the number of possible "visual actions", we can't never reach the power of Javascript itself: for this reason AB1 includes the "StartJS" and the "EndJS" actions, because only with actions we can't get all the power of Javascript.


DecSoft (In thread: Report with JSON in AB1)

Hello again Paolo,

Supposing your JSON is certainly an Object and not an Array, then you can always use an HTML control instead a Report control. You can place a HTML control in your app view, and, in the Show event of that view, you can use a "SimpleGet" action like below:

... doing that the JSON Object will be in the "[JsonSource]" variable, so, inside the "html" property of the HTML control, you can prepare a code like below:

As you can see the code is very similar to the suggested before for a Report control. The point here is that your JSON is an Object, not an Array, so you cannot use a Report control, since the [Report.Data] variable expected an Array and not an Object.

So with this post I want to show you how it's also possible to use the JSON that you put as a sample "as is", without the need to convert it to an Array, in case that your JSON are an Object and not an Array. I hope this information can help you in some way too. And anyway, post here if you have any questions or doubts and I will try to help you.


DecSoft (In thread: Report with JSON in AB1)

Hello Paolo,

First of all, what a [Report.Data] variable expected is an Array, not an Object. This means that the above JSON sample cannot be passed directly into a [Report.Data] variable. Supposing the above JSON is just a sample and what you have is really an Array, that is, something like below:

... then certainly you can place something like the below in the Report HTML property:

As you can see, first we can access to the "[Record.status]". Then every "Record" has a property named "meta_data", which is an Array. So we can use the "ng-repeat" directive in order to iterate over all the "meta_data" items properties.

However, I am not sure if you want to iterate and show all the items in the "Record.meta_data" Array, or just specifically one item of the "Record.meta_data" Array. In case that you want to only show one specific item of the "Record.meta_data" Array, the below HTML code in the Report HTML property allows to do that:

Certainly it's a bit complex, but, the logic is more or less clear. In the above case we only show the first element (index = 0) of the "Record.meta_data" Array. So please, carefully read this post and made your own tests, then you can post here any questions or doubts that you can have and I will try to help you, Paolo.

P.S. Remember, on the other hand, that the previous generation of DecSoft App Builder is not recommended for new projects: if you are developing a new project, my recommendation is to use the current generation of the product instead.


DecSoft (In thread: Report with JSON in AB1)

Hello Paolo,

I am wrong or you are using AB1, that is, the previous generation of DecSoft App Builder and not the current one?


DecSoft (In thread: New HTML Compiler 2022.3)

Hello to all,

Here is a new DecSoft HTML Compiler with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: New App Builder 2022.2)

Hello to all,

Here is a new DecSoft App Builder with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: New HTML Compiler 2022.2)

Hello to all,

Here is a new DecSoft HTML Compiler with the below changes, fixes and enhancements:

Read the entire product's history


DecSoft (In thread: HTC: error when compiling)

Hello Bryce,

I am not sure right now... but yes... it's a good idea to place the project file outside the app's index.html file. Anyway, I am glad to know that you got it, sir!


DecSoft (In thread: HTC: error when compiling)

Hello Bryce,

It's quite rare then... First of all, the destination folder is the same folder than the app's index.html file. Can you reproduce the problem with the sample apps? You get the right compilation file for Windows 32 bits? The point is that I cannot reproduce the problem here... I can compile the apps for both Windows 32 and Windows 64 bits... So please, try with the sample apps... to see if there is something specific with your app... but this it's quite rare...


DecSoft (In thread: HTC: error when compiling)

Hello Bryce,

Can be another possible thing, however (and you can smile a bit) probably you have the destination folder opened... and this can cause the compilation error. So, please, try to compile the app without the destination folder opened. The destination folder is the folder in which the executable files will be saved. Try with this solution and tell me if that works for you: I am 99% sure that yes, but please, post here if works for you or not.


DecSoft (In thread: New MegaPack 2021.8)

Hello to all,

Here is a new DecSoft NeoPlugins Mega Pack release, with the below changes, fixes and enhancements:

Get more information and download individual NeoPlugins and the NeoPlugins Mega Pack from here.

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 some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.