Query a user profile for properties

Home › Forums › Modern DFFS › Query a user profile for properties

Viewing 1 reply thread
  • Author
    Posts
    • #39668

      Hi Alexander,

      Is it possible to query a specific user profile (from a people picker field) for properties such as mobile phone number or department ?
      I would need this to automatically populate some fields in a form.

      Thank you very much in advance and BR,
      Chris

    • #39669
      Alexander Bautz
      Keymaster

        Hi,
        You can use something like the attached code in Custom JS. I have just written it out with console.log, but you can use setFieldValue to write it to your destination field.

        Regards,
        Alexander

        • This reply was modified 4 weeks, 1 day ago by Alexander Bautz. Reason: Added the code as att instead
    Viewing 1 reply thread
    • You must be logged in to reply to this topic.