cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ComputerHabit2
Resolver III
Resolver III

Filter Content Type item out of a Choices

I've added the ContentType column to my form.  I already have it hiding fields and so on.  I have a three content types in my list.

 

Item,ContentType1, ContentType2

 

I have "Item" as the default and ContentType1 and 2 hidden from the list.  I want to hide the "Item" choice from the drop down list when the form starts.  I'm hoping this would require the user to pick a content type.

 

I tried using  Filter(Choices('QA Database'.'{ContentType}').Name,Name <> "Item")  .  It hid the Item choice but that caused all items created to be the default content type of "Item" and it wouldn't switch back.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @ComputerHabit2 ,

Could you please share a bit more about your issue?

Do you create a custom form using PowerApps in your SP List?

Further, could you please share a screenshot about your issue?

 

I have made a test on my side, please take a try with the following workaround:

Set the Items property of the ContentType field ComboBox to following:

Filter(Choices('QA Database'.'{ContentType}'), Name <> "Item")  

Set the Update property of the ContentType field data card to following:

ContentTypeComboBox.Selected

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-xida-msft
Community Support
Community Support

Hi @ComputerHabit2 ,

Could you please share a bit more about your issue?

Do you create a custom form using PowerApps in your SP List?

Further, could you please share a screenshot about your issue?

 

I have made a test on my side, please take a try with the following workaround:

Set the Items property of the ContentType field ComboBox to following:

Filter(Choices('QA Database'.'{ContentType}'), Name <> "Item")  

Set the Update property of the ContentType field data card to following:

ContentTypeComboBox.Selected

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,504)