Skip to main content
Question

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

  • December 19, 2020
  • 0 replies
  • 121 views

JimHarrison
Forum|alt.badge.img+18

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
------------------------------

  • Registered
  • December 19, 2020

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
Forum|alt.badge.img+18
  • Author
  • Registered
  • December 21, 2020

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
------------------------------