3

@McdonaldZip, if you look at the main GitHub page for that version the LearningApp (https://github.com/salesforce-marketingcloud/LearningAppIos) you'll see we've rewritten and replaced with a more clear, consistent and supportable sample. See https://github.com/salesforce-marketingcloud/MarketingCloudSDK-iOS/tree/master/LearningApp for all the details. The ...


3

You should be able to use a join to your advantage here, I believe: SELECT Name, OwnerId FROM MyObject__c WHERE OwnerId IN ( SELECT Id FROM User WHERE ManagerId = 'someValue' )


2

You can actually just do the following: SELECT Id FROM Task WHERE What.Type = 'Account' AND (OwnerId = '<UserId>' OR Account.OwnerId = '<UserId>' OR Account.Owner.ManagerId = '<UserId>') No sub-query is necessary here.


2

Please upgrade to Mobile SDK 6.0 to use Xcode 9 and 7.0 to use Xcode 10. When Apple updates Xcode it typically requires code change (often breaking changes) to the SDK. More documentation can be found below. What's New in 6.0 What's New in 7.0 Latest documentation


2

First, the Master Subscription Agreement for Salesforce prohibits sharing user licenses across users. You should not try to circumvent this, even for pure API users. Second, there are technical limits at play that will prevent this from scaling well. For example, a user is limited to 5 OAuth tokens per app. This means that even if it were not against the ...


2

When you use SmartSQL, you get back an array of arrays. So if you do: select a,b,c from x You should get back something like: [[a1,b1,c1], [a2,b2,c3], ...] Therefore if you do: select sum(a) from x You should get back something like: [[the-sum]] Example in Swift let query = QuerySpec.buildSmartQuerySpec(smartSql: "SELECT count(*) FROM {\(SOUP_NAME)}"...


1

I can't say I'm really a fan of this solution, but until a better interface is made known or available, I had to rely on interacting with the login portal via a requests library, and parse needed information from various VisualForce pages with an HTML parsing library. This kind of behavior can be compartmentalized into a backend to some extent, which at ...


1

@sven-song, the difficulty with using bundleForClass in this instance is that it will return MarketingCloudSDK.framework (where the code lives) - not the parent of the .framework (from which we can call the rest of the code - URLForResource:@"MarketingCloudSDK" withExtension:@"bundle"]). Without explicitly walking the filesystem paths, there's no other way ...


1

Can we expect the Salesforce Mobile SDK to support a fairly recent version of React Native anytime soon? We don't know. Until/unless we see something in the release notes, we can make no assumptions about supporting a newer React version. You might ask this question of salesforce.com directly, but Support probably doesn't know any more than we do. Given ...


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

This seems to be a bug of the Salesforce Mobile SDK v7.0.0. I upgraded to Salesforce Mobile SDK v7.3.0 and it was fixed.


1

Please see Google's LONG STANDING bugs with regards to JobIntentService and "star" this bug (ref. https://issuetracker.google.com/issues/63622293) and the other similar associated bugs. This bug is not being generated by the Marketing Cloud SDK.


1

The soql of the SoqlSyncDownTarget cannot be changed (otherwise the meaning of doing a re sync or a clean sync ghosts would be hard to define). If you need to dynamically change the filter, you should define a new sync (programmatically).


1

I would recommend using LanguageLocaleKey and LocaleSidKey fields from a context User. Based on that you can set specific locales on mobile before displaying the data. From User | SOAP API Developer Guide: LocaleSidKey Required. This field is a restricted picklist field. The value of the field affects formatting and parsing of values, especially ...


1

Did you check that the field is indeed writable for the profile or permission set? See the discussion here: https://developer.salesforce.com/forums/?id=906F00000008qFMIAY


1

Yes, you can always have Community Users to be able to login to any native/hybrid iOS app that you build. It depends on how you want to build your app and who are the target users, but in general there is no dependency of a native/hybrid app that cannot be used for Community Users. You can find more details on Salesforce Communities and Mobile SDK Apps. In ...


1

Please checkout the SmartSynExplorerSwift application for a fully functional example of a swift application that uses SmartSync. https://github.com/forcedotcom/SalesforceMobileSDK-Templates/tree/master/SmartSyncExplorerSwift


1

We have discovered a build issue and are correcting the MobilePush SDK iOS version and will be releasing a v6.3.6 as soon as possible. Please check our main docs page at https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/ for updates.


1

Lookup fields contain the Id of the associated record. So if your field name is Z_Product__c, then you will need to have the Id of the record in your JSON body to which you need the newly created record to be associated to, sample below: "Z_Product__c" : "Id of the record" The other syntax that you have will work, if you have an External Id field on your ...


1

Through testing, I was able to log the following NSDictionary structure for Inbox each message in the NSArray: { alert = Test; contentType = 2; endDateUtc = "2019-04-25 16:49:00 +0000"; id = some-ID-here; messageDeleted = 0; messageHash = "MESSAGE-HASH-HEREO/O1234AASD"; name = "Test 3/25"; read = 0; sound = ...


1

To accomplish this, you can look at the _m value in the push notification's userInfo payload (the push message ID) and compare it to the messageId value of the inbox message dictionary (from sfmc_getAllMessages, for instance). Then, you can use sfmc_markMessageRead to set that message to read in the SDK.


1

Yes, on iOS you can call SFLoginViewController's shouldShowBackButton method. On Android the device's back button should work. I would advise you extend the login view on each platform to further customize the back behavior.


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