• Amanda Benzon 15
  • NEWBIE
  • 20 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
Hi,
I have a visualforce page with a button that links to another visualforce page.  In that visualforce page I have a button that goes back to the original record displayed in the visualforce page in either edit or view mode.  This code works in Classic but not lightning.  How can I configured it to work for both?  Thank you!

<apex:commandButton value="Open Event" action="{!URLFOR($Action.Event.View,eventRec.id)}"/> <apex:commandButton value="Edit Event" action="{!URLFOR($Action.Event.Edit,eventRec.id)}"/>
Hi All,

I am new to creating custom lightning components and I am trying to create a button/link in a Community so that when the button/link is clicked a string of text is shown below the button.  How can I accomplish this?  Thank you in advance!