diff --git a/src/main/scala/com/neowit/apex/actions/RetrieveMetadata.scala b/src/main/scala/com/neowit/apex/actions/RetrieveMetadata.scala index 5c59d6d..9c28ce5 100644 --- a/src/main/scala/com/neowit/apex/actions/RetrieveMetadata.scala +++ b/src/main/scala/com/neowit/apex/actions/RetrieveMetadata.scala @@ -502,7 +502,10 @@ class BulkRetrieve extends RetrieveMetadata with JsonSupport { } //some types require special treatment and need other object types included in the package in order to return meaningful result - private val complexTypes = Map("Profile" -> Set("CustomObject"), "PermissionSet" -> Set("CustomObject")) + private val complexTypes = Map( + "Profile" -> Set("CustomObject", "CustomTab"), + "PermissionSet" -> Set("CustomObject", "CustomTab") + ) /** * retrieve single type and its members * @param metadataTypeName, e.g. ApexClass