PhillipCoronakes | 2017-08-30 01:45:00 UTC | #1
Hi,
I am trying to extract the "contact type" field from CRM using an OOTB connector.
I have logged this previously and have looked at this Microsoftreference and this Pure Cloud reference but this does not help with retrieving this type of attribute.
Regards, Phill
anon28066628 | 2017-08-30 14:29:03 UTC | #2
Hi Phill, if you're using the OOTB bridge connector, the CustomAttribute field in the POST request can be used to get an additional field. The CustomAttribute will be the field's API Name in Salesforce, for example.
PhillipCoronakes | 2017-08-31 01:33:03 UTC | #3
Thanks for that,
I still don't believe i am doing this correctly.. there is still something im missing..
I have found the name of the field is "frc_contactrelationshiptype" and have placed that in the output field: <img src="//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/3c1f1e36fc6f6039e63a66dca012213b9aa414fe.png" width="344" height="56"> There is nothing coming through for that field, even though it is set on my test contact in CRM. I have tried using both a script pop to output this variable and a IsNotSetOrEmpty function, both advising there is nothing in the field when being returned.
anon28066628 | 2017-08-31 13:13:47 UTC | #4
I assume the variable contains the string, "frc_contactrelationshiptype"? You can test the bridge action calls in isolation outside Architect with these endpoints. They'll let you see the raw output from the action call more easily to assist in troubleshooting. You can also call draft actions this way, so you can test before publishing them (publishing makes them available for PureCloud apps like Architect).
Note these are v1 endpoints and are deprecated, but they're still around for testing today. Please do not use them in production code.
GET https://apps.{{environment}}/bridge/api/v1/actions/user/actions
POST https://apps.{{environment}}/bridge/api/v1/actionCall/{ACTION_NAME} { "myField1": "xxx", "myField2": "yyy" }
system | 2017-10-06 16:08:41 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 1732