Auto-Refresh Data

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

ความคิดเห็น •

  • @jordandotson6730
    @jordandotson6730 5 หลายเดือนก่อน

    I know the point of the video is to get us to use KTL (and I probably will someday) but the code you provided at 1:45 sounds like it is the perfect solution for what I need... except, I can't get it to work :( I changed the two snippets to my correct view number (view_48) and it still doesn't work. Any ideas on what might be the issue?

    • @chprojectsupport
      @chprojectsupport  5 หลายเดือนก่อน

      Hi Jordan 👋
      Thank you for your comment.
      I just realised that I hadn’t put a link to the JavaScript in the video description.
      I’ve just updated it with a point 3, which is a link to a Dropbox text file.
      Without seeing your code it may be that there is a minor error or there is something else in the JavaScript panel that is stopping it from running.
      I’d recommend using the link to copy the code replacing the view id.
      Happy to connect if you can’t get it to work. I’ve been using the code for several years.

    • @jordandotson6730
      @jordandotson6730 5 หลายเดือนก่อน

      @@chprojectsupport ah, the linked code is slightly different than the screenshot in the video. Now it works, but it seems to be almost instantaneous, despite how many milliseconds I change it to (5000 vs 50000 vs 500000 acts the same) and therefore renders the Search by Keyword box useless since it clears it out within a second or two :/ Thank you so much for your help!

    • @chprojectsupport
      @chprojectsupport  5 หลายเดือนก่อน

      @@jordandotson6730 - I'm so sorry, I just checked an I managed to put the wrong code in the Dropbox link. I'm surprised you got it to work at all. If you use the link again you will see that I was missing the line that actually fetches the view. You just need to replace the view ID in two places. I tried it with 5 sec and 10 sec and it works as expected. That's always one of the issues with code, its so easy to get it wrong 😉 - Using the auto refresh keyword with KTL is a lot easier. Let me know how it goes?

    • @jordandotson6730
      @jordandotson6730 5 หลายเดือนก่อน +1

      @@chprojectsupport Yes! It works now! Thank you!

    • @chprojectsupport
      @chprojectsupport  5 หลายเดือนก่อน +1

      @@jordandotson6730 - Awesome, its a handy snippet when you get given the right code!! 😂

  • @timespace1449
    @timespace1449 5 หลายเดือนก่อน

    Hi,
    How to access KTL docs same like you were showing on the video.I could not find it online.Thanks

    • @chprojectsupport
      @chprojectsupport  5 หลายเดือนก่อน

      Hi 👋 the link is in the video description 👍
      github.com/cortexrd/Knack-Toolkit-Library