Recherches récentes


Pas de recherche récente

How to display callout above the ticket form for specific user's segments?

Avec réponse


Publication le 21 mars 2022

Hello,

in my company we have customers with and without subscription. I'm looking one from those solutions:

1) Showing form only for specific user's segments (tried do this but with no success)

2) Display callout with warning that creating ticket is available only for users with subscription:

Of course technically it's possible to send us the ticket, but specific trigger close tickets. I need something to warn about it users who don't belong to specific segments.

Right now I have: 

{{#if signed_in}}
    <div class="callout callout--danger">
  <h5 class="callout__title"><em class="fas fa-exclamation-triangle">&nbsp;</em>Caution</h5>
  <p>The service is available only for users with subscription</p>
</div

Is this possible to display this 'callout div' only for specific segments or users from organization with specific tags? 


0

1

1 commentaire

image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hi Jakub,
 
Thanks for reaching out!
 
Perhaps the article here could be utilized for your use case, with the use of the HelpCenter.user.role property in place of organization:
 
I hope this helps! Let me know if you run in to any issues.
 
Tipene

0


Vous devez vous connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication