You need to sign in to do that
Don't have an account?
Anu-SFDC
Reading Custom Url Parameters
Hi
I want to read the url parameters(which are unknown to me) in the constructor..
For example..: If i know the url parameter let's say &t i can read like this.
amount = ApexPages.currentPage().getParameters().get('t'));
But My requirement is i want to read all the parameters which are coming in url and i want to pass those values in to the URL of an iframe
Can anybody help me??
Thanks
Anu
Hi,
In, ApexPages.currentPage().getParameters().get('t'));
getParameters() returns a Map<String, String>. Therefore you can Loop the Map and get the all the values of map.
For More : http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_pages_pagereference.htm
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.
Chamil's Blog