You need to sign in to do that
Don't have an account?
nimdhar
Passing Lead Id as Query Parameter and accessing in visual force page
Hi,
I have a S-control that invokes the visual force page as follows
window.open ("/apex/searchLocation?q={!Lead.Id}","myWindow",' status=1,height=600, width=1000,menubar=no,toolbar=no');
I am passing a query parameter lead id to the visual force page. when I accessed the lead id it is passing or getting the id with last three letters truncated
<apex:commandButton value="Attach" action="{!attach}" onclick="alert('{!$CurrentPageReference.parameters.q}');"/>
Lets say the actual lead id is 00QT0000004RErUMAW. I am getting 00QT0000004RErU. Why is that last three letters truncated?
Thanks,
nimdhar
I have a S-control that invokes the visual force page as follows
window.open ("/apex/searchLocation?q={!Lead.Id}","myWindow",' status=1,height=600, width=1000,menubar=no,toolbar=no');
I am passing a query parameter lead id to the visual force page. when I accessed the lead id it is passing or getting the id with last three letters truncated
<apex:commandButton value="Attach" action="{!attach}" onclick="alert('{!$CurrentPageReference.parameters.q}');"/>
Lets say the actual lead id is 00QT0000004RErUMAW. I am getting 00QT0000004RErU. Why is that last three letters truncated?
Thanks,
nimdhar
Thanks,
Nimdhar