PrepAway - Latest Free Exam Questions & Answers

How would an application developer configure this?

A user can only see the fields A, B, and C on a record of Object X until the Stage field value on the
record changes from New to Working. Once the Stage field value is updated to Working and the
record is saved, the user should be able to see fields A, B, C, and D.
How would an application developer configure this?

PrepAway - Latest Free Exam Questions & Answers

A.
Use workflow to change the field-level security

B.
Use validation rules to expose the field

C.
Use multiple Visualforce pages

D.
Use workflow to change the record type

2 Comments on “How would an application developer configure this?

  1. Random says:

    I think the correct answer here would be change the record type since you could have a separate page layout with the fields as editable on that page layout. Multiple VF pages would work, technically, but is over kill considering the fact that you could just code in an editable option within the controller or extension. Ideally, you would write a validation rule which would check the stage and use ischanged on those fields. Easiest from a development standpoint, but could be a poor user experience too. Thus change record types would probably be the most elegant solution. If you wanted a truly “secure” version, then you would combine the record type and validation rule approach, thus preventing the users from changing it through the API 🙂




    0



    0

Leave a Reply