Re: Do we have any method to get Fields name retur…

 Actually I have script code where my SOQL Query is returning ID, But instead of ID if we have get any other field value then i have to write another method.

Current implementation:

    account = Salesforce.Query(soql)
    getSfdcRowId.id = account.GetItem(0).Id

 

Is there any way where instead of giving specific field name we can give field position ?

Or we can give give dynamic Field value in this expression account.GetItem(0).Id

 

so that i can use only one method for fetching any data ?

Read more here: Source link