cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Hotshot_BST
Level: Power Up

Add new item (content type) to Sharepoint

Hi,

 

I'm trying to add a new item (specifically a content type) to Sharepoint when an email is received in a mailbox. And just to be clear, I've set up a content type that I want the flow to create. I'm getting an error message that I need to use the SPFileCollection.Add method. But I'm not understanding where I would add this. Is a code solution the only way to do this? If so, can someone please explain how to use this method or point me in the right direction?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Add new item (content type) to Sharepoint

Hi @Hotshot_BST,

 

You can use add new item by using the Create item action, select site address, the content type could find in the Drop down, but you can enter custom value of List name:

Annotation 2019-12-12 155029.pngAnnotation 2019-12-12 154930.png

 

Best Regards,
Community Support Team _ Lin Tu
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
Community Support Team
Community Support Team

Re: Add new item (content type) to Sharepoint

Hi @Hotshot_BST,

 

You can use add new item by using the Create item action, select site address, the content type could find in the Drop down, but you can enter custom value of List name:

Annotation 2019-12-12 155029.pngAnnotation 2019-12-12 154930.png

 

Best Regards,
Community Support Team _ Lin Tu
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
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,580)