開放活動的名單上有檢索相關的自定義對象活動OpenActivities的列表爲自定義對象啓用。對於讓我用這樣的查詢獲得在Salesforce
public List<OpenActivity> getActivity1(){
return [SELECT Subject from OpenActivities Where WhatId= :ApexPages.currentPage().getParameters().get('id') ];
}
列表,當我將它保存它是給我的錯誤
Error: Compile Error: sObject type 'OpenActivities' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names. at line 44 column 8
任何一個可以請告訴我如何檢索在Salesforce開放活動,是關係到特定的記錄對象的名單?
權,而不是寫 – 2014-10-25 09:27:24