💣4. Create Triggers
How to display Airtable record's data in popups
Last updated
How to display Airtable record's data in popups
Last updated
Triggers are meant to display the data of a certain Airtable record (row) in your 3DVista tour.
First, create a formula field in Airtable. Call it anything you like, we recommend something like 3DVista Trigger
. Copy the formula below and paste it in the formula field and click Save.
This field will automatically populate Javascript codes that will trigger opening individual records from Airtable in your 3DVista virtual tour:
After copying one of the 3DVista triggers, open the 3DVista project, find something you would like to use as a trigger such as a hotspot in a panorama and:
Add an Execute Javascript action
Select an action that will be used as a trigger - it can be on click, on rollover, on rollout etc.
Paste the code and click Done
If the popup window needs to be shown/hidden, then don't forget to add the action of Show/Hide Components.
Repeat the above for all Airtable records you want to trigger and you are good to go! 😌