Introduction

Microsoft has not yet provided support to handle SharePoint List Content Types through Power Apps. However, there is still one idea "under review" at Microsoft.

SharePoint Modern OOB List form already supports handling of multiple Content-Type forms, but if we want to have a Customized view of the form, then Power Apps doesn't support it yet. Although InfoPath supports it in SharePoint Online, this product is approaching the end of its lifecycle. So, to make it function in Power Apps (similar to SharePoint Modern OOB List Form), here is a custom workaround.

Please follow the steps one-by-one as mentioned below. Please note that these steps expect you to have an intermediate level of expertise in Power Apps and Modern SharePoint Online.

Share point modern list configuration

Power apps configuration


Configuring screens

Configuring forms

Configuring the app at the start event

In the App "OnStart" event, add this code

Collect(ContentTypeList, {  
    CTId: 1,  
    CTValue: "Item"  
}, {  
    CTId: 2,  
    CTValue: "Comment"  
});  
Set(varScreenVisible, "1");  
Navigate(ContentTypeSPScreen1, ScreenTransition.Fade);  

Content type SP screen1

Configuring dropdown control in the "ContentTypeSPScreen1" screen

Content type SP screen2

Configuring dropdown control in "ContentTypeSPScreen2" screen,

Form controls should look like this

Content type sp screen-4-

Configuring "share point integration"

In SharePointIntegration, update the formula in advanced events carefully, as mentioned in the screenshot below:

Advanced

Publish power apps

Save Power Apps and Publish it to SharePoint

Test in share point list

Now in the SharePoint List, you can select any Content-Type from the OOB New Item dropdown. This doesn't matter as we will select actual content type from our new Custom Power Apps Form.

Item and comment

Now try saving the "Item" Content-Type form.

Content type

Also, try the "Comment" Content-Type form.

Comment

It should show items in the list, as shown below.

New

Note. This example is for the "New" form. To Edit the form, you can duplicate screens plus forms and make its default mode as "Edit" and then you can apply some custom logic based on the "CustomContentType" field to edit a particular Content Type form in Power Apps. Also, in this article we considered only 2 content types to give you an idea of how it can be done in Power Apps. You may have multiple content types and logic, which can be replicated in a similar way as described in this article.

Happy Learning!