In a freemarker transaction record object, how do ...
# ask-stanley-ai
a
In a freemarker transaction record object, how do I get the internal ID of the value set on a custom List/Record field on that transaction's "entity" join?
c
AI generated answer (using internal Slack threads):
In a Freemarker transaction record object, to get the internal ID of the value set on a custom List/Record field on that transaction's "entity" join, you would need to source the field onto your transaction record. The
record.entity
join in Freemarker only contains basic information like id and text, and does not allow for joins to other records. Therefore, to access a custom field from a related record (like a customer), you would need to source that field onto your transaction record. Here's an example of how you might do this: 1. Go to the transaction record type where you want to display the custom field. 2. Create a new custom field (or use an existing one) and set the type to match the type of the custom field on the customer record. 3. In the Sourcing & Filtering tab, set the Source List to 'Entity' and the Source From to the custom field on the customer record. Now, when you create or edit a transaction, the custom field will automatically populate with the value from the related customer record. You can then reference this field in your Freemarker template using the syntax
${record.customfieldname}
. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826763868
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813240707
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.811698675
Please provide your feedback on this answer.