Discussions

 View Only
  • 1.  Reg: Reclink in Notification message content

    Posted 11-24-2021 14:41
    Hi Folks,
    I'm using reclink in my Notification message. Is there a way to show the reclink as a button or a prettier version instead of a link?

    Thanks,
    Hema

    ------------------------------
    HR
    ------------------------------


  • 2.  RE: Reg: Reclink in Notification message content

    Posted 11-24-2021 16:32
    Yes, Kirk Trachy's Magic Buttons App in the exchange has an examples of buttons which are emailable.

    Here is an example of one

    var text URL = [Log In URL];
    var text ButtonWords = "Log In";


    // Begin button style
    var text bgcolor = "#34A853"; // green
    var text txtcolor = "white";
    var text style = "style=\"text-decoration: none; text-align: center; background:" & $bgcolor & "; border-radius: 5px; padding: 8px 10px; color: " & $txtcolor & "; display: inline-block; font-size: 150%; font: normal 700 24px/1 \"Calibri\", sans-serif; text-shadow: none;";
    // End button style

    "<a " & $style & " href=" & $URL & ">" & $ButtonWords & "</a>"


    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------



  • 3.  RE: Reg: Reclink in Notification message content

    Posted 12-13-2021 15:25
    Thank you for the response.I have a question, Is it possible to add "%reclink%" the e-mailable button?


    ------------------------------
    Hema Rajendran
    ------------------------------



  • 4.  RE: Reg: Reclink in Notification message content

    Posted 12-13-2021 15:30

    No, that is not possible but here is an example of some code which would display a record. You would use that for the URL.

    urlroot() & "db/" & dbid() & "?a=dr&rid=" & [Record ID#]



    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------



  • 5.  RE: Reg: Reclink in Notification message content

    Posted 12-15-2021 09:45
    Thank you Mark:) The code is working like a charm:)

    ------------------------------
    Hema Rajendran
    ------------------------------