Câu 36: Salesforce Certified Platform Developer I
A developer wants to display all of the picklist entries for the Opportunity StageName field and all of the available record types for the Opportunity object on aVisualforce page. Which two actions should the developer perform to get the available picklist values and record types in the controller? (Choose two.)
Nội dung câu hỏi
A developer wants to display all of the picklist entries for the Opportunity StageName field and all of the available record types for the Opportunity object on aVisualforce page. Which two actions should the developer perform to get the available picklist values and record types in the controller? (Choose two.)
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Use Schema.RecordTypeInfo returned by Opportunity.SObjectType.getDescribe().getRecordTypeInfos(). — đáp án hiện tại
- B. Use Schema.PicklistEntry returned by Opportunity.SObjectType.getDescribe().getPicklistValues ().
- C. Use Schema.RecordTypeInfo returned by RecordType.SObjectType.getDescribe().getRecordTypeInfos().
- D. Use Schema.PicklistEntry returned by Opportunity.StageName.getDescribe().getPicklistValues (). — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.