+ Start a Discussion
Adil_SFDCAdil_SFDC 

Custom Setting

I need to show a Custom message on Visualforc Page.

 

VF Page

<apex;page standard controller="contact">

<b>You can find documents in{!custom}  to send to clients here</b>

</apex:page>

 

My custom setting is 

Object name : Help Text

Type : Hierarchy

Field ; Message default value "SMART"

 

The custom value should change when the user change the default value in any org

 

Kindly help.

murtaza_home1.3506704062330244murtaza_home1.3506704062330244

u simply have to write this in a visual force page to get the value out from custom settings:
{!$Setup.TestingToPopulateUserName__c.UserEmail__c}

where TestingToPopulateUserName__c =>> custom settings api name
and UserEmail__c =>> field in this custom settings
it will return you the required result in a visual force page.

Adil_SFDCAdil_SFDC

Hi Murtuza 

Here is something id Did


<span class="vfHelpText">
<apex:outputLink value="javascript&colon;return false;">
<img src="/s.gif" alt="" class="helpOrb" />
<span>“You can find documents in {!$Setup.HelpText__c.Message__c}to send to clients here. If you send using Dynamic Email, it will be logged as a TRUST email activity. It also allows you to see when your contact downloads the item via SMART so you know when to follow up.”

</span>

 

Now I dont see anything in my message. 

In my custom setting I have cr eated a Hierarchy Custom Setting with Text field "Message_c" and the default valu for message is "SMART"... So this SMART Should Appear in the Message above.

 

Adil