Hello,
My license expired and, I could be wrong but I can't find the renewal option in the store anymore. Did DecSoft cut that option?
Many thanks
Hello,
My license expired and, I could be wrong but I can't find the renewal option in the store anymore. Did DecSoft cut that option?
Many thanks
Hello David,
Thanks for the great improvement. If, not perfect as you said, in my opinion, it seems to perfectly reply to the need because there is some logic in the way the code is indented.
So the brain can get used to the way the code appears and can learn how to quickly find the information.
Again, thanks a lot for your great support David :)
Hello,
This is not urgent, not important and more to know if it could be possible to have in a future version, an option to indent the code more nicely.
Probably, I am doing it wrong but I tested with "Auto indent" checked or not and, each time I finish a line, it doesn't seem to align with the previous one.
Here is a ScreenGif capture about what I mean
Of course, this has only impact on reading long codes but mine becomes quickly ugly if it is not idented (random sample below)
And it becomes more difficult with more than one indentation level.
If you could put it on your To-Do list for the future, David :)
Many thanks
Super :D
Thanks a lot again, David
EDIT : it still works with the Text control and not the Email one. :)
Many thanks David
Hello David,
Thanks a lot for your quick reply. You are right in this case it works. What won't work on my side is when associated with the change event (sample attached).
Before some time (I don't remember when), I had to set the control's content inside a String and then I could check if that string was an Email (not directly from the control). Now I can't. Please, is it something I am doing wrong ?
Hello,
Could someone check if IsEmail still works ? Some old code won't work anymore by me and new projects show an error.
It could be on my side.
The error is something, translated : "Exception thrown but not handled"
Thanks
Fantastic App Builder :) Thanks David
Thank you David. I will try to apply that.
Please, don't take it bad, it is not an aggressive question but only a surprised one : which such projects you have previously described (20 views or more), you don't create some functions to reuse components ?
I am probably too object oriented now (reason why I'm often lost here crying) but isn't the fact to create each view as a "small" individual app, a "loss of time" ? You are more experienced than me, so I will try to apply that way to compare
Hello David and other pals,
Perhaps I am not seing it but, do we have a way to retrieve the properties of an unknown object ?
For example : in the case of using only one HttpClient for many Views, instead of adding the data values from inside each view, I do create an object. I have thought to submit that object to an AB function which would iterate each property and put it with its value as the HttpClient.
To be able to iterate, I add the properties in a separate array in the current View. And in the function, read each item and get its value from the Object.
This works great but is a bit long when using the same mechanism from the HttpClient.Response with an unkown Object (for ex: read an object property named "keys", split it by comma, iterate the array, get the property, get the value, get the property named "subkeys", split it, etc.).
Perhaps is there a better way to achieve this ? Many thanks
Edit: for example Object.GetProperties ?
You are right, David. I am too used to receive rough strings and after that to manipulate them that I always make the error.
Many thanks for your suggestion :)
Hello,
On my computer, IsJson generates a crash. I have tested it with the JSON2 example to try just by adding the line to HttpClient Success
Could you please check if it is the same for you ? Thanks
[e] Error: "Exception lifted but not detected" - Line: 306 - Char: 13 - Code: 0 - Url: http://127.0.0.1:9999/app/scripts/app.js
[e] Error: "[$rootScope:inprog] http://errors.angularjs.org/1.6.4/$rootScope/inprog?p0=%24digest" - Line: 141 - Char: 496 - Code: 0 - Url: http://127.0.0.1:9999/builder/scripts/builder.js
CLOSED : Closing. I guess in that example this is an array and the help file speaks about a String... Damn that way of doing things makes me crazy never knowing what comes from which transformation.
Goodbye and sorry
Sorry, I had forgot to thank you again, David, for your detailed information and the great help you provided :)
A short and quick and dirty note if one is in need of the same solution :
AB sends the OPTIONS Method with the Access-Control-Request-Headers
don't wrongly reply "Yes" to what ever it asks :) because it specifies its needs with a "content-type, accept"
Only reply : "Content-Type" and a nice "200" status. Then, it will be happy to reply with anything (for example : "application/json")
From that, when you have understood that, App Builder is able to chat with any rough servlet :)
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.