Is there a way to update User API fields in Nav Bar Apps?



Publicado 10 jul 2022

I'm creating a Nav Bar app, and I wanted to know if there was a way to update a Users field from it (ex. Role, suspended, etc). I see documentation on updating ticket options in ticket sidebar using client.set(). 

I am new to this, and would love some help.

Thank you.


0

4

4 comentarios

Ahmed Zaid One thing I did notice, the field updates but only after I fully refresh the page. If I try to reload the page using javascript, the updated fields don't reflect. Is there a solution to this?

0


Ahmed Zaid amazing, that worked! Thank you so much for your help. I really appreciate you taking the time to help.

0


Ahmed Zaid Great! Do you have an example of how I would use client.request() to update the user end point?

0


Ahmed Zaid Thank you for this, but in the Nav Bar app I am puling all users from the Users API using client.request(). I am able to pull all the users and list them on the app, however, I can't find a way to update any User fields. I would like to do this using a Users ID if possible.

I want to be able to select a User and update their Role or Suspension status directly from that app.

0


Iniciar sesión para dejar un comentario.

¿No encontró lo que buscaba?

Nueva publicación