質問

I am trying to retrieve from Salesforce a column named "e2 Instance", however I cannot insert it with the space into the query. Also I noticed that to query for "Account Type" I'd use such syntax:

SELECT Name, Id, Type from Account

How do I query for columns with spaces in the name? I tried inserting quotes - it did not work. Or how do I get a list of available columns in the "code" format?

役に立ちましたか?

解決

You must be confusing field label and field API name. It should be something like e2_Instance__c but to be sure got to Setup -> Customize -> Accounts -> Fields and see under Account Custom Fields & Relationships in API Name column.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top