setFieldValue to get Direct Reports of a Manager

Forums Classic DFFS setFieldValue to get Direct Reports of a Manager

Viewing 2 reply threads
  • Author
    • #20089
      Craig Campbell

      Hello Alex, I am trying to get the Direct Reports information from the userprofile properties. I have this working for other fields but cannot get the information for a list of Direct Reports. I am trying to insert this inofrmation in a People Picker field or in a Multi Line text field. Is this possible? See attached code.

    • #20102
      Alexander Bautz

      I see you have logged the userprofile object to the console – look at the output and make sure the “DirectReports” attribute is correct and that it has the correct format for inserting in a PP (string with display name or loginname)?


    • #20260
      Craig Campbell

      Thanks Alex. It turns out that this is a hidden calculated field and is not available through the the userprofile.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.