cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

Re: Powerapp Formula error for 'Content type'.Name - Invalid Identifier

@hofneondeion21 

Yes, the use of Choices from the ContentType does work and allows you to access the Name column.

The problem in our case is we need to get to the ContentType.Name on each record for a comparison for many other things that go on in the app.  

Not that we couldn't change the logic to try and collect those types ahead of time with the Choices function or do lookups with the ID's to get to the names (which would work fine), it's just that, for this one app...that represents a boat load of work.

AND...this is still something that needs to be fixed.  It did work once and it appears to be there, but something else is preventing it from now working properly.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
hofneondeion21
Level: Powered On

Re: Powerapp Formula error for 'Content type'.Name - Invalid Identifier

@RandyHayes 

@CarlosFigueira 

 

Thank you for you prompt responses! 

Power Apps Staff CarlosFigueira
Power Apps Staff

Re: Powerapp Formula error for 'Content type'.Name - Invalid Identifier

Thanks @hofneondeion21 and @RandyHayes for the explanation. Yes, this is a bug in PowerApps. I've filed it against the appropriate team.

Super User
Super User

Re: Powerapp Formula error for 'Content type'.Name - Invalid Identifier

@CarlosFigueira 

Thanks for the follow-up.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
WillPage
Level 8

Re: Powerapp Formula error for 'Content type'.Name - Invalid Identifier

This issue still exists.

 

Any workarounds seem to be not delegable either, which in my case makes it useless.

 

You can't create a calculated column in SharePoint from the Content Type name, but you can use Flow to trigger when a new file is created to populate a string column with the content type name and then filter that in PowerApps, but man alive what a hacky workaround. The flow needs loads of retry logic built in because you can't update the file properties of an open file (even though two people can simultaneously work on the same document).

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,770)