Is there any documentation about how to access the information of transactions in a template?
The github page does not contain any information about it, except for the mention of the existence of the drop transaction and the attribute transactions on the account drop.
I couldn’t find any topics on this forum about this either…
Is it possible to reveal the attributes that can be addressed on this drop please?
Thanks in advance.
To be honest, I have to search for this as well, which means our documentation is not up-to-date (I don’t like to say it, but it is).
As soon I’ve gathered the needed information, I’ll let you know. @Tim has the answer for sure…
Sorry for the delay.
@robin.bailleul, we added an extra documentation page about the transaction drop, https://github.com/GetSilverfin/sf-templates/blob/master/drops/transaction.md
Do you require additional information?
Thanks for this.
I already tried using the value, date & relation attributes successfully.
However, I am not able to access the ‘other fields’ of a transaction.
I tried using the columns’ Dutch name, English name and even the data-header value of the html-table.
For example, for accessing the ‘Ref.’ column of the first transaction on the 400000-account, I tried the following code:
None of them seem to work.
Can you maybe give a working example of how to access the other fields correctly?
I think there’s still an error in the documentation. ‘.’ are also replaced by ‘_’. Could you try
Thanks for the quick reply.
Replacing the spaces (’ ‘) and points (’.’) by underscores (’_’) in the column names and calling that on the transaction does indeed provide access the transaction attributes