web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Link to Item URL in Se...
Power Automate
Unanswered

Link to Item URL in Send and Email with Options Body

(0) ShareShare
ReportReport
Posted on by 41

Hi,

 

I am struggling to put URL for my sharepoint item inside email body of "Send an email with options" action. I have tried following but unsuccessful:

Compose action with 

createArray(outputs('Get_item')) to get array.

Select action with using Output of compose and then Creat HTML table action using Output of Select.
But error message comes that Input from Select is of type "String" and actual Input should be of type "Array".

I also tried to use Output of Compose directly into HTML action but again same error came.

If anyone can help in sorting this out I would be really thankful.
 
Regards.
Categories:
I have the same question (0)
  • Thanura09 Profile Picture
    192 on at

    Select action's input needs to be an array, that's alright. What's the purpose of using a select action? can't you just take the 'link to item' action to get the URL?

     

     

  • imranzafar Profile Picture
    41 on at

    Only selecting Link to item is making the whole URL visible as text only in email body. I tried by using HTML tagging like below:

     

    <a href="Link to Item">"Name"</a>

     

    But the result in email body came like below all in plain text.

     

    Lease Contract Approval Submitted for KHI1111 by SW1yYW4gWmFmYXIvVEVDL0tISQ== for your review and further processing. Please assign "Request Type" by selecting the appropriate choice from the given options.

    You can review request details by accessing below link: <a href="https://jazzpak.sharepoint.com/sites/NationwideDeploymentTeam/_layouts/15/listform.aspx?PageType=4&ListId=3ac2fe4f%2Db04d%2D4b25%2Db225%2Da092cd3500f6&ID=1&ContentTypeID=0x0100B31D77C1833F2543A52AB540C6CA3BC70022D170BF0EE987418F9054BB67CCCAF6">KHI1111</a>

  • Thanura09 Profile Picture
    192 on at
  • ctrl_kudorje Profile Picture
    163 on at

    @Thanura09 : Your answer isnt the solution for the question that was asked. The link shows how to do it only for "Send an email" not for "Send an email with options". 

  • ctrl_kudorje Profile Picture
    163 on at

    @imranzafar :

     

    Try this instead due to the limitations set by Microsoft on this action tool. You actually have to write out the email in HTML.

     

     

    <p>Hello,<p/>
    
    <p>Lease Contract Approval Submitted for KHI1111 by Someone<p/>
    
    
    
    <p>Please assign "Request Type" by selecting the appropriate choice from the given options. You can review request details by accessing below link. <p/>
    
    <a href="url">Link</a>

     

    And,

     

    at the bottom of the action you have to configure it this way so that it renders okay in the email with options.

    kudorje_0-1708280087978.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard