You need to sign in to do that
Don't have an account?

How to get URL parameters in visualforce page
Hello,
Below is my URL
http://surveybuilder-developer-edition.na30.force.com/DynamicComponent?id={!Contact.Feedback_ID__c}&fullname={!URLENCODE(Contact.FirstName)}{!URLENCODE(Contact.LastName)}&email={!URLENCODE(Contact.Email)}&phone={!URLENCODE(Contact.Phone)}
I want to get the URL parameters fullname,email and phone in visualforce page.
Help on this please.
Thanks,
Tejas
Below is my URL
http://surveybuilder-developer-edition.na30.force.com/DynamicComponent?id={!Contact.Feedback_ID__c}&fullname={!URLENCODE(Contact.FirstName)}{!URLENCODE(Contact.LastName)}&email={!URLENCODE(Contact.Email)}&phone={!URLENCODE(Contact.Phone)}
I want to get the URL parameters fullname,email and phone in visualforce page.
Help on this please.
Thanks,
Tejas
You may try the below URL :
{!URLENCODE(http://surveybuilder-developer-edition.na30.force.com/DynamicComponent?id={!Contact.Feedback_ID__c}&fullname={!Contact.FirstName}+''+{!Contact.LastName}&email={!Contact.Email}&phone={!Contact.Phone})}
Tejas Wadke,
Below code is useful to get URL parameters
<apex:inputField value="{!$CurrentPage.parameters.Paramtervalue}"/>
Please refer below link to have a bright idea.
http://www.davehelgerson.com/?p=334
Thanks and Regards
sandhya