function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MarosMaros 

hybrid app and can not get object description

Hi,

 

I am making hybrid applicaion based on salesforce mobile SDK for iOS. I want to get object descrtion like label of field and available values of picklist.

I want this information about Task object, here is my code:

 

forcetkClient.describe("Task", fillTaskType, onErrorSfdc);

function fillTaskType(response){
    logToConsole("Type" + response['fields']['Type']['label']);
}

 but in output in xcode I receive error

Error in success callback: NetworkStatus0 = TypeError: 'undefined' is not an object

can any help me?

 

PS: I use xcode 4.4.1