You need to sign in to do that
Don't have an account?
Dmitry Omelchenko
Redirect from Visualforce page to one.app page in Salesforce1
I've overridden "New" button of custom object with Visualforce page. When I click this button it should redirect to another one.app page in Salesforce1 but it's not working and says "Something has gone wrong. $A.getDefinition. Please try again."
My Visualforce page:
However, it's working when I do
Any suggestions much appreciated.
Thanks.
My Visualforce page:
<apex:page standardController="Note__c" sidebar="false" showHeader="false" standardStylesheets="false" applyBodyTag="false" applyHtmlTag="false" showQuickActionVfHeader="false"> <script> var url = '/one/one.app#eyJjb21wb25lbnREZWYiIDogImM6cXVpY2tBZGQiLCJhdHRyaWJ1dGVzIiA6IHt9fQ=='; sforce.one.navigateToURL(url, true); </script> </apex:page>
However, it's working when I do
window.parent.location = '/one/one.app#eyJjb21wb25lbnREZWYiIDogImM6cXVpY2tBZGQiLCJhdHRyaWJ1dGVzIiA6IHt9fQ==';
Any suggestions much appreciated.
Thanks.
I´m affected by this problem, "Something has gone wrong. $A.getDefinition. Please try again." , no body knows about, I need help¡¡
Please, if anybody knows something about, response me.
Thanks...