Wednesday, March 13, 2019

Cannot convert the literal ‘1’ to the expected type ‘Edm.String’ - REST API

If getting this error make sure you are giving quotation marks to your input passed in the request.
JSON Data - 
data={name="John", age=30}
if you are expecting age as a string parameter then it return error saying can not convert the literal '30' to the expected type  ‘Edm.String’
to resolve this use below
data={ name="John", age="30"}
in your http request.

Clearing Person/Group Values

To clear out or empty the values in person or group columns, how you do it depends on if the column is single-value or multi-value. For ...