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

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
Community Support

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
Community Support

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

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

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (42,269)