cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hotshot_BST
New Member

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
v-litu-msft
Community Support
Community Support

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
v-litu-msft
Community Support
Community Support

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.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,296)