cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
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
Highlighted
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

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

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