Forum Discussion

JimHarrison's avatar
JimHarrison
Qrew Champion
4 years ago

Using %recdata% in a Notification & removing the table header

Hi,

We have a Notification, custom html using %recdata% with a short form that only has a report link field.

The Notification report looks great!

But the email includes the App Name: table name (record name) giant header right above the report and we don't want that to be there.

How to exclude the Big table header right above the report?

I unchecked everything in the form properties but to no avail.

Didn't find anything in the previous posts.

Thanks in advance,

Jim



------------------------------
Jim Harrison
------------------------------

5 Replies

  • Unfortunately, I don't believe there is a way to remove the label at the top of the form when using the %recdata% tag. And, since you are wanting to show the child records of the triggering record, using a pre-defined form is going to be the way to go.

    It's possible there could be a custom email solution through a connected service like Pipelines or Zapier, but I'm not certain.



    ------------------------------
    Blake Harrison
    bharrison@datablender.io
    DataBlender - Quick Base Solution Provider
    Atlanta GA
    404.800.1702 / http://datablender.io/
    ------------------------------
    • JimHarrison's avatar
      JimHarrison
      Qrew Champion

      Hi Blake,

      Thank you for your response. That's what I thought. We use Workato so I can clear the header with that or the other solution you recommended. I was hoping there was a check box somewhere like Advanced Settings in table properties that did it without the efforts.

      Thanks,

      Jim



      ------------------------------
      Jim Harrison
      ------------------------------
      • BlakeHarrison's avatar
        BlakeHarrison
        Qrew Captain

        If you're using Workato, you could probably build a fully custom email using their service, using the parent record as the trigger and then setup an array for the child records.



        ------------------------------
        Blake Harrison
        bharrison@datablender.io
        DataBlender - Quick Base Solution Provider
        Atlanta GA
        404.800.1702 / http://datablender.io/
        ------------------------------
  • I have a partial solution.

    Target the class by putting this at the top of the Custom Notification

    <style>.FS-H1 {display: none;}</style>

    It leaves a large space between the bottom of the body and the inserted report. I played around with other styles but couldn't find a way to clear the margins, padding, or style the alignment. The %recdata% with a form works but it's not 100%. I may try to do some negative styling or a float and update.

    Leaving this here for future searchers with HTML and CSS experience. Below is the notification with things removed.

    <style>
    table.t1 {border-collapse: collapse;}
    th.t1 {border: 1px solid black; padding: 3px; text-align: left; text: bold;}
    td.t1 {border: 1px solid black; padding: 3px;}
    .FS-H1 {display: none;}
    </style>
    <p>Hi, <br>
    <br>
    <p>lorum ipsum dipsum lumpsum</P>
    <table class="t1">
    <tr>
    <th class="t1">Company Name</th>
    </tr>
    <tr>
    <td class="t1">[Company Name]</td>
    </tr>
    <tr>
    <td colspan="4">
    %recdata%
    </td>
    </tr>
    </table>

    </p>



    ------------------------------
    Jim Harrison
    ------------------------------

    • AmnaAnwar's avatar
      AmnaAnwar
      Qrew Trainee
      How did you implement this? when I insert style in notification it tells me I can't use certain HTML in notifications

      ------------------------------
      Amna Anwar
      ------------------------------