Skip to Content

Handling error for Online Store in SMP SDK 3.1 for iOS

Hi Team,

May i know how to handle errors for updateEntity for Online Store in SMP SDK 3.1 iOS.

As i see, UpDateEntity does not have a completion handler maintanied.

Thanks in Advance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • Posted on 3 days ago

    Is this the on premise SMP SDK? or the SAP Cloud Platform (Swift) SDK?

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on 3 days ago

    Hi Stan,

    it is the SMP SDK

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on 3 days ago

    Hi Stan,

    It is the SMP SDK

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on 3 days ago

    OnlineStore is deprecated in SMP SDK 3.1 Native SDK, now we use proxy classes or dynamic API which can be used through the SODataV4_DataService class for iOS. (See for: Android)

    See as well the Help.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on 3 days ago

    Hi Akos,

    I have used SODataV4_DataService, but i need to handle Error in iOS, which the updateEntity function has no completion handler to fetch error, Instead it is crashing for every error response.

    Even i tried with exception handler like try catch but the updateEntity function does not support it as well.

    Request to guide on this.

    Thanks,

    Add comment
    10|10000 characters needed characters exceeded