New answers tagged

4

You just need to deserialize the content again: Map<String, Object> payload = (Map<String, Object>)JSON.deserializeUntyped(responseJson); List<Object> results = (List<Object>)payload.get('result'); for(Object result: results) { Map<String, Object> resultContent = (Map<String, Object>)result; Map<String, Object&...


6

The system that is sending you this payload is broken. The best way to address this problem is to fix the remote system so that it sends proper JSON. To address your question as asked, though: you are receiving this error because the first parameter of replaceAll() is a Java regular expression, not a string literal. The { character is being interpreted here ...


0

UPDATE: Unfortunately, there has to be a way for you to log in. Is seems unlikely that you will be able to achieve a reliable integration WITHOUT logging in. I guess you will need to talk to your client or make a call to middleware which has the credentials. Either way, you will need the credentials or atleast a way to authenticate. This is very well ...


0

You can restrict the Sales Cloud objects to which the integration user has access. This needs to be configured within the org to which your Marketing Cloud is integrated. This will however not only limit the objects available in entry event, but also in synchronised data sources. If you want to add more objects, the permissions in Sales Cloud will need to be ...


0

I got the same error and what fixed it was choosing "Send client credentials in body" in the "Client Authentication" dropdown.


0

Using a single integration user is certainly possible however you need to keep a couple of things in mind Data visibility Permissions tracking Data visibility: every application can also see the data of the other applications as it all comes from the same user. Permissions: Applications will most likely have broader permissions than they need as the ...


0

I would suggest the use of Platform Events. You can create a structure with the type of operation (Create/Update) and the related record Id (in case you need to query information on Mulesoft afterwards). Then you can publish them using Process Builder with the neccessary criteria and/or Apex triggers. Best regards!


0

Below code working fine, Not sure what's different between the above and below code. String username = 'username'; String password = 'password'; string endpoint = 'https://api.sandbox.paypal.com/v1/oauth2/token'; string body = 'grant_type=client_credentials'; Blob headerValue = Blob.valueOf(username + ':' + password);...


1

RestContext.request.params are for Query String parameters (e.g. /services/apexrest/v1/BikeManagement?Name=Continental+GT+650&Engine_Displacement__c=648.9&...). If you want to use your current design, you must set the Content-Type header to application/x-www-form-urlencoded and change the payload as follows: Name=Continental+GT+650&...


1

Salesforce does not have a native JDBC or ODBC interface, so there's no standard or canonical answer to this question. It's dependent on which specific driver or middleware or what have you that this project's architecture has sitting between Trifacta and Salesforce. Perhaps Trifacta has a standard way to manage such connections - I don't know, I've never ...


1

This is possible. Here is some information about setting up the Zendesk integration if you don’t already have it. https://support.zendesk.com/hc/en-us/articles/360038232533-Setting-up-the-Zendesk-for-Salesforce-integration This article explains how to create new tickets. https://support.zendesk.com/hc/en-us/articles/360038191674-Using-Ticket-View-in-...


Top 50 recent answers are included