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

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

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

Highlighted
Frequent Visitor

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

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Users online (7,386)