• Ammar Sheikh
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

I have created a community in salesforce and i wanted to navigate to other apps when user clicks call or email button. I created a lightning web component and I used href="mailto:(email here)" and href="tel:(phone here)" but this doesn't work if I open the community in salesforce one app. It does work on Desktop and Mobile browsers. What might be the problem here?

Thanks

<a href="tel:(Number here)">
                        <img
                          alt="Phone"
                          src={phonePinkIcon}
                          title="Phone"
                        />
                      </a>
              
                      <a href="mailto:(Email here)">
                        <img
                          alt="Email"
                          src={emailPinkIcon}
                          title="Email"
                        />
                      </a>

 

I have created a community in salesforce and i wanted to navigate to other apps when user clicks call or email button. I created a lightning web component and I used href="mailto:(email here)" and href="tel:(phone here)" but this doesn't work if I open the community in salesforce one app. It does work on Desktop and Mobile browsers. What might be the problem here?

Thanks

<a href="tel:(Number here)">
                        <img
                          alt="Phone"
                          src={phonePinkIcon}
                          title="Phone"
                        />
                      </a>
              
                      <a href="mailto:(Email here)">
                        <img
                          alt="Email"
                          src={emailPinkIcon}
                          title="Email"
                        />
                      </a>