最近の検索


最近の検索はありません

How to Show/Hide HTML content based on user's custom fields



投稿日時:2023年11月24日

We are currently exploring the capability to selectively display or hide specific HTML content within our Zendesk Guide upon attributes we assign to our customers, derived from a sync with Salesforce.

The attribute in question is the User Role field, situated on the user's page, which encapsulates a comma-separated string denoting the user's roles in our backend system—namely, 'Agent,' 'Admin,' 'Owner,' or 'Supervisor.'

In our attempt to retrieve this information, we employed the GET /api/v2/users/me endpoint, aiming to procure the roles assigned to the current user. However, we found out that full information is returned back to the browser if the logged in user is a "Zendesk Agent", but the full information is not returned to the browser if the logged in user is a "Zendesk End-User".

Are there any viable workarounds or alternative approaches to overcome this limitation?


1

1

1件のコメント

image avatar

이지훈(maclaude)

Zendesk Luminary

+1

0


サインインしてコメントを残してください。

お探しのものが見つかりませんか?

新規投稿