Skip to main content

I've created button urls in Lightning that largely work but when I cancel or save, I end up on a blank screen instead of the record where I clicked the button from. What is odd is that when I click the button from the 'Related list quick links', the pop up appears over the current record - so when I cancel out, it stays on the 'source page'.  However, if I click the button from the Related list itself, the pop up opens and the page under it changes to a blank screen and then when I cancel or save it stays on that blank screen. 

 

The URLs also seem different from each button clicked - 

From Related list Quick Links - https://mydomain.lightning.force.com/lightning/o/Communications_Role__c/new?count=6&backgroundContext=%2Fone%2Fone.app%23eyJjb21wb25lbnREZWYiOiJvbmU6YWxvaGFQYWdlIiw....

From Related list button:

https://mydomain.lightning.force.com/lightning/o/Communications_Role__c/new?count=7&backgroundContext=%2Flightning%2Fr%2FContact%2F0033r00003e9Tx4AAE%2Fview

 

Here is the URL I am using in the list button - /lightning/o/Communications_Role__c/new?defaultFieldValues=Account__c={!Account.Id}&saveURL=%2F{!Account.Id}&retURL=%2F{!Account.Id}

  

Any suggestions?

답변 8개
0/9000