Hello Aldrin,
Hello everybody...
How can i get notification from my simple app in a specific day and time?
THANK YOU IN ADVANCE :)
I think you need to provide more information here. For example, are you stuck in some specific problem? Remember the forum's rules please...
Hello Aldrin,
i cant see the sample that have gif image,
Here is! Download the sample application.
Hello Aldrin,
I'm now using version12... Thank you,
But you tried with the provided sample? They works for you?
Hello Aldrin,
i use app builder 2017.10
Upgrade your AB trial copy please. On the other hand, are you try with the provided sample application?
Hello Antonio,
Thanks David.
I'm used to work with functions and results and less with global variables. As coming from an Object oriented side of programming, i usually try to minimize the use of globals. but it's also ok
Certainly we can discuss about the conveniences and inconveniences of global variables. In fact AB doesn't use global variables in the "window" scope, but they are always in right the application's scope. On the other hand we can use objects variables to stack in their variable members instead of "simple" app's variables.
Hello Antonio,
I decide to write a little sample over the code you shown above in your first post. Please, take a look at this sample application. They contains just one of the possible ways to do the trick and hope they can give some at least some idea.
Hello fakie,
Thanks. That was fast!
I solved my problem -
1. I used ObjectsetProp "[test]" "B" "[myvalue]" and not ObjectsetProp "test" "B" "[myvalue]"
2. I used test.A in my report - but seems the builtin variable Record.A must be used.
Thanks!
Yes; certainly for that reason (too much actions to remember all of them right now!) I always recommend to use the brackets when variables, except if the help said something else.
Hello Antonio,
Certainly the "Return" action is intented to be used in functions that requires to provide a Javascript's way of return. Normally we deal with app's variables and they are global to the application, then, you can simply set a variable from the function's code and the look at that after the function has been called.
Hello fakie,
Are you tried with the "Report4" sample? Because in fact they use the [Report.Data] variable instead of the Report's URL, so I think that's exactly what you wanted. Please take a look at that sample. And, about your other question, in general we can use both "[brackets]" and "nobrackets" when deal with variables in actions, however, as a recomendation probably it's a good thing to always use the brackets with actions' arguments variables.
Hello Antonio,
First of all, the concept of "forms" doesn't exists in App Builder. We place inputs around views and then can use AB actions to validate that inputs before send it to the server or whatever other use (remember always we send something to the server the user input must be validated in both the client side and the server side too).
Said that, maybe you no need the above Javascript code. However, if you need that Javascript code, certainly you can use it in whatever place, since we can place pure Javascript code between the "StartJS" and "EndJS" actions in any code block or just add the Javascript inside an external file using the app's file manager to do that.
If what you wanted right now is to access app's variables from Javascript code, as well to set app's variables from Javascript code, please, take a look at this program's help tutorial. Here are some examples from that refered tutorial:
Please, Antonio, let me know if you have any further question or if you continue needing help to integrate the above Javascript code into your application.
P.S. Another possible way to integrate Javascript code in our apps is to use the app's functions. We can add any number of Javascript functions (and also AB Script functions) to our applications, in addition to place the Javascript code between the "StartJS" and "EndJS" actions or use the app's files manager to add some Javascript file.
Hello Aldrin,
Sorry, but I can't reproduce the problem. I prepare this sample application and they works like expected in browsers and as an Android APK. What version of App Builder are you using?
Hello Romeo,
If we are talking about AB1, then the solution will be the below code in the Show event of the app view:
If we are talking about AB2 (the current generation of the product), then the solution will be the below code in the Show event of the app view:
In the case of AB2, if we are talking about a dialog instead of a view, then we must use the below function instead of the above one in the same Show event of the app view:
You can find more information about the above functions in the product help and also in the online help: app.setViewReadyForDeviceKeyboard(); - app.setDialogReadyForDeviceKeyboard();
Hello edunt,
Issue is solved without doing anything to it.
Yes; probably some temporal problem in certain place: my hosting, your internet provider... who knows! :)
Hello edunt,
Hi David,
What I understand from poster is he/she want to build Count Step mobile using AppBuilder but he/she doesn't know how to do it.
But I think that is too much from "Heeelp please, who knows how to create app that can count steps". What are steps? Intervals? Foot steps? I am not quite sure with that description. Maybe you have reason edunt.
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.