URL Link should display in the richtextwithTable plugin function

Certified Senior Developer

Hi All,

We have the requirement to retrieve & show the Emails send to the Users in the read only format. In the Email content it contains URL links, tables so i archived the table content with the richTextFieldWithTables function but we need to show the URL link as Link but it is taking it has text. Please find below screenshot

In the Preview mode we could see the Table & the associate URL Links but the URL displayed as text instead of Link. So please suggest is there any way to show the URL in link

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to Konduru Chaitanya

    "<!DOCTYPE html>
    <html>
    <head>
    </head>
    <body>
    <p>Dear Colleague(s),</p>
    
    
    <p>Sanofi investigators should be notified of any " & ri!id & " through 'test' (test).</p>
    
    <p>This e-mail informs you that DIL files issued have been newly posted in the DIL Electronic Portal.</p>  
    
    <p>The following IMP product(s) had a DIL posted today.</p>
    
    <style>
    table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    }
    </style>
    <table>
    <tr>
    <th>Product</th>
    <th>Link to test</th>
    </tr>
    " & 
    a!localVariables(
      local!studyId:rule!DIL_test(studyId: ri!test),
      
      a!forEach(
        items: local!studyId,
        expression: "
    <tr>
    <td>" & fv!item[recordType!test.field]&" "&
    "(Product Code: "&fv!item[recordType!test.field]&")"&" "&
    "(Case Id: "&rule!APN_distinct(ri!id)&")"
    & "</td>
    <td>" & 
    a!forEach(
      items: ri!id,
      expression: a!urlForSite(
        sitePage: application stite page,
        urlParameters: a!map(
          product: {
            rule!DIL_test(
              id: fv!item
            )
          },
         
        )
      )
    )
    & "</td>
    </tr>
    "
      )
    )
     & "
    </table>
    
    <p>Please provide any feedback to the generic mailbox ash@sanofi.com</p>
    
    <p>To generate a complete ttest file, you have to download each of the following components:</p>
    <p>•  test letter</p>
    <p>•  test I report(s) blinded or unblinded based on your access.</p>
    
    
    
    
    </body>
    </html>"

Children