Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip
iconfalse

You can use Hash Variable & Datalist List Filter's URL request parameter in the email attachment Files URL path to dynamically filter records in the list attachment.

Using the default Expenses Claims app as an example:

Use Case Scenario : Dynamically filter the records in My Inbox list to only show expenses claims that is submitted by the current logged in user, as a PDF attachment in email tool.

The URL path to download a PDF format of My Inbox list without any filtering looks like: 
http://localhost:8080/jw/web/userview/expenseclaim/home/_/myin?6578706f7274=1&d-944469-e=5

Now if we want to filter the results in the list attachment via "Submit By" list filter, first we need to determine the list filter's URL request parameter in the filter's properties, which is d-944469-fn_claimant in this case.

Then, we can now append the filter's url request parameter along with its value or hash variable to the URL path, so the URL path should now look like:
http://localhost:8080/jw/web/userview/expenseclaim/home/_/myin?6578706f7274=1&d-944469-e=5&d-944469-fn_claimant=#currentUser.username#

...