cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

canvas app: setting content type on creation of new items in SP list

I am attempting to add a new item of a particular content type to a list using a canvas powerapp. I have managed to pass the content type name as a parameter and I am setting the content type column. However, the form won't save - it gives me an error for invalid data source. When I removed the content type column I was able save successfully. 

 

Please advise.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: canvas app: setting content type on creation of new items in SP list

Hi @mkosh ,

I'm very glad that you've solved your problem.

Do you have any other question?
If not, could you change your issue's status to "Answered"?

Thanks!

 

Best regards,

Community Support Team _ Phoebe Liu
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

3 REPLIES 3
Highlighted
Super User
Super User

Re: canvas app: setting content type on creation of new items in SP list

Is this going to SharePoint? What is your data source? And if it is SharePoint what type of column is it that your having trouble with?

Highlighted
Frequent Visitor

Re: canvas app: setting content type on creation of new items in SP list

Hi,

 

Yes, its going to a SharePoint list. The column isa choice column; the app is now working after I passed the content type Id instead of the name! Thanks for much for your interest.

 

Highlighted
Community Support
Community Support

Re: canvas app: setting content type on creation of new items in SP list

Hi @mkosh ,

I'm very glad that you've solved your problem.

Do you have any other question?
If not, could you change your issue's status to "Answered"?

Thanks!

 

Best regards,

Community Support Team _ Phoebe Liu
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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (9,696)