# API & Custom Code

**URL:** https://forums.knack.com/c/api-customization/23.md

[Latest](https://forums.knack.com/latest.md) · [Categories](https://forums.knack.com/categories.md) · [Tags](https://forums.knack.com/tags.md)

---

## [About the API & Custom Code category](https://forums.knack.com/t/about-the-api-custom-code-category/4419)

<div class="topic-metadata">

**Author:** [@Jessie](https://forums.knack.com/u/Jessie)\
**Replies:** 1\
**Last updated:** [December 8, 2021, 7:39pm UTC](https://forums.knack.com/t/about-the-api-custom-code-category/4419 "2021-12-08T19:39:20Z")

</div>

Extend your app’s potential using custom code and integrations. Knack offers features and a comprehensive set of resources that give designers and developers access to update and customize Knack applications. For our f…

---

## [Css to change the color of background and font of the group headers in tables in Nextgen](https://forums.knack.com/t/css-to-change-the-color-of-background-and-font-of-the-group-headers-in-tables-in-nextgen/20580)

<div class="topic-metadata">

**Author:** [@Angie](https://forums.knack.com/u/Angie)\
**Replies:** 2\
**Last updated:** [October 7, 2026, 1:05pm UTC](https://forums.knack.com/t/css-to-change-the-color-of-background-and-font-of-the-group-headers-in-tables-in-nextgen/20580 "2026-10-07T13:05:20Z")

</div>

I have the css I have used in the past with the classic builder to change the color of the background and font of group headers in table views but cannot seem to get it to work in Nextgen. This is the code I used in cl…

---

## [📊 Executive-grade reports inside your Knack app](https://forums.knack.com/t/executive-grade-reports-inside-your-knack-app/20406)

<div class="topic-metadata">

**Author:** [@ivan](https://forums.knack.com/u/ivan)\
**Replies:** 5\
**Last updated:** [October 6, 2026, 7:13am UTC](https://forums.knack.com/t/executive-grade-reports-inside-your-knack-app/20406 "2026-10-06T07:13:34Z")

</div>

I’d like to share a reporting layer I built that runs directly inside your Knack app. It gives you detailed reports on your existing Knack data, with no separate BI tool or subscription required. It reads your record…

---

## [Hide Inaccessible links automatically](https://forums.knack.com/t/hide-inaccessible-links-automatically/20581)

<div class="topic-metadata">

**Author:** [@LeighBerre96926](https://forums.knack.com/u/LeighBerre96926)\
**Replies:** 0\
**Last updated:** [October 2, 2026, 3:31am UTC](https://forums.knack.com/t/hide-inaccessible-links-automatically/20581 "2026-10-02T03:31:39Z")

</div>

CLASSIC KNACK BUILDER ONLY One of the annoyances I’ve felt with Knack is that it sets up circumstances where you can present a menu button or a link to a user for a Knack page they don’t have access to - which gives the…

---

## [MCP front end build knack reskin](https://forums.knack.com/t/mcp-front-end-build-knack-reskin/20577)

<div class="topic-metadata">

**Author:** [@Johnny\_Appknowledged\_UK](https://forums.knack.com/u/Johnny_Appknowledged_UK)\
**Replies:** 0\
**Last updated:** [September 28, 2026, 10:17pm UTC](https://forums.knack.com/t/mcp-front-end-build-knack-reskin/20577 "2026-09-28T22:17:24Z")

</div>

I’ve been experimenting with how far you can take a custom front end while keeping Knack as the backend, and I’ve put together an interactive demo. You can drag a slider to compare the original-style interface with the …

---

## [Highcharts in custom JS](https://forums.knack.com/t/highcharts-in-custom-js/20570)

<div class="topic-metadata">

**Author:** [@Pieter](https://forums.knack.com/u/Pieter)\
**Replies:** 1\
**Last updated:** [September 23, 2026, 2:03am UTC](https://forums.knack.com/t/highcharts-in-custom-js/20570 "2026-09-23T02:03:30Z")

</div>

I use Highcharts in my custom JS on my app. I would like to use a polar type chart but it seems like it requires the highcharts-more.js library and I cannot get it to load successfully. Has anyone solved this?

---

## [Heads up! Small chance of a potentially breaking change](https://forums.knack.com/t/heads-up-small-chance-of-a-potentially-breaking-change/20571)

<div class="topic-metadata">

**Author:** [@Kara](https://forums.knack.com/u/Kara)\
**Replies:** 24\
**Last updated:** [September 21, 2026, 11:55pm UTC](https://forums.knack.com/t/heads-up-small-chance-of-a-potentially-breaking-change/20571 "2026-09-21T23:55:47Z")

</div>

We’re fixing an edge case where edit-only views, including edit forms, inline-editable tables, search results, list views, and calendar views, could be used to create new records by sending a POST request directly to the…

---

## [Enhanced Bulk Update for Knack Next-Gen — Select Records and Update in Bulk](https://forums.knack.com/t/enhanced-bulk-update-for-knack-next-gen-select-records-and-update-in-bulk/20550)

<div class="topic-metadata">

**Author:** [@james.technology.solutions](https://forums.knack.com/u/james.technology.solutions)\
**Replies:** 1\
**Last updated:** [August 31, 2026, 10:12pm UTC](https://forums.knack.com/t/enhanced-bulk-update-for-knack-next-gen-select-records-and-update-in-bulk/20550 "2026-08-31T22:12:10Z")

</div>

Hi everyone, I know there’s other bulk update solutions out there but I’ve been working on a standalone bulk update customization for Knack Next-Gen and wanted to share mine with the community. The goal was to create a…

---

## [Add Record Count to table groups](https://forums.knack.com/t/add-record-count-to-table-groups/7728)

<div class="topic-metadata">

**Author:** [@BradStevens](https://forums.knack.com/u/BradStevens)\
**Replies:** 7\
**Last updated:** [August 31, 2026, 1:31am UTC](https://forums.knack.com/t/add-record-count-to-table-groups/7728 "2026-08-31T01:31:15Z")

</div>

1. Create your table with groups as per http://helpdesk.knackhq.com/support/solutions/articles/5000443486-tables#columns 2. Add Javascript and change XXX to your view: //Call the function when your table renders $(docume…

---

## [Build Json payload in HTTP Request Action module](https://forums.knack.com/t/build-json-payload-in-http-request-action-module/20499)

<div class="topic-metadata">

**Author:** [@Carina](https://forums.knack.com/u/Carina)\
**Replies:** 2\
**Last updated:** [August 4, 2026, 9:53pm UTC](https://forums.knack.com/t/build-json-payload-in-http-request-action-module/20499 "2026-08-04T21:53:46Z")

</div>

I am using the “HTTP Request” action module in Flows to send (POST) a json payload to a third-party service. I was expecting to see an option to build the body of the request, as you can see it in the screen shot from th…

---

## [Easily Backup Knack Tables to Google Drive](https://forums.knack.com/t/easily-backup-knack-tables-to-google-drive/20480)

<div class="topic-metadata">

**Author:** [@Cary](https://forums.knack.com/u/Cary)\
**Replies:** 3\
**Last updated:** [July 22, 2026, 3:57pm UTC](https://forums.knack.com/t/easily-backup-knack-tables-to-google-drive/20480 "2026-07-22T15:57:11Z")

</div>

I recently converted a Python script to a Google Apps Script, and I’d like to share it with everyone. It backs up your Knack tables to a Google Drive. It’s easy to set up and pretty much free if you have the available Kn…

---

## [Linked FILTER MENUS](https://forums.knack.com/t/linked-filter-menus/20487)

<div class="topic-metadata">

**Author:** [@LeighBerre96926](https://forums.knack.com/u/LeighBerre96926)\
**Replies:** 0\
**Last updated:** [July 19, 2026, 10:26am UTC](https://forums.knack.com/t/linked-filter-menus/20487 "2026-07-19T10:26:42Z")

</div>

APPLIES TO CLASSIC ONLY KTL has a great \_lf Linked Filter keyword, but that doesn’t work with Filter Menus. To achieve the same thing, you can use this small Javascript & CSS pair. Set up all the views with the ident…

---

## [Export CHARTS and PIVOT TABLE direct to EXCEL- and more](https://forums.knack.com/t/export-charts-and-pivot-table-direct-to-excel-and-more/20478)

<div class="topic-metadata">

**Author:** [@LeighBerre96926](https://forums.knack.com/u/LeighBerre96926)\
**Replies:** 0\
**Last updated:** [July 13, 2026, 11:37am UTC](https://forums.knack.com/t/export-charts-and-pivot-table-direct-to-excel-and-more/20478 "2026-07-13T11:37:02Z")

</div>

APPLICABLE to CLASSIC only. Here are some goodies for people that have a need to export the data table underlying charts, or export PIVOT TABLES to excel. I know people have only been asking for this since 2015, so bet…

---

## [Universal API for Knack to Databases and Files](https://forums.knack.com/t/universal-api-for-knack-to-databases-and-files/19344)

<div class="topic-metadata">

**Author:** [@Scott4](https://forums.knack.com/u/Scott4)\
**Replies:** 22\
**Last updated:** [June 26, 2026, 5:16pm UTC](https://forums.knack.com/t/universal-api-for-knack-to-databases-and-files/19344 "2026-06-26T17:16:28Z")

</div>

For the past few months, I have built what I call a universal connector for Knack. The software allows you to use a wizard to setup a connection between your database or CSV/Excel file to upload and download data from Kn…

---

## [Built a live compliance & performance dashboard inside Knack - built for a Law Firm, adaptable for any industry](https://forums.knack.com/t/built-a-live-compliance-performance-dashboard-inside-knack-built-for-a-law-firm-adaptable-for-any-industry/20446)

<div class="topic-metadata">

**Author:** [@RakeshBajania](https://forums.knack.com/u/RakeshBajania)\
**Replies:** 0\
**Last updated:** [June 16, 2026, 3:33pm UTC](https://forums.knack.com/t/built-a-live-compliance-performance-dashboard-inside-knack-built-for-a-law-firm-adaptable-for-any-industry/20446 "2026-06-16T15:33:36Z")

</div>

I wanted to share a reporting dashboard I built for one of my Knack projects. It gives users a clear, visual breakdown of their records - flagged vs. unflagged items, performance by user, and compliance trends - without …

---

## [✨ Real-time Form Field Control JS](https://forums.knack.com/t/real-time-form-field-control-js/20419)

<div class="topic-metadata">

**Author:** [@Kara](https://forums.knack.com/u/Kara)\
**Replies:** 2\
**Last updated:** [June 15, 2026, 1:56pm UTC](https://forums.knack.com/t/real-time-form-field-control-js/20419 "2026-06-15T13:56:35Z")

</div>

We have introduced a suite of new client-side JavaScript APIs designed to give you precise, real-time control over form validation and user feedback directly in your Live App. This will allow you to build responsive, hig…

---

## [How to dynamically display record details?](https://forums.knack.com/t/how-to-dynamically-display-record-details/18642)

<div class="topic-metadata">

**Author:** [@JDWorleyKY](https://forums.knack.com/u/JDWorleyKY)\
**Replies:** 14\
**Last updated:** [June 6, 2026, 5:58pm UTC](https://forums.knack.com/t/how-to-dynamically-display-record-details/18642 "2026-06-06T17:58:32Z")

</div>

I am certain there’s a way to do this, but searching and Googling hasn’t been fruitful thus far! When selecting a Name in a Searchable field, I’d like to display some other fields from the same record over to the right …

---

## [Replace Knack's editor with QUILL - you'll love it](https://forums.knack.com/t/replace-knacks-editor-with-quill-youll-love-it/20421)

<div class="topic-metadata">

**Author:** [@LeighBerre96926](https://forums.knack.com/u/LeighBerre96926)\
**Replies:** 0\
**Last updated:** [June 5, 2026, 1:28am UTC](https://forums.knack.com/t/replace-knacks-editor-with-quill-youll-love-it/20421 "2026-06-05T01:28:31Z")

</div>

Replacing Redactor with Quill in Knack — a better rich text editor If you’ve ever been frustrated with Knack’s chosen editor Redactor’s paste behaviour, paragraph spacing, or limited toolbar control, here’s how to swap …

---

## [Subtotal for Second Level Grouping](https://forums.knack.com/t/subtotal-for-second-level-grouping/18237)

<div class="topic-metadata">

**Author:** [@TootsieTor35028](https://forums.knack.com/u/TootsieTor35028)\
**Replies:** 14\
**Last updated:** [June 3, 2026, 4:43pm UTC](https://forums.knack.com/t/subtotal-for-second-level-grouping/18237 "2026-06-03T16:43:56Z")

</div>

Like many others before me, I would like to have a subtotal for groupings beyond level 1 in a grid. I have been fiddling around with code for a few days, trying to piecemeal bits of code together into solution. I am not …

---

## [Flows Timeout Limitation](https://forums.knack.com/t/flows-timeout-limitation/18475)

<div class="topic-metadata">

**Author:** [@GSergeant](https://forums.knack.com/u/GSergeant)\
**Replies:** 2\
**Last updated:** [May 29, 2026, 11:07pm UTC](https://forums.knack.com/t/flows-timeout-limitation/18475 "2026-05-29T23:07:07Z")

</div>

Test driving some of the new Flows functionality. Have a simple flow to email me when a payment comes in via Quickbooks. The flow receives the trigger from QBO, looks up the customer from the ID (why this needs to be don…

---

## [Next gen javascript](https://forums.knack.com/t/next-gen-javascript/20410)

<div class="topic-metadata">

**Author:** [@Chris8](https://forums.knack.com/u/Chris8)\
**Replies:** 0\
**Last updated:** [May 28, 2026, 8:24pm UTC](https://forums.knack.com/t/next-gen-javascript/20410 "2026-05-28T20:24:46Z")

</div>

In the classic app i had some custom javascript that took the search from one table and applied it to another table. Has anyone got something like this working in next gen? this is my classic code: $(document).on('knac…

---

## [Flows "Custom HTTP request" data format issue - json being escaped](https://forums.knack.com/t/flows-custom-http-request-data-format-issue-json-being-escaped/20071)

<div class="topic-metadata">

**Author:** [@jake5](https://forums.knack.com/u/jake5)\
**Replies:** 1\
**Last updated:** [April 28, 2026, 6:55pm UTC](https://forums.knack.com/t/flows-custom-http-request-data-format-issue-json-being-escaped/20071 "2026-04-28T18:55:39Z")

</div>

Hi Knack community, I’m working on a Flow that includes a “HTTP Request/Outgoing webhook” module, which needs to send json data to an external api. When setting up the external service for the module, I selected the dat…

---

## [Building Your Own "Chat with Data" (MCP) Server for Knack Apps](https://forums.knack.com/t/building-your-own-chat-with-data-mcp-server-for-knack-apps/20007)

<div class="topic-metadata">

**Author:** [@ZiadQ](https://forums.knack.com/u/ZiadQ)\
**Replies:** 6\
**Last updated:** [April 17, 2026, 3:26am UTC](https://forums.knack.com/t/building-your-own-chat-with-data-mcp-server-for-knack-apps/20007 "2026-04-17T03:26:50Z")

</div>

Building Your Own “Chat with Data” (MCP) Server for Knack Apps Empower Your Knack Data with AI: A Step-by-Step Guide Hey Knack Community! Have you ever wished you could simply ask your Knack application a question in pl…

---

## [💪📦 Moving around thousands of uploaded files in 55 minutes !?](https://forums.knack.com/t/moving-around-thousands-of-uploaded-files-in-55-minutes/20347)

<div class="topic-metadata">

**Author:** [@NormandDefayette\_CortexRD](https://forums.knack.com/u/NormandDefayette_CortexRD)\
**Replies:** 0\
**Last updated:** [April 14, 2026, 7:31pm UTC](https://forums.knack.com/t/moving-around-thousands-of-uploaded-files-in-55-minutes/20347 "2026-04-14T19:31:12Z")

</div>

Hi guys — sharing a little story from a recent project I recently built a custom tool that works with the Knack REST API to reorganize uploaded files in a live production app — moving them between tables while preservin…

---

## [Precision Navigation: Adding What3Words to Knack](https://forums.knack.com/t/precision-navigation-adding-what3words-to-knack/18770)

<div class="topic-metadata">

**Author:** [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Replies:** 1\
**Last updated:** [April 14, 2026, 1:43am UTC](https://forums.knack.com/t/precision-navigation-adding-what3words-to-knack/18770 "2026-04-14T01:43:17Z")

</div>

In this video, discover how to enhance your Knack application using the innovative mapping solution, What3Words. Learn how this tool can pinpoint locations on Earth within a precise 3m square, making it invaluable for bu…

---

## [Automatically deleting a Knack record and its connected child records](https://forums.knack.com/t/automatically-deleting-a-knack-record-and-its-connected-child-records/20339)

<div class="topic-metadata">

**Author:** [@StephenChapman](https://forums.knack.com/u/StephenChapman)\
**Replies:** 0\
**Last updated:** [April 10, 2026, 12:46am UTC](https://forums.knack.com/t/automatically-deleting-a-knack-record-and-its-connected-child-records/20339 "2026-04-10T00:46:34Z")

</div>

Deleting records in Knack can be a fragile process. If you delete a parent record, any child records connected to that may become orphaned and you can lose visibility or see missing data within your live app. On the ot…

---

## [Address Validation with USPS or Smartystreets.com?](https://forums.knack.com/t/address-validation-with-usps-or-smartystreets-com/7844)

<div class="topic-metadata">

**Author:** [@LucasPeter63807](https://forums.knack.com/u/LucasPeter63807)\
**Replies:** 6\
**Last updated:** [April 9, 2026, 7:19pm UTC](https://forums.knack.com/t/address-validation-with-usps-or-smartystreets-com/7844 "2026-04-09T19:19:01Z")

</div>

Does anyone know how I would go about validating an address field on a form, using the Autofill feature on Smartystreets.com? Autocomplete Coding Example from SmartyStreets I want to use smartystreets to validate an ad…

---

## [Setting a field value in Nextgen with Javascript](https://forums.knack.com/t/setting-a-field-value-in-nextgen-with-javascript/20128)

<div class="topic-metadata">

**Author:** [@BradStevens](https://forums.knack.com/u/BradStevens)\
**Replies:** 18\
**Last updated:** [March 30, 2026, 4:47pm UTC](https://forums.knack.com/t/setting-a-field-value-in-nextgen-with-javascript/20128 "2026-03-30T16:47:35Z")

</div>

Playing with Nextgen apps and as pointed out by @StephenChapman setting field values in Javascript is a different beast than in classic apps. this is a cornerstone of the complex apps we’ve been running for nearly 10 ye…

---

## [How to copy child records between Knack records](https://forums.knack.com/t/how-to-copy-child-records-between-knack-records/20302)

<div class="topic-metadata">

**Author:** [@StephenChapman](https://forums.knack.com/u/StephenChapman)\
**Replies:** 3\
**Last updated:** [March 29, 2026, 8:26pm UTC](https://forums.knack.com/t/how-to-copy-child-records-between-knack-records/20302 "2026-03-29T20:26:12Z")

</div>

Knack currently doesn’t have the inbuilt capability to duplicate a record’s connected records in either the Builder or live app. The only workaround is to create an automation (Knack Flows, Make, etc) to copy multiple…

---

## [Please Help - Horizontal Bar Chart Auto-Sizing Issue](https://forums.knack.com/t/please-help-horizontal-bar-chart-auto-sizing-issue/20275)

<div class="topic-metadata">

**Author:** [@Duncan](https://forums.knack.com/u/Duncan)\
**Replies:** 12\
**Last updated:** [March 10, 2026, 12:21am UTC](https://forums.knack.com/t/please-help-horizontal-bar-chart-auto-sizing-issue/20275 "2026-03-10T00:21:22Z")

</div>

Hello everyone, Hoping someone might be able to help me as I’m really struggling with getting CSS and JS working for this rendering issue I have with horizontal bar charts in Knack (I think they use Highcharts to render…

[Next page](https://forums.knack.com/c/api-customization/23.md?page=1)
