1

Is this a simple way to cast ProfileRecordTypeVisibility to PermissionSetRecordTypeVisbility using MetadataService wrapper? If not, where can i find lists of fields for each?

1
  • can we use recordTypeVisibilities instead?
    – pincet
    Commented Aug 13 at 15:24

1 Answer 1

2

I don't believe you'll be able to cast these directly as they have different fields. The ProfileRecordTypeVisibility contains two additional fields, default and personAccountDefault.

The fields for each are available in the Metadata API Developer Guide here:

You must log in to answer this question.

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