I have landing page #1 with a form. One of the fields on my form is called “special_id”. When the user submits the form, I will redirect the user to landing page #2.
On landing page #2, I will look up a url in HubDB based on the “special_id” field and perform a JS window.location.href = ‘…’ based on the value pulled from the database.
I plan to create a custom module for use on landing page #2. This module will access the database and force the “redirect”.
Some questions:
Will landing page #2 have access to the property {{contact.special_id}} that was populated on form submission of landing page #1?
Does landing page #2 have the ability to update a cell in the HubDB table using HubL? If not, can I make rest calls from my custom module to update a cell’s value?
From the documentation I see on HUBL regarding HubDB is that commands only allow read-only access to HubDB. In order to update HubDB, it seems a rest call is necessary. Can you share where this is documented as you explain above?