💣4. Create Triggers
How to display Airtable record's data in popups
Triggers are meant to display the data of a certain Airtable record (row) in your 3DVista tour.
In Airtable
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.
CONCATENATE('window.BlazeCreators_skinCMS.openRecord("',RECORD_ID(),'");')

This field will automatically populate Javascript codes that will trigger opening individual records from Airtable in your 3DVista virtual tour:

In 3DVista
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! 😌
Last updated
Was this helpful?