We would like to show/hide specific fields on our Salesforce Community based on the Record Type selected. The user will have the same security profile, so using FLS doesn't solve our problem.
For example, let's assume we are using the Contact object. A Record Type may be Patient, and if patient is selected, then I want to show the Patient NPI field. If a different record type is selected, I don't want to show that field.
This can be done easily with page layouts in the Salesforce UI, but I don't see a way to do this in the Salesforce Community standard record detail page/component.
Is it possible to do what I need via configuration or will we need to develop custom Lightning Components to do this?