• Manish Mangal
  • NEWBIE
  • 0 Points
  • Member since 2023

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 3
    Replies

When i am passing _soupEntryId as externalIdPath its not updating our existing record set(not updating the previous value) using salesforce standard api, SDK version-8.3.0. 

//workOrderId is which we are reciving from //Salesforce after sync data

//for example workOrderId = "a3E030000006Rf1EAE"

if(workOrderId){
    smartstore.upsertSoupEntriesWithExternalId(
      false,
      soupName,
      [wOItem],
      "6",//this is my soup entry Id
      (wOItem) => successCallback(wOItem[0]),
      errorCallback
    );


  }else{
    smartstore.upsertSoupEntries(
      false,
      soupName,
      [wOItem],
      (wOItem) => successCallback(wOItem[0]),
      errorCallback
    );

  }
I need to update the previous record based on _soupEntryId? Can you please Suggest
How to Generate _soupEntryId  for react-native ?
I need to update the previous record based on _soupEntryId? Can you please Suggest