Troubleshooting the KTL #186
Replies: 2 comments
-
Is it the KTL that's causing the issue I'm seeing?You see something wrong in your app and you'd like to know if it's the KTL or a Knack bug. It's always a good idea to sort this out before submitting a ticket to Knack. The last thing I want is you guys bothering Knack support team and engineers with any KTL problems! So please, always do this test first. There's a provision to quickly disable the KTL locally on your device, without removing the loader, which would affect all other users. Here's how it's done: Disabling the KTLHere's how to do it quickly, without removing the loader:
The app will reload but without the KTL code. You will see all the keywords, and can asses if the KTL is causing the issue. To revert back to normal (with the KTL loaded), you must close the app and restart it. Norm |
Beta Was this translation helpful? Give feedback.
-
Testing “special versions” of the KTLThere are 5 versions of the KTL that can be used: 1. Production We will explain what each mean. ProductionThe "Production" version, or "Prod," is the default (standard) setting that fetches the most recent official release. This version is used by the majority of users. BetaThe "Beta" version serves as a preview of the candidate for next production release. It allows users to test new features, verify bug fixes, and evaluate overall stability before it becomes official. After thorough testing, Beta versions are finalized, assigned an official release number, and moved to production. DevelopmentThe "Development" version, or "Dev," is a stage that can encompass a wide range of content, from experimental features to diagnostic tools. It's designed for short-term, individual use and is often unstable. Usage is coordinated directly between the user and the KTL developer, where both parties agree on its contents and application. LocalThe "Local" mode is designed for advanced coders, allowing them to run code directly from their workstation's hard drive via a NodeJS server. This setup facilitates a rapid cycle of editing, saving, and testing changes. NumberedA "Numbered" version refers to any specific release within the production environment, either current or previous. Users can revert to an earlier version by manually selecting its number in the KTL system. This rollback feature is particularly useful for diagnosing new issues by identifying the version where a bug first appeared. Switching between KTL versionsTo change KTL versions, access the KTL Developer Tools and click the top button, KTL Code. Enter a single letter to select the desired code version—'p' for Production, 'b' for Beta, 'd' for Development, 'l' for Local, or enter a specific version number like "0.24.0." Confirming your choice will refresh the app to the new version, indicated by the Version Info Bar. Note: This change affects only your device, not others. To update the version for all users, adjust the version in the Builder within the Loader's code, between the two empty single quotes. The following lowercase strings are accepted:
For example, if I want all users to use the Beta version:
How to get out of a special modeTo go back to production code, simply type the letter “p” and the app will revert to normal. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In this discussion, we'll demonstrate various methods for troubleshooting the KTL, focusing on identifying and addressing the root causes of any issues encountered.
Beta Was this translation helpful? Give feedback.
All reactions