Hi everyone :)
Does anyone have experience making chatter post destinations using answers from a form question? I am receiving errors when an answer contains either () or / within the answer. (I would prefer to allow the special characters instead of a validation message restricting them as this is a Customer Feedback form.)
Execution Failure: Salesforce returned an error: [{"errorCode":"JSON_PARSER_ERROR","message":"Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value at [line:6, column:580]"}] (ID 32188845-d430-44e0-92a9-ccc3618e052f)
Is there a way I can add quotations to %a[Improve] in the DREL document to allow () / characters in the answer so that Salesforce Chatter will accept it? Is it really as simple as "%a[Improve]"? I'm not sure if Salesforce would accept this though to allow the characters in the post...
DREL example below:
{
"body" : {
"messageSegments" : [
{
"type" : "Text",
"text" : "Installation Completion Survey Returned. End user conversion rating of: %a[ConversionRate]. Additional feedback provided: %a[Improve]"
}]
},
"feedElementType" : "FeedItem",
"subjectId" : "%a[idRequestSFDCWO]"
}
Thank you!
------------------------------
Lisa Zido
Technical Systems Analyst
GOJO Industries Inc.
------------------------------