1

Can we call visualforce component inside Aura component? If yes, can you share the syntax.

1 Answer 1

6

No. They are completely different technologies. You would need to create a Visualforce page, then display that in an iframe.

6
  • Thankyou for answering
    – Vasu Gupta
    Commented Aug 25, 2022 at 11:46
  • @VasuGupta You have any syntax for this? Commented Feb 8 at 1:31
  • @user3214361 It's just <iframe src="/apex/PageName"></iframe>, along with any styles you need.
    – sfdcfox
    Commented Feb 8 at 1:35
  • @sfdcfox wallmart.vfc is my component name trying this <iframe src="/apex/wallmart"></iframe> showing nothing. Note: this is a community page Commented Feb 8 at 1:45
  • @user3214361 That will make a difference. If you haven't already, ask a new question; I'll probably need more space than a comment box to help you out here.
    – sfdcfox
    Commented Feb 8 at 2:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .