Posts by Peter Bradstreet

Show threads by Peter Bradstreet
162 posts found, page 3 of 11

Peter Bradstreet (In thread: Converting old AB over to new AB)
No worries, I am committed to migrating over to the new AB and I am confident that with your help and a little time, I will get there.

Peter Bradstreet (In thread: Converting old AB over to new AB)
I have tried saving the .dab file into a different folder and it seems to have fixed the issue for some reason. The issue was getting worse and simple code changes were not getting picked up in the compiled js and the only way to get them picked up was to delete the compiled folder and recompile. Hopefully it will be good to go now in the new folder.

Peter Bradstreet (In thread: App.Online ni the new AB)
So I do plan to target Android and IOS when I finally deploy the app but how do you test locally in the browser if you rely on the Apache Cordova plugin?

Peter Bradstreet (In thread: App.Online ni the new AB)
Thanks Sam,

I see that there is also this: https://www.npmjs.com/package/v-offline . I will play with Navigator first though.

Pete

Peter Bradstreet (In thread: App.Online ni the new AB)
Hi again,

Sorry to be a pest but it seems that every step of the conversion from old ab to new ab is a learning curve. In the app I need to know the online status of the user at various points throughout the app. In the old version I declared a variable and then referred to it:

Is there a Vue alternative to App.Online?

Pete

Peter Bradstreet (In thread: Converting old AB over to new AB)
Hi,

I have not been able to replicate the issue but the issue still exists in my app that I am just getting started with. If I clear the compiled folder out, it works properly but that is not needed in the frame example. Here is the app that doesn't want to play nicely.


Peter Bradstreet (In thread: Converting old AB over to new AB)
Strange, I will see if I can reproduce it in a new app and send it to you after doing some more testing.

Peter Bradstreet (In thread: Converting old AB over to new AB)
Hi, I started having issues again this morning and it appears that I might have tripped over a possible bug. If you make any changes to a frame, those changes are not reflected in any views that use that frame. The only way to see the changes is if you delete the frame from the view and then re-insert it. Is this the way that it is designed to work? If so, it is a bit painful as I will be using the same frame in about 90% of my views and it the frame may need to be modified over time.

Peter Bradstreet (In thread: Converting old AB over to new AB)
Hi,

Thanks!, it must have been some kind of caching issue as I had to compile it several times before it would start working. Anyway, glad to know that I was on the right track. It looks like I could use your new resource manager to do much the same thing with the advantage that I can find them all in one place?

Speaking of finding things, will you be putting the Tools/Text Search feature into the new version, I found it really handy in the old version.

Cheers, Pete

Peter Bradstreet (In thread: Converting old AB over to new AB)

Hi David,

I have spent some time going through the samples and the vuejs documentation and am ready to start creating my app in the new AB from the one that I have in the old AB.

I am having a challenge placing a variable into an html component, no doubt, I just have the wrong syntax. In the old AB I have a header container which contains an html component that displays the title of each view. I define the html in the component as:

In the 'show' code for each view I redefine the AppHeaderTitle e.g: SetVar "[AppHeaderTitle]" "My Profile" "String"

In the new AB I am using a frame called `HeaderFrame` and have placed an html component in the frame called `HeaderTitle`. I have tried different values in the html field with no luck. e.g:

(I imagine that this is where I am wrong).

In the show view event for a profile view I have set the value of the variable and confirmed that it is writing to the console:

Any help greatly appreciated

Pete


Peter Bradstreet (In thread: Migrating to new AB)
You are the man!

Peter Bradstreet (In thread: Migrating to new AB)
Perfect thanks. I am totally fine with finding what I need in the VueJS documentation and run with it. Thanks for pointing me in the right direction.

Peter Bradstreet (In thread: Migrating to new AB)
Hi David,

As first steps in determining whether I will migrate the app that I am working on over to the new AB I am checking to see if there is anything that is going to cause me issues. I have been looking at the new documentation and am comparing actions in the old AB to methods in the new AB. (i.e. AlertBox = app.showToast() )

There seem to be a few actions that I have been using fairly extensively that I have not found a corresponding method for in the new AB. For example, how is local storage handled such as SetOption and GetOption? Do I need to reference VueJS documentation in order to find the right syntax?

Thanks, Pete

Peter Bradstreet (In thread: Buttons or links inside Report's rows)
Actually, I found just what I needed in the Report17 sample: Cheers, Pete

Peter Bradstreet (In thread: Buttons or links inside Report's rows)
Hi, I would like to add functionality to a report object so that in each row there are a couple of icons/buttons that carry out an action. For example, in the Agenda sample, is it possible to add a delete icon to the right of the data in each row that would delete that row by calling DeleteRecordCallback? I am just using this as an example to see if I can detect the click event on the icon rather than just on the row itself. Cheers, Pete

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.