cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Ric835
Level: Powered On

Trying to create a SharePoint list item using Rest call - issue with multiline text field

I'm using the "Send HTTP request to SharePoint" action to create a new list item with a REST call, becuase I am selecting a custom list name.

 

I am able to create the list item successfully with most of the fields, but I am struggling with a multi-line text field.

I am referencing the field like this:

 

"AdditionalNotes": {
"__metadata": {
"type": "SP.FieldMultiLineText"
},
"FieldTypeKind": "3",
"RichText": "true",
"Title": "@{triggerBody()?['Notes']}"
}

 

I am getting an error "Invalid JSON. A comma character ',' was expected in scope 'Object'."

The JSON is valid to being with, but I think it's all falling apart once the Notes field is retrieved and it tries to process it.

 

Any ideas most welcome!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Trying to create a SharePoint list item using Rest call - issue with multiline text field

Hi @Ric835 ,

 

I have made a test on my side and couldn't find a way to achieve the needs, I'm afraid that the REST call couldn't create a item with a multi-line text field.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
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

2 REPLIES 2
Community Support Team
Community Support Team

Re: Trying to create a SharePoint list item using Rest call - issue with multiline text field

Hi @Ric835 ,

 

I have made a test on my side and couldn't find a way to achieve the needs, I'm afraid that the REST call couldn't create a item with a multi-line text field.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
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

Ric835
Level: Powered On

Re: Trying to create a SharePoint list item using Rest call - issue with multiline text field

Hi Alice, I feared that might be the case that it's a limitation. Thank you for investigating for me 🙂

Helpful resources

Announcements
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 Kudoed Authors (Last 30 Days)
Users online (3,959)