Hello Mark,
Always thanks you for your support, sir. Please, don't hesitate to post here any further question: remember to start a new thread if necessary.
Posts by DecSoft Hello Mark,
Always thanks you for your support, sir. Please, don't hesitate to post here any further question: remember to start a new thread if necessary.
Hello Mark,
Ok; here is the Login sample of the previous generation of AB, "translated" to the new generation of the product: Press here to download the sample. This sample will be also included in next release of DecSoft App Builder.
Hello Mark,
Yes; the sample that you mention is available in the previous generation of AB, but, not in the new one. I am working hard in certain "big feature" for the next release, but, may I can have sometime to prepare the sample also for the new generation of AB. In fact, it's not complicated: if you download the previous AB (you can do it from the Releases tab of your customer area), you can probably figure our how to "translate" the sample to the new AB.
Anyway, I will try to give some time to prepare that sample for the new AB and therefore include it with the installation of the product.
P.S. Ok... I will start to translate the sample right now... I will post it here when finish.
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello to all,
Just to mention that, from some releases ago, we can made changes in the "AndroidManifest.xml" file using the app options -> Cordova -> Configuration -> Extra XML, so we can place a code like the below in the referred option:
By doing that we are allowing clear (non secure) connections in Android 9+. This include HTTP but also WS (WebSocket) connections.
P.S. The above is valid for the previous AB generation and also for the current generation of the product.
Hello Asley,
Maybe a bit of code can clarify the things here. Based in the "Table" sample app, go to the "view1" Show event, and, replace the Javascript code that you can see by the below one:
Originally we set the Array into the "table1.data" property, but, to filter the contents, we save a copy of the original "table1.data" in another variable, in this case "app.store.tableOriginalData". Now place a Text Input control in the "view1", below the Table, and, place the below code in his "KeyUp" event:
That's all. Run the app and type something in the new Text Input control: you must see that only the records who his name contains the query (the Input Text value) is shown in the table and not other records. It's more or less easy to expand the search to other fields, etc. Please, go ahead if you have some further questions!
Hello to all,
Asley is right: remember that the AB internal debugger / HTTP server don't support PHP, so, if we want to use a PHP script, we have two possible ways: move the compiled app into an HTTP server that support PHP, so we can use local paths for the required PHP scripts. Or the other possible way: provide the right URLs for the required PHP scripts, so the app can run in the internal debugger / HTTP server, but the PHP scripts run in a HTTP server with PHP support. In both ways we can get it working.
Hola Asley,
You no need to filter the table itself (the HTML markup), but the Table's "data" property. Whatever change you do into the "data" propery is automatically reflected in the table (HTML markup).
Hello to all,
Thanks for your work and for share it with us, Asley!
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello Michael,
Ok, let me to think about and then I will try to help you as quickly as possible. :-)
Hello Michael,
The problem is the time... and that I am not very good with videos, in fact, I want to create some of them, but, english is not my first language, so I have found some difficulties... but in fact you talk abou a CRUD sample app... and what is exactly the Database sample app already existing! Is a sample app that show how we can Create, Read, Update and Delete records from a server database.
So... the point can be that you take a look at that sample... and try to understand it... and of course post in the forum if you find some problem or need something about: but in that case we deal with specific things, more easy to achieve than general ones. For example, I am considering a possible video tutorial (if can have some time to do it!), but what I am thinkin is not a CRUD tutorial... not right now... :-/
So why don't take a look at the Database sample app, step by step, view by view, control by control, and therefore you ask here if you have some specific question? I will be happy to help when possible.
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.