You need to sign in to do that
Don't have an account?
k209310
Querying Custom Fields
Hi There. Im new to this so [please bear with me.
I am currently triying to develop a Java Interface to SalesForce and have had no real problems untill now. Im sure there is a simple way to do this but after an afternoon with my head in the API I just seem to be going round in circles.
We have a Custom Formula Field and have been trying to access its data. We have tried a variety of methods using amongst other things the query and retrieve methods in SoapBindingStub.
I have tried accessing the table meta data via the DescribeSObjectResult object and can see that the field exists. However I need is someway to see the data.
We have been able to access a Custom Picklist Fields data easily using the Field getPickListDataValues() but not the Formula Fields
Does any one have any ideas?
Thanks
Chris
I am currently triying to develop a Java Interface to SalesForce and have had no real problems untill now. Im sure there is a simple way to do this but after an afternoon with my head in the API I just seem to be going round in circles.
We have a Custom Formula Field and have been trying to access its data. We have tried a variety of methods using amongst other things the query and retrieve methods in SoapBindingStub.
I have tried accessing the table meta data via the DescribeSObjectResult object and can see that the field exists. However I need is someway to see the data.
We have been able to access a Custom Picklist Fields data easily using the Field getPickListDataValues() but not the Formula Fields
Does any one have any ideas?
Thanks
Chris
select customFieldName__c from [objectName]
Im still having problems tho when querying the custom fields I keep on getting the following exception.
org.xml.sax.SAXException: Invalid element in com.sforce.soap.enterprise.sobject.Account - Frequent_Filer_Discount__c
I get this from the query: SELECT Frequent_Filer_Discount__c FROM account WHERE id='0013000000ApqwhAAB'
Does anyone have anyideas where im going wrong here?
Thanks
Chris,
I am new to Java and Salesforce . I am looking forward to use the custom objects from a JSP page and not able to do that.
if possible do provide the working code using the custom objects.
Thanks in advance