mai 19, 20228:32 AM - editado mai 19, 20228:33 AM
Top colaborador(a)
Web module linked to CRM Object
resolver
Has anyone had any experience creating web modules that pull the data directly from a CRM object instead of HubDB?
I've used this guide that works, but it makes no mention of select list items. I can only get it to pull in data that are stored in text boxes for example {{ event.name }}
When data is set within an object select list for example {{ event.region }} the results are blank! I assume I need to add something to this code snippet?
I assume you're having problems pulling values from dropdown select fields, is that correct ?
You can try, instead of querying the whole object, to specify the properties you want to return like this :
I've just tried it and it works, when querying your object, specify the properties by adding them in the crm_object() function. You have to list the properties' internal name, between quotes and separated by commas.
Hope this helps ! If it does, please consider marking this answer as a solution 🙂
Best,
Ludwig
CTO @ Mi4 Hubspot Platinum Partner and Integration Expert
Passionate human, very curious about everything data and automation.
You're right CSS can take care of any styling issues, but at the moment my goal is to learn the basics and remove any excess content.
Your pprint method has allowed me to show everything including the select list data (the 'yes' on the last item), but I only need to show the event name and attendance fields and not the ID's etc.
Is there anything similar to pprint but only for specific fields? It's like I need something along the lines of the hubdb equivalent {{ row["event_attendance"].name }}
I assume you're having problems pulling values from dropdown select fields, is that correct ?
You can try, instead of querying the whole object, to specify the properties you want to return like this :
I've just tried it and it works, when querying your object, specify the properties by adding them in the crm_object() function. You have to list the properties' internal name, between quotes and separated by commas.
Hope this helps ! If it does, please consider marking this answer as a solution 🙂
Best,
Ludwig
CTO @ Mi4 Hubspot Platinum Partner and Integration Expert
Passionate human, very curious about everything data and automation.