0

Is it, for example, possible to get information about Profile.ProfileApplicationVisibility (like here)? Possible requirements are: Which fields are required or what is the default value of that field.

1

1 Answer 1

2

If I understand you correctly, what you need is the Metadata API Developer Guide, specifically the Metadata Types section under Reference.

You'll find information about the type Profile.ProfileApplicationVisibility on the page for the Profile entity. It includes information about the fields on that type and what is required. Where defaults are present on non-required fields, they're also described in that documentation.

You can use the describeValueType() and describeMetadata() API calls to get metadata describe information.

4
  • Thank you. What I meant is there programmatically way (API) to get these information?
    – Julian
    Commented Jan 10, 2021 at 9:22
  • 1
    Yes, I've added a note on how to do so.
    – David Reed
    Commented Jan 10, 2021 at 16:02
  • describeValueType() helped me. It returned all required Profile fields.
    – Julian
    Commented Jan 15, 2021 at 9:53
  • Update: It doesn't seem to work with all types. For example calling describeValueType() with PermissionSet doesn't return all fields like documented.
    – Julian
    Commented Jan 28, 2021 at 12:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .