Hot answers tagged

4

This works for me using ABBY: String encodedUrl = EncodingUtil.urlDecode(url, 'UTF-8'); String toEncode = appId + ':' + pwd; String encoded = EncodingUtil.urlEncode(toEncode, 'iso-8859-1'); String key = EncodingUtil.base64Encode(Blob.valueOf(toEncode)); HttpRequest request = new HttpRequest(); request.setEndpoint(encodedUrl); request.setMethod('POST'); ...


3

Based on the information output in SDK State; please ensure you've added the dependency to your project: http://salesforce-marketingcloud.github.io/JB4A-SDK-Android/location/geolocation.html


3

I've done this a few times - added the Salesforce iOS SDK to my existing apps. There's actually a tutorial which my good friend Quinton Wall wrote for this. The key steps which you may be missing are Adding a Bridging Header Configuring your AppDelegate Once these are done, you also need to ensure (quoting from the tutorial) Then, to handle to end of ...


2

TLS 1.1 or 1.2 is required to access salesforce [always for sandbox, for prod depends on if the critical update is turned on]. Unfortunately the default TLS version for many versions of .NET is 1.0, which causes problems. See this issue in the toolkit project about TLS versions


2

Salesforce Touch: a mobile app for iPad/iPhone, and a mobile gateway for HTML5 compliant mobile devices (Android, Blackberry), authenticated through Identity (Oauth2), and capable of using Visualforce pages, as well as configuration-based updates (e.g. changes to standard layouts will affect the app). Salesforce Mobile Packs are not required for using Touch (...


2

In Salesforce, record Id's are generated when you insert any record. Once record id's are generated they become Read Only fields. Hence they cannot be modified. In above code, you're trying to make id field of contact to null. Now consider a RDBMS case, were you're trying to make Primary key as a null. This is a invalid scenario because primary key cannot ...


2

You can also use the API entry event, and keep all emails in Journey Builder https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/how-to-fire-an-event.htm


2

It doesn't appear that you've asked the user for their permission to use Location nor have you called the iOS SDK's start watching location method. Not 100% on this next point, but I suspect you should see a locationEnabled=true in the first portion of this SDK State JSON object too. Net-net-net, it is unlikely that you've followed the documentation at all ...


2

There are 2-3 Tags set for an Android device by default: ALL and Android for non-debug builds and and additional Tag of DEBUG for debug builds. Similarly, ALL, iOS and DEBUG will be set for iOS devices. Are you setting a Contact Key? I ask because Tags are aggregated for a contact. If you have multiple devices, or have previously set a Tag for a given ...


1

Is not the Fuel-SDK what we should look at but the JDK version we are using. Java 8 use TLS1.2 as default for connections, and i double checked it with wireshark while doing request to SFMC using the fuel-sdk for java.


1

You should be using version 17.0.1 of firebase-core. The SDK docs page uses a shared variable for the Firebase major version number, which is no longer correct since Google is publishing no longer publishing the same major version update for all Firebase libraries at the same time. The docs will be updated shortly to reflect the correct version.


1

You should set an Attribute from the SDK which will result in the contact record being updated. From there you can create an automation/data extension that monitors the value of the aforementioned attribute and have that trigger the welcome e-mail. Android: https://salesforce-marketingcloud.github.io/MarketingCloudSDK-Android/sdk-implementation/device-...


1

This functionality does not exist and it would be tricky to build and use, as width of a block can change based on media queries and the size of the client. Returning a width that is contextual and not guaranteed could lead to poor end user experience. Based on your example, it seems you can achieve the same result using relative styles (like a 100% width ...


1

The latest SDK does address an issue with case sensitivity in access tokens which was introduced in a change in our server gateway. This affected the iOS configuration "Builder" usage and was addressed in our 6.2.0 release. https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/


1

Moved to answer: Is it possible that your access token or appId values have uppercase characters? We have a very recently identified issue in those cases, and using the ConfigBuilder method of SDK configuration, which will cause the 401 error you are seeing. Workaround: Use the JSON configuration technique. We will be releasing a fix for this soon, in our ...


1

My suggestion will be to use the Automation Studio Audience entry event. The automation will contain a Query activity, looking into Open data view: https://help.marketingcloud.com/en/documentation/automation_studio/using_automation_studio_activities/using_the_query_activity/data_views/data_view_open/ You can then select the open events for that specific ...


1

Have a look at how UpdateAsync is implemented with respect to the underlying REST API. It maps the record ID into the PATCH URL. Yet your anonymous type includes an Id property, even if it is null. Try something like: var auth = new AuthenticationClient(); await auth.UsernamePasswordAsync(ConsumerKey, ConsumerSecret, Username, Password); ForceClient ...


1

Apologies. We have a documentation bug and I have opened an internal ticket for its immediate remediation. The dependency line should read for v4.x versions of the SDK: com.exacttarget.etpushsdk:etsdk:4.9.2 UPDATE The com.salesforce.marketingcloud:marketingcloudsdk:5.+ is accurate for v5.x artifacts as of 20180104. com.exacttarget.etpushsdk:etsdk:4.+ ...


1

According to https://help.salesforce.com/HTViewHelpDoc?id=sso_provider_addl_params_scope.htm&language=en_US and https://developer.salesforce.com/forums?id=906F00000009CO9IAM We should not set connected app for full access but Perform requests on your behalf at any time Access and manage your data If you're developing a hybrid/web app, you also need ...


1

Thanks Daniel for the response. The problem is UpdateAsync function has Sforce-Auto-Assign = true which caused the lead owner to be reassigned. This is true for Rest API not Soap. I am using force.com sdk for C# so there is no way for me to set the header (Sforce-Auto-Assign ) to false. In my case, I found two solution Rewrite the sdk. To do this ...


1

If you had asked this as 3 separate questions I could have upvoted each of them :) The iOS SDK v4.1.0 is compatible with iOS 9.1 The Android SDK v4.2.0 is compatible with Android 6 (Marshmallow) Android uses the actual, unchanging unique device identifier


1

The question is old so you might already have the answer, but I'll still post this. You can use the REST API to pass additional attributes to a Triggered Send. Http callouts are simpler than SOAP. You can modify the FUEL SDK library on Github and make it work but it's much more complicated than Host: https://www.exacttargetapis.com POST /messaging/v1/...


1

If you create your project with forceios, it will install the SDK as a static library, so only certain headers are exported publicly and the implementations are private. If you want to view or edit the implementation, you should install the SDK as described in the development repo.


1

Task is a special object in Salesforce and you can not directly query on all fields of parent object. For example you can not query on all the fields of task Owner. Only some global field can be queried. Owner.Email can be used in query but Owner.AnyCustomField__c can not be used in Query. Similarly only few fields can be queried from parent object Who. ...


Only top voted, non community-wiki answers of a minimum length are eligible