Ask Question

A Hierarchy Custom Setting stores a specific URL for each profile in Salesforce. Which statement can a developer use to retrieve the correct URL for the current user'sprofile and display this on a Visualforce Page?

(A) {!$Setup. Url_Settings__C. Instance[Profile. I. URL__c}

(B) {!$Setup. Url_Settings__C. URL__c}

(C) {!$Setup. Url_Settings__C.[Profile. I. URL__c}

(D) {!$Setup. Url_Settings__C.[$Profile. I. URL__c}

+3
Answers (1)
  1. 9 July, 20:28
    0
    The correct answer is option (B) "{!$Setup. Url_Settings__C. URL__c}".

    Explanation:

    In computer programing using Visualforce, "$Setup" refers to a global merge field that gives the user access to hierarchical custom settings. In this case, the developer needs to retrieve the correct URL to access the current user's profile and display this on a Visualforce Page. "$Setup" will give the developer access to the hierarchical custom settings in Visualforce, and the command "Url_Settings__C. URL__c" will provide the root access to the current user's profile.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “A Hierarchy Custom Setting stores a specific URL for each profile in Salesforce. Which statement can a developer use to retrieve the ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers