• Frank Gatlin 9
  • 0 Points
  • Member since 2018

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 0
I'm running into an issue where I have too many buttons on the Lead page and they display in a drop-down list in Lightning. I want to use a Formula Field to open a Visualforce page, so I have this display on the top of the Lightning Lead view.

This is the button:
/apex/Application?leadid={!Lead.Id}&accid={! Lead.AccountId__c}

And the field would be:
HYPERLINK("/apex/Application?leadid="& Id & "accid=" & Account__r.Id , "Application")
I've seen people use "_target" but this forces a new tab in Google Chrome. Can I force a new Window, as well as set the height and width, all from a formula field?