App Script Constants!

What's New


We've enhanced the performance of application scripts (app scripts) to help them load and execute faster.

We've also introduced a new feature, App Script Constants, to help make app scripts more robust.

App Script Constants is an enhancement to our powerful scripting feature. App scripts commonly include the names of tables, fields or relationships. However, sometimes the script becomes problematic when the name of a referenced table, field or relationship is inadvertently changed; the script no longer recognizes the new name and breaks, causing some automation to grind to a halt. 

Each table, field and relationship in TrackVia has a unique numeric identifier (ID) that never changes.  This data has been hidden in the past and used behind the scenes when building an application and resources.  The new capability in this release exposes this internal system ID for each table, field and relationship. With the newly-exposed data, the person writing the script can define a variable and set it equal to the unique ID - the constant - for the table, field or relationship. When the script executes, it will use the constant ID. If field, relationship or table name is changed, the script will still execute correctly.

To see the IDs, go to the Application Scripts page in the Table Editor. Click the arrow on the right of the screen to open the slide-out drawer. You will see all your applications listed in alphabetical order with your current application expanded to show its tables. You can expand each table to show its fields and relationships. Beside each is the system ID in parentheses. For example, in the below screenshot, the application “DD cars, Sales” has an application ID of 11, the table “Inventory” has ID 55 and the “Car ID” field has ID 608. Click the clipboard beside an ID to copy the constant declaration to your clipboard. Paste the declaration into the script editor and away you go!





Product Release Notes

  1. iOS Mobile App v4.4.2: Resolve Unintentional Logouts from the App
  2. Web Maintenance January 2020
  3. Web v20.10: New Permission & Enhancements to Bulk Select
  4. Android Mobile App v2.23: Side by Side Multi-Select and Maintenance
  5. December 2019 Web Maintenance
  6. Microservices Update
  7. iOS Mobile App v4.4.1: Login to Sandbox Environment
  8. iOS Mobile App v4.4: Locations, Directions, and Maintenance
  9. October 2019 Web Maintenance
  10. iOS Mobile App v4.3.1: Logout Issue Resolved
  11. October 2019 Platform Maintenance
  12. Introducing Pivot Views!
  13. Android Mobile App v2.21.7: Maintenance Release
  14. iOS Mobile App v4.3: Sync Center Enhancements and Maintenance Release
  15. September 2019 Platform Maintenance
  16. September 2019 Web Maintenance
  17. iOS Mobile App v4.2 Maintenance Release
  18. August 2019 Platform Maintenance
  19. Android Mobile App v2.21.6: Maintenance Release
  20. Introducing TrackVia Integrations!
  21. Android Mobile App v2.21.5: Maintenance Release
  22. August 2019 Release Notes: Web Maintenance
  23. iOS Mobile App v4.1: Updates to Grid Views, Multi Select Widgets and Date/Time Stamps
  24. June 2019 Maintenance
  25. New in Mobile: iOS v4.0 - Simplified Offline Data Sync
  26. iOS Mobile App v4.0: Release Notes
  27. May 2019 Release Notes: Web Maintenance 2
  28. May 2019 Release Note: Web Maintenance
  29. App Script Constants!
  30. April 2019 Release Notes: API Maintenance
  31. Entity Relationship Diagram Improvements
  32. Improved Lanes View!
  33. December 2018 Release Notes: Web Maintenance
  34. Custom Mail Settings!
  35. November 2018 Release Notes: Platform Maintenance
  36. October 2018 Release Notes: Maintenance
  37. Improved User Management
  38. Views & Quick Filter Updates
  39. July 2018 Release Notes: Maintenance
  40. June 13, 2018 Release Notes: Maintenance
  41. May 25, 2018 Release Notes: Sandbox Environments
  42. May 2018 Release Notes: Deprecating TLS 1.0 & 1.1
  43. April 23rd Release Notes: Maintenance
  44. April 18th Release Notes: Maintenance
  45. April 10th Release Notes: Maintenance
  46. March 2018 Release Notes: Maintenance
  47. February 2018 Release Notes: More Intelligent Saving & Other Notes
  48. January 2018 Release Notes: Maintenance
  49. December 2017 Release Notes: Offline Editing on Android
  50. November 2017 Release Notes: Timeline | Calendar and Conditional Formatting
  51. September 2017 Release Notes: Maintenance
  52. August 2017 Release Notes: Maintenance
  53. July 2017 Release Notes: Maintenance
  54. June 27, 2017: TrackVia Introduces Flows!
  55. May 22, 2017: TrackVia Apple Watch App
  56. May 2017 Release Notes
  57. May 5, 2017: Better Connectivity Handling
  58. April 2017 Release Notes
  59. March 2017 Release Notes
  60. March 27, 2017: Single Sign On
  61. February 23, 2017: Winter Polish
  62. February 2017 Release Notes: Session Timeouts
  63. January 2017 Release Notes: Number Display Options & Min / Max

Feedback and Knowledge Base