User_fields not found in user_sidebar | Community
Skip to main content

User_fields not found in user_sidebar

  • August 28, 2023
  • 3 replies
  • 0 views

Tech13

Hello,

We are developing a user_sidebar app according to this documentation: 

https://developer.zendesk.com/api-reference/apps/apps-support-api/user_sidebar/

However, when we run client.get('userFields') - it does not find any.

What could be the issue?

3 replies

Hello,
 
I'd like to double-check that user fields are available in the UI before trying to return them.  Do you also notice this when calling client.get('userFields') on the app.activated event?

Tech13
  • Author
  • September 6, 2023

Hello,

We have tried in many ways but it always return an empty array.

For example, we have created a button in the app to run the code at any time, to test this.As you can see the user fields are visible in the UI: 


However, when the Test button is clicked in the app it always returns an empty array:


Thanks for the info.  I've created a ticket to work through some details with you.  I follow up with you through that ticket.