You need to sign in to do that
Don't have an account?
How to pass value by using Button link URL?
Hi,
In my salesforce i m using one Button link, there I gave follwing URL. When I am clicked this button does not pass value wherever i m using paaing values.
For examble: Firstname={(Contact.Firstname)} --> passing the value like {(Contact.Firstname)}
but actually i want firstname of corressponding customer.
http://localhost/MIndleverQBWeb/sfpage.aspx?username='test'&password='test'&alevel={(Contact.A_Level_Year__c)}&contacttype={(Contact.Contact_Type__c)}&Firstname={(Contact.Firstname)}&Lastname={(Contact.Lastname)}&Email={(Contact.Email)}&Mobile={(Contact.Mobile)}&Address={(Contact.MailingAddress)}
Hi Riyaju,
The issue is in your syntax.
Use Firstname={!Contact.FirstName} instead of Firstname={(Contact.Firstname)}
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
Madhan Raja M
All Answers
Try like this
window.open("URL_Of_LocalHost?id={Contact.FirstName}");
Regards,
Magulan D
Salesforce.com certified Force.com Developer.
SFDC Blog
If this post is your solution, kindly mark this as the solution.
Hi Riyaju,
The issue is in your syntax.
Use Firstname={!Contact.FirstName} instead of Firstname={(Contact.Firstname)}
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
Madhan Raja M