• Créditos da HubSpot: Desbloqueie ferramentas poderosas para o crescimento

    Dúvidas?

UI components - CrmAssociationTable

Pietro-Poli-
Colaborador(a) | Parceiro Diamante
Colaborador(a) | Parceiro Diamante

Hi,
I'm working on a custom tab and in particular I need to have some sort of nested table on 2 different objects:

 

We have 2 custom objects called "Gruppi di Ticket" and "Sacchetto" plus a standard Ticket object.

  • A "Gruppi di Ticket" can have 1 or more "Sacchetto"
  • A "Sacchetto" can have 1 or more "Tickets"

I need a table, in "Gruppi di Ticket" that shows the structure of the two underlying Gruppi di Ticket objects and for each "Sacchetto" or "Ticket" some custom properties (editable and not editable) and some buttons.

Now I can achieve the first goal, but I can't create a loop to write the list of tickets. Is it something doable?


Pietro Poli
Wrike Certified Professional ★ HubSpot Certified Trainer

logo

Hubspot Platinum Partner
0 Avaliação positiva
1 Solução aceita
Pietro-Poli-
Solução
Colaborador(a) | Parceiro Diamante
Colaborador(a) | Parceiro Diamante

Thanks @zach_threadint .
I've found this https://developers.hubspot.com/blog/hello-world-creating-your-first-react-graphql-custom-card-for-hu...

I think I'll start from there.


Pietro Poli
Wrike Certified Professional ★ HubSpot Certified Trainer

logo

Hubspot Platinum Partner

Exibir solução no post original

0 Avaliação positiva
4 Respostas 4
Pietro-Poli-
Colaborador(a) | Parceiro Diamante
Colaborador(a) | Parceiro Diamante

Hi!
I'm working on this new Custom Card and I got this error when I do hs project upload

× Failed to upload GruppiTicket_Vista project files to xxxx (xxxxx)
[ERROR] The post to 'project upload' in account xxxxx was bad. name is missing at /app

What I'm missing?


Pietro Poli
Wrike Certified Professional ★ HubSpot Certified Trainer

logo

Hubspot Platinum Partner
0 Avaliação positiva
Pietro-Poli-
Solução
Colaborador(a) | Parceiro Diamante
Colaborador(a) | Parceiro Diamante

Thanks @zach_threadint .
I've found this https://developers.hubspot.com/blog/hello-world-creating-your-first-react-graphql-custom-card-for-hu...

I think I'll start from there.


Pietro Poli
Wrike Certified Professional ★ HubSpot Certified Trainer

logo

Hubspot Platinum Partner
0 Avaliação positiva
zach_threadint
Orientador(a)

Hi @Pietro-Poli- 👋

 

As far as I can tell, you'll likely need to use a serverless function to retrieve the required data and then use a combination of UI Extension "Standard Components" to display that data. This is because I don't see a way to achieve this kind of nested association data structure using the "CRM data components".

 

I hope that proves helpful. Please let me know if you have any follow-up questions.

All the best,

Zach

--

Zach Klein
HubSpot Integrations & App Developer
Meanjin / Brisbane, Australia



Say g'day


If my post helped answer your query, please consider marking it as a solution.


0 Avaliação positiva
Jaycee_Lewis
Autoridade no assunto

Hi, @Pietro-Poli- 👋 Thanks for your question. Let's invite some of our community experts to the conversation — hey @Anton @SteveHTM @zach_threadint, do you have any experience with the challenge @Pietro-Poli- is facing?

 

Thank you very much for taking a look! — Jaycee





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More