APP_KTL_VERSIONS in App Settings table - update automatically? #331
-
Should the value for APP_KTL_VERSIONS in App Settings table update automatically when I save my app version in the Javascript? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 15 replies
-
Hi @IntegriTivity, I had this question in the past. You're not the first who's experienced that issue. The setup is supposed to be automatic. When the iFrameWnd is initialized the first time, that APP_KTL_VERSIONS entry should be created so you don't have to worry about it. I'll investigate that. In the meantime, is it ok now or do you need any urgent assistance? Norm |
Beta Was this translation helpful? Give feedback.
-
To answer your question...
No, saving the version in the Javascript does not update the record. And this is by design. Actually, this is the trick I use to gain full control over precisely WHEN the update is pushed. When these two values are different, a forced refresh is triggered in all opened browsers. This is true except for yours; as having the Developer role, you get the yellow warning that you must do the Broadcast now. This is what will stop the refresh loop they all had. What I don't understand is that there's code to kick start the process for the first time, i.e. when that record does not exist. The KTL creates it via API. But for some reason, it doesn't always work. So I'm trying to pinpoint that scenario / setup / sequence. If you have anything to share, it would help. What KTL version are you using in the Loader? Do you have a blank or a specific version between the two single quotes? Norm |
Beta Was this translation helpful? Give feedback.
-
Hi Norm
We had this issue too. We had to manually update the version otherwise
everyone had a forced refresh loop. We have not been able to resolve this
issue either.
Craig
…On Sat, 27 Jul 2024, 01:33 Cortex R&D Inc., ***@***.***> wrote:
To answer your question...
Should the value for APP_KTL_VERSIONS in App Settings table update
automatically when I save my app version in the Javascript?
No, saving the version in the Javascript does not update the record. And
this is by design.
Actually, this is the trick I use to gain full control over precisely WHEN
the update is pushed.
When these two values are different, a forced refresh is triggered in all
opened browsers.
This is true except for yours; as having the Developer role, you get the
yellow warning that you must do the Broadcast now. This is what will stop
the refresh loop they all had.
What I don't understand is that there's code to kick start the process for
the first time, i.e. when that record does not exist. The KTL creates it
via API. But for some reason, it doesn't always work.
So I'm trying to pinpoint that scenario / setup / sequence.
If you have anything to share, it would help.
What KTL version are you using in the Loader? Do you have a blank or a
specific version between the two single quotes?
Norm
—
Reply to this email directly, view it on GitHub
<#331 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQQXA3KKURK4WEDGZ3KGSTZOLTELAVCNFSM6AAAAABLQZU7ISVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJWGQ3TGMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: <cortexrd/Knack-Toolkit-Library/repo-discussions/331/comments/10164733
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Also using it with the Dev environment means we constantly get that message
flashing up that we aren't up to date.
…On Sat, 27 Jul 2024, 02:17 Craig Winnall, ***@***.***> wrote:
Hi Norm
We had this issue too. We had to manually update the version otherwise
everyone had a forced refresh loop. We have not been able to resolve this
issue either.
Craig
On Sat, 27 Jul 2024, 01:33 Cortex R&D Inc., ***@***.***>
wrote:
> To answer your question...
>
> Should the value for APP_KTL_VERSIONS in App Settings table update
> automatically when I save my app version in the Javascript?
>
> No, saving the version in the Javascript does not update the record. And
> this is by design.
>
> Actually, this is the trick I use to gain full control over precisely
> WHEN the update is pushed.
>
> When these two values are different, a forced refresh is triggered in all
> opened browsers.
>
> This is true except for yours; as having the Developer role, you get the
> yellow warning that you must do the Broadcast now. This is what will stop
> the refresh loop they all had.
>
> What I don't understand is that there's code to kick start the process
> for the first time, i.e. when that record does not exist. The KTL creates
> it via API. But for some reason, it doesn't always work.
>
> So I'm trying to pinpoint that scenario / setup / sequence.
>
> If you have anything to share, it would help.
>
> What KTL version are you using in the Loader? Do you have a blank or a
> specific version between the two single quotes?
>
> Norm
>
> —
> Reply to this email directly, view it on GitHub
> <#331 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACQQXA3KKURK4WEDGZ3KGSTZOLTELAVCNFSM6AAAAABLQZU7ISVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJWGQ3TGMY>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID:
> <cortexrd/Knack-Toolkit-Library/repo-discussions/331/comments/10164733@
> github.com>
>
|
Beta Was this translation helpful? Give feedback.
-
Yes of course I'll set it up today and send you thevlink
Kind regards,
Craig Winnall
07543423538
…On Sun, 28 Jul 2024, 02:55 Cortex R&D Inc., ***@***.***> wrote:
1. Craig, can you reproduce that behavior at will?
2. Do you have a sequence for me?
I may have to connect remotely to see what's happening, because I can't
reproduce the bug in any pf my apps.
Norm
—
Reply to this email directly, view it on GitHub
<#331 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQQXA3GVWBBITVTH5N32GLZORFS5AVCNFSM6AAAAABLQZU7ISVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJWHE3TEOA>
.
You are receiving this because you commented.Message ID:
<cortexrd/Knack-Toolkit-Library/repo-discussions/331/comments/10169728@
github.com>
|
Beta Was this translation helpful? Give feedback.
Rename your view from App Settings to SW Update.
FYI, this is the line that sets this variable from the title:
appBcstSWUpdateViewId: ktl.core.getViewIdByTitle('SW Update', Knack.router.current_scene_key, true),