Query with edit in app

Hi @mxx ,
Depending on your programming skills, you can also consider rewriting (part of) your app. I did that once for such purpose (being able to edit a selected record). The global process was the following:

  • the “app” was created with simple HTML + JS pages
  • to avoid exposing my credentials and allow authentification, I managed a “server-side” part with a n8n workflow triggered by a webhook: the login webpage sends a login request with a user id and password, and if the data are recognized, the n8n workflow sends back the server URL and the API token stored in local storage (deleted while logging out) as webhook response.
  • to ease the app creation, I embedded the simple pages (simple forms or simple table views) with iframes, the source of the iframe being once again returned by the n8n workflow after a request from the HTML page (the source is sent only if the user is logged in).

I’m not sure that explaining the process farther is really useful here, but if you need more info feel free to contact me :wink:

Bests,
Benjamin

1 Like