Want to pass your Salesforce Certified Platform Developer I (CRT-450) CRT-450 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
A developer created a Visualforce page with a custom controller to show a list of accounts. The page uses the
A. Use the onChange event to update the list of accounts in the controller when the value changes, and then re-render the pageBlockTable.
B. Create multiple lists in the controller that represent the relevant accounts for each account type when the page loads, then reference the correct one dynamically on the pageBlockTable.
C. Add the Rendered={!Acct.type==selection} attribute to the pageBlockTable component
D. Create a component for each option and use a variable with hide parameter on the element.
An sObject named Application_c has a lookup relationship to another sObject named Position_c. Both Application _c and Position_c have a picklist field named Status_c.When the Status_c field on Position_c is updated, the Status_c field on Application_c needs to be populated automatically with the same value, and execute a workflow rule on Application_c.How can a developer accomplish this?
A. By changing Application_c.Status_c into a roll -up summary field.
B. By changing Application_c.Status_c into a formula field.
C. By using an Apex trigger with a DML operation.
D. By configuring a cross-object field update with a workflow.
A developer needs to display all of the available fields for an object. In which two ways can the developer retrieve the available fields if the variable myObject represents the name of the object? (Choose two.)
A. Use myObject.sObjectType.getDescribe().fieldSet() to return a set of fields.
B. Use mySObject.myObject.fields.getMap() to return a map of fields.
C. Use Schema.describeSObjects(new String[]{myObject})[0].fields.getMap() to return a map of fields.
D. Use getGlobalDescribe().get(myObject).getDescribe().fields.getMap() to return a map of fields.