{
var url = '/apex/MyCustomPage';
if( (typeof sforce != 'undefined') && (sforce != null) )
{
// Salesforce1 navigation
sforce.one.navigateToURL(url);
}
else
{
// Set the windows URL
window.location.href = url;
}
}This above code works fine in my desktop version but when i use the same in mobile device, the components like DatePicker, Custom Compoents, map inside MyCustomPage are not loaded in the page when this redirect method is called. Am breaking my heads with this. Anyone please help me out.Thanks in Advance,Indhu
2 answers
Hi Sandeep,I have done the same logic in redirecting to page but you have redirected to different versions of the page. And in my scenario, the redirection works fine with the page url but if i include parameters in my url the components in the page are not loading.Thanks, Indhu