JAVASCRIPT SALESFORCE Visual Force Visualforce

Prepopulate visualforce apex:inputtext from URL parameter without using custom controller

Prepopulate visualforce apex:inputtext from URL parameter without using custom controller URL …/apex/MyVFPage?AccountName=TheBlogReaders.com AccountName in Parameter and pass the account value here is a the right solution for your problem using VF page and Javascript MyVFPage: <apex:page standardController=”Lead”> <apex:form> <apex:inputtext  id=”jsName”/>…

Read More
APEX SALESFORCE Visual Force Visualforce

How to Get the Logged in User Profile Name in Apex Class and Visualforce Page

How to Get the Logged in User Profile Name in Apex Class and Visualforce Page Source: https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_userinfo.htm#apex_System_UserInfo_getProfileId getProfileId() Returns the context user’s profile ID. Id profileId=userinfo.getProfileId(); String profileName=[Select Id,Name from Profile where Id=:profileId].Name; system.debug(‘ProfileName::’+profileName); its possible to get the profile…

Read More
SALESFORCE Visual Force

How to display the help text on Visualforce Page?

How to display the help text on Visualforce Page? when we using the apex:inputField and apex:outputField shows their help Text bubble when nested within a pageBlockSection component automatically like: <apex:pageBlock> <apex:pageBlockSection> <apex:pageBlockSectionItem helptext=”{!$ObjectType.Account.Fields.Phone.InlineHelpText}”> <apex:outputLabel value=”{!$ObjectType.Account.Fields.Phone.Label}” /> <apex:inputField value=”{!Account.Phone}” /> </apex:pageBlockSectionItem>…

Read More