Xport docnote Xmerge attachment Template Name
Hi dianne.preece.0, you can certainly include the name of an attachment to a file note / doc note in an Xport.
Add your docnotes data source them select to add a new data source and add in the DocNote Attachments data source.
Just make sure you select the blue cog icons once your datasources have been added and use the filter options to filter down to extract only the notes you need to reduce the amount of data being extracted.
Helpful articles in the Community include:
In your question you referred to a XMERGE docnote attachment template name, the above will extract the docnote attachment name. If your Xmerge is set to add itself as a note when run, then the xmerge name will be extracted (as this will the name of the attachment.
If, however, your templates merge with something like 'reportout 1538752458', and you are actually wanting the name of the template to merge, you can add a piece of code to your xmerge template and this will name the document when it is merged.
e.g. <:=$flags('output_by_syntax', value=[str('Statement of Advice')]):> will merge your document with the name Statement of Advice.
<:=$flags('output_by_syntax', value=[str('Report Name') + ‘ as at ‘ + str(datetime_merge.format(‘%d %B %Y’))]):> will merge your document with the name 'Report Name as at 18 February 2025.
Welcome to the Advisely forums!
This is where financial advice professionals from all walks of life come together to share knowledge, swap ideas, solve problems, and talk all things growth and efficiency.
Here are some tips when posting in the forums:
- Be respectful and courteous to fellow members
- If a reply helped you, mark it as a solution so other users can find it easily
- Take a moment to read through our Community Guidelines
- For Xplan support issues, it's best to raise a ticket in Iress Connect first. You can also search the discussions for posts about the same issue first before starting a new thread.
- Keep an eye out for our 'Ask me anything (AMA)' threads – these are live text-based Q&As with industry and Xplan experts during a set period of time. Find out when the next one is happening here.
- Don’t be shy! You don’t need to be an expert to help someone out. Many users are looking for practical advice, shared experiences, or just a fresh perspective
- Introduce yourself and meet other members here!
We’re glad you’re here – see you around! 😁
Recent Discussions
🤓 Xplan Hint: Tracking Super Contributions
Did you know that there is an element that summarises Super Contributions. It gives you a clear and consolidated view of your client's superannuation contributions, making tracking and compliance ea...andrew.wilson.07 days agoXplan Expert44Views1like0Comments

