Posts by DecSoft

Show threads by DecSoft
3354 posts found, page 57 of 224

DecSoft (In thread: Watcher and sequencing javascript)

Hello Ryan,

Follow the plugin's documentation, something like below must work:

Means... one of the provided callback must be executed, except if what you wanted is to use a third callback... because, again, according this plugin's documentation, a third callback is supported:

What I can't see is any syntax error in your code: so, one of the provided callback must be executed... except if "db.transaction" can be called without cause to call any of the provided callbacks: you must look at the plugin's documentation or ask the author about: "is db.transaction" executing always at least one of the provided callbacks, or what?".

I understand what you wanted, however, the Watcher must work... except if the code cause other thing... but anyway, I did not consider a Watcher to do something like you wanted. If you need to made 10 or any other number of HTTP calls in certain order, just execute the calls in the right order. Every HttpClient control provide an "Error" and a "Success" event, which we can use in order to do what we need: abort possible next calls, continue with them, etc.

Maybe you can reduce the complexity and do not made such a number of HTTP calls in certain specific order... but,... if you see that you must perform that number of HTTP calls and in certain order... just do it... start with the first one and end with the last of them... using the HTTP Client control's events. On the other hand,... be sure that no one of the callbacks provided to "db.transaction" are not executed: maybe something is wrong, so, you must debug it.

P.S. Take a look at the Debugger help topic of the new AB: you can use it also for the previous AB. Look mainly at the Debug Apache Cordova apps: basically you must take a look at the console in order to see what happend, since, if any of the "db.transaction" provided callbacks are executed... maybe some error occur... and you must see what error is in order to fix it.


DecSoft (In thread: New App Builder 2020.37)

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: Watcher and sequencing javascript)

Hello Ryan,

Maybe you no need the Watcher at all? That is, since "db.transaction" already provide the "success" and the "error" callback, that is what you must to use in order to do what you wanted. For example, if you wanted to perform some action after "db.transaction", you MUST wait for the "success" or the "error" callback, and therefore continue the work.

Similarly when you use an HttpClient control: after execute the HTTP call, we must wait for the events of the HttpClient control, in order to continue, for example, with other HTTP call.

What do you think about? There is a Watcher sample app that works as expected, so, maybe what happen is the Watcher is not the right solution for your specific case.


DecSoft (In thread: Report Object Overlapping in a Container Object)

Hello Danny,

So finally you got it? :-)


DecSoft (In thread: New App Builder 2019.51)

Hello to all,

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

Note that this new release of DecSoft App Builder refers to the previous generation of DecSoft App Builder, which is still available, only for our customers, in their DecSoft customer area, under the "Releases" tab.

Read the entire product's history


DecSoft (In thread: New App Builder 2020.36)

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: Report Object Overlapping in a Container Object)

Hello Danny,

I am not sure if can understand, since, placing the Reports with the space that you wanted, and then, using the "overflow-y" CSS rule, in principle, the content of the reports must not be overlapped. So probably I am missing something...

Please, copy the below code and save it in a "Reports.ab" file: the sample app is a modification of the Report sample app, which include three reports in the same app view. As you can see, the spaces between the reports are not overlapped, and, what we do is only to leave the space that we wanted in designtime, and use the "overflow-y" CSS rule set to "auto".

Take a look at the above sample, and, please, post here any further questions.


DecSoft (In thread: Save Customize Layout)

Hello Danny,

It's something not yet implemented, but, that we want to do it in the future. AB allows to save / load different layouts, and, AB2 will do it too in the future, but, right now it's not possible, so the changes that you made in the app layout, for example, are not saved nor later loaded.


DecSoft (In thread: Report Object Overlapping in a Container Object)

Hello Danny,

I am not sure, but, you mention the "overflow-x" CSS rule... it's not "overflow-y" what you are looking for or must use?


DecSoft (In thread: set Javascript resultset to AB 2019 array)

Hello Ryan,

If "resultSet" is an Array and you assign it to "userArray", then this last variable is also an Array, yes, and, therefore you no need to use the "NewArray" action, for example.


DecSoft (In thread: New App Builder 2020)

Hello again, Danny,

I think this forum thread contains some posts that can be of your interests, thinking in the new AB. Please, take a look, and, anyway, ask here any further questions.


DecSoft (In thread: AES256 Encryption And Decryption)

Hello Mark,

Various things to consider here: maybe the first one is that I am not an expert in encryption/decryption. Maybe we can try to use the Cordova plugin that you mentioned, however, what about to use a JavaScript library like CryptoJS?

You can try it by downloading the latest release from here: https://github.com/brix/crypto-js/releases. Once download, look for a "crypto-js.js" file, which is what you must include in the app using the Files manager. Once you do that, the below code can be run and apparently works like a charm:

Maybe it's enough to use the referred library? On the other hand, what is the purpose of the encryption / decryption? For example, thinking to send some data over HTTP, the best is probably to use HTTPS instead, so we no need to encrypt / decrypt.


DecSoft (In thread: New App Builder 2020)

Hello Danny,

If I understand you correctly, version 2020 is a totally new product and I will have to purchase if I would like to upgrade. Is this correct?

You're right. The new AB generation is an entirely new product, writen from the scratch, even when you can find similarities with the previous generation of the product. What you can purchase, then, is not an upgrade, but a new license of the new AB. Please, contact me via E-Mail, since I offer a discount for customers of the previous AB generation.

How about version 2019? Will this be continue to be supported and until when?

Not at all. The previous generation of AB is still available for customers only and it's intended to be maintained all the time that needed. We encourage to use the new generation of AB for new projects, however, you can continue using the previous AB if you wanted.

I try to update to version 2019.50 from the update option but it tells me I already have the latest version.

Yes; apparently some problem exists in your release, which don't allow to upgrade to the latest release. Please, do it manually. You can download the latest release of AB from your DecSoft customer area, under the "Releases" tab. Download and install it manually.


DecSoft (In thread: Overlapping objects)

Hello Danny,

No problem. In fact, I am see here some problems related with the themes and the navigation bar, that, I want to try in a more deep way.


DecSoft (In thread: New App Builder 2020)

Hello Danny,

The current version of AB is 2019.50, so, in principle, you must be able to upgrade your 2019.49 release to the latest one. If you can't do it, please, post it here and we will take a look.

Months ago we publish the new generation of AB, which is a different product (yet similar) but, not compatible. The current release of the new generation of AB is 2020.35.

The previous generation of AB are only available to customers from his DecSoft customer area, under the "Releases" tab. As mentioned above, you can also upgrade your AB copy using the product updater.

Please, Danny, don't hesitate to post here any further questions.

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