Creating an ObjectService Object
The following example shows how to create an instance of the ObjectService class. This example first creates an instance of the SDK. It then calls the Init method before creating the ObjectService instance.
Example
public void GetObjectServiceHandle() { Kony.SDK sdkObject = new Kony.SDK(); try { sdkObject.Init("<app_key>", "<app_secret>", "<service_url>"); Kony.ObjectService objectsvc = sdkObject.ObjectServices("sapobj"); } catch (Exception e) { sdkObject.Log("GetObjectService Failed"); } }