Read Receipts for When User Views the Details Page.

This is a way to create read receipts for users who click on the detail page in the table component.

  • Not yet re-checked
  • Classic builder

Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

Screenshot for “Read Receipts for When User Views the Details Page.”

This is a way to create read receipts for users who click on the detail page in the table component.

Step 1

Add a child table to contain your read receipts. Connect to users and the table you want to check if it was read.

Screenshot for “Read Receipts for When User Views the Details Page.”

Step 2

Create a new pipe and add your API keys to the Global Parameters.

Screenshot for “Read Receipts for When User Views the Details Page.”

Step 3

Add the following API call.

https://api.tadabase.io/api/v1/data-tables/lGArg7rmR6/records?filters[items][0][field_id]=field_37&filters[items][0][operator]=is&filters[items][0][val]={loggedInUser}&filters[items][1][field_id]=field_38&filters[items][1][operator]=is&filters[items][1][val]={recordId}

Screenshot for “Read Receipts for When User Views the Details Page.”

1. Read receipts table ID.

Screenshot for “Read Receipts for When User Views the Details Page.”

2. Connected user field slug

3. Connected table field slug

Screenshot for “Read Receipts for When User Views the Details Page.”

Step 4

Set up your pipe parameters, headers, and response, as seen in the images below.

Screenshot for “Read Receipts for When User Views the Details Page.”
Screenshot for “Read Receipts for When User Views the Details Page.”
Screenshot for “Read Receipts for When User Views the Details Page.”

Step 5

Add a form with read receipts connected to your table (top image below) and set up a record rule to set the record value of the user to the logged-in user.

Screenshot for “Read Receipts for When User Views the Details Page.”

Step 6

Add a class of hidden to the form and add the following JavaScript to the page to mark it as read when it is opened.

Screenshot for “Read Receipts for When User Views the Details Page.”
Text
TB.render('component_4',function(data){
    data.ele.find($($('.af-form-submit')[1])).click();
});
Screenshot for “Read Receipts for When User Views the Details Page.”
Screenshot for “Read Receipts for When User Views the Details Page.”

Original Community Post:

Highlight unread / new records in table component - Community Discussions / How Do I - Tadabase Community

Was this page helpful?

Something wrong or missing on this page? Tell us.