skip to Main Content


Assumption Set Risk Profile Syntax

February 7, 2019 |  matthew-townsend

A long time ago, in a blog far away…

Risk Profile descriptions are an interesting test case for all the weird and wonderful ways we go about delivering results for clients.  If you grabbed a handful of coded advice templates you’d find a mix of risk profile descriptions and charts hard coded in the template, through to all sorts of half dynamic solutions involving the document library and/or fields.

We’ve previously looked at the advantages of getting these out of your template (amongst other mechanisms) and storing the Risk Profile descriptions in the dedicated spot within your xplan sites assumption set > Risk Profiles.  Since that article, this area of xplan has been further integrated with Prime and the Robo Advice tools both drawing on the descriptions and data in this area for their respective interfaces.

XPLAN Risk Profile Description - Assumptions

XPLAN Risk Profile Description – Assumptions

What’s changed?

Not only do we have  more rich text fields – so there’s now plenty of space to store everything related to your risk profiles – but we have xmerge for it all!

Coding to extract all the descriptions from Assumptions

Use the below code to extract the description (and other rich text fields) for the entities risk profile.


Custom Tab:
Custom Tab 1:


Custom Tab:
Custom Tab 1:


Custom Tab:
Custom Tab 1:

Client Group

Custom Tab:
Custom Tab 1:


  • If you want to shorten the code, a common approach is: <:let clientATR = $client.risk_profile.attitude_to_risk():>  Then calling the description field would be <:=clientATR.risk_profile_desc_rtf:>
  • Remember, the output will be based on the clients group associations – not yours.  So if you get unexpected results in the text outputs just double check the clients groups and what assumption set their primary group is associated with.

Knowledge Drop

This one is straight forward and works well.

The hardest part is going back to update your templates and getting these descriptions – and any other info – into the assumption set fields.  Going forward you’ll have one central place part of the system to update, one which flows through everywhere and is easy for your xplan administrator or xplan helpers to update as needed.

  • You can rename the custom tabs by clicking the drop down arrow when editing the descriptions.
  • If you aren’t already, look to introduce and start using the Attitude to Risk elements in your user interface.  These are not only far more informative but reflect the Risk Profile History and lots of other good information – some practices tend to show both the old investment table (mix/target/max/update) and the new attitude to risk as two separate pages.

About the author

Matthew Townsend on EmailMatthew Townsend on Linkedin
Matthew Townsend
Advice Technology Consultant | Digital Advice at Create Something
Matthew is an experienced and innovative Xplan consultant and developer, having worked on and developed some of the largest advice projects in the industry. Passionate about building great experiences in xplan that enable businesses and clients to get the most out of this powerful software.
Back To Top