OneStream – Importing Non-Default Descriptions

Istock 1303320175

Does your organization need to produce reporting with descriptions other than the Default Description specified on a member?  If yes, this blog post is for you as I will demonstrate how to leverage Excel and a metadata import to update member descriptions that are not the Default Description.  The reason for a custom solution is that currently, the Metadata Builder does not support descriptions other than the Default Description.  This blog will demonstrate the process by first creating the French description and then developing the XML for the metadata import utilizing Excel and Notepad++.

Before I begin reviewing the custom solution and to level set the discussion, a OneStream application with a default install and configuration has Culture Codes for English (United States) “en-US” and French (France) “fr-FR” which are displayed in the next image in addition to the Default Description.  In this blog, French (France) will be utilized as an example of a Non Default Description.

Blog2021 05 01

As mentioned previously, the reason for a custom solution is that currently, the Metadata Builder does not support descriptions other than the Default Description.  To begin the process, launch Excel and log into the appropriate OneStream application which for this blog will be the Golfstream application.

After you have logged into the Golfstream application, create a Quick View which will return the members that require a description update.  In this example, I am creating a list of Balance Sheet base members after selecting CorpAccounts as the dimension.  The Member Filter is displayed in the first image and the Quick View is displayed in the second image.  Note, this presentation was created by selecting the Annotation view member as data is not needed and the Row Header Text Type is set to Name.

Blog2021 05 02

Blog2021 05 03

With the Quick View created and the members displayed, select the option “Convert to XFGetCells” from the OneStream XF Ribbon.

Blog2021 05 04

Select “OK” when the Extensible Finance dialog box renders.

Blog2021 05 05

Next, the description of the member will be retrieved by replacing the XFGetCell represented by “#REFRESH” displayed in column B and initially in cell B2 of the first image with the following formula: “=XFGetMemberPropertyVolatile(“Account”,A2,”Description”,””,””,””)”.  With the formula added to cell B2, copy the formula and replace the XFGetCell formulas.  After the selection of “Refresh Sheet“, the member and member description is displayed in the second image.

Blog2021 05 06

Blog2021 05 07

With the member in column A and the member’s Default Description in Column B, the French description will be added to column C starting in cell C2.  To begin the process, click cell “B2” and then select “Review -> Translate”.

Blog2021 05 08a

The Translator pane will open and the From dialog box detects the language as well as places the selected value in both the From and To text box.

Blog2021 05 09

Update the To language from “English” to “French” and select the “Tab” key to cause the translation to occur which is displayed in the second image.

Blog2021 05 09a

Onestream - Modern Accounting: How to Overcome Financial Close Challenges
Modern Accounting: How to Overcome Financial Close Challenges

Improvements in each of the following period-close core tasks can provide transformative change and are reviewed in this guide include closing the books and external reporting, periodic reconciliations, and managing the period-close process.

Get the Guide

Blog2021 05 11

Select the French translation of the member description and then copy/paste the translated value to cell C2.

Blog2021 05 12

Repeat this process for the other descriptions by selecting the next cell “C3” and the description will automatically translate if the Translator pane was not closed.  Copy/paste the translated value to cell C3 and repeat this process for the other rows.  Note, the selection of multiple cells will Translate all of the selected cells; however, a copy/paste will result in one row instead of multiple rows.  By adding a delimiter to the description, the one row can be parsed to multiple columns using “Text to Columns” and then when the copy/paste occurs the transpose option can convert the multiple columns to multiple rows.

Blog2021 05 13

Before we transition to creating the XML to import into OneStream, the following formula “=XFGetMemberProperty(“Account”,A2,”DisplayMemberGroup”,””,””,””)” will be added to cell D2 to return the security member specified for the DisplayMemberGroup property.  Once this formula is added to cell D2 copy the formula to the member rows.

Blog2021 05 14

Having leveraged the Translate function of Excel to convert the English description to the French description, the next several steps will be to develop an Excel formula to create the XML for the metadata import.  To begin, the format of the XML can be determined by extracting the metadata of a member with a French (France) description and the next image displays the XML needed to import one member.  Note, the extract which occurred was modified to enable the presentation in the image.

Blog2021 05 15

Add the values listed starting with cell E1 and concluding with cell Q1. Note, the text for cell L1, O1, and P1 will include a space after the visible characters which were included for formatting purposes.

E1<member name="
F1" description="
K1<description culture="
P1</descriptions> "

In cell E2, add the following formula “

=CONCATENATE($E$1,A2,$F$1,SUBSTITUTE(B2,”&”,”amp;”,1),$G$1,$H$1,D2,$I$1,$J$1,$K$1,$L$1,$M$1,C2,$N$1,$O$1,$P$1,$Q$1)” which concatenates the text from cell E1 to Q1 with the text in columns A to D for the corresponding row to create the XML.  Note, due to XML reserved characters, the ampersand “&” character is substituted with “amp;” as part of the formula.  Once this is done, copy the formula in cell E2 to the appropriate rows.

Blog2021 05 16

With the XML created utilizing an Excel formula, copy and paste the XML generated to a text editor which in this circumstance is Notepad++.

Blog2021 05 17

After the XML is copied and pasted to a text editor, leverage the example from the first image to include the rows before and after “<member name” which are rows 1 to 6 and 8 to 12 as displayed.

Blog2021 05 18

To upload the file, save the file.  Two images are included for reference, the first displays row 1 to 6 from the example and the second image has the <members> collapsed to show rows 1 to 6 and 81 to 84 both of which originated from the example file.

Blog2021 05 27

Blog2021 05 28

If you have not already done so, log into the OneStream application.  Once logged into the application, select and expand “Application > Tools > Load/Extract”.

Navigate to and select the XML file previously created.  Once this is done, select the “LoadBlog2021 05 2021 05 26 15 21 26 Clipboard icon.  The load will complete without error which is confirmed by the second image sourced from the Activity Log.

Blog2021 05 21

Blog2021 05 23

To see the results using Excel, navigate to “System -> Security” and select your user account.  With the account selected, update the Culture from “English (United States)” to  “French (France)”.  Note, administrator privileges are assumed for this step.

Blog2021 05 24

Blog2021 05 25

To display the uploaded account descriptions without changing the Windows Display Language setting, create a Cube View that duplicates the display of the original Quick View.  Once the Cube View is created, selected the “Open Data Explorer” icon to display the uploaded descriptions.

Blog2021 05 26

I hope this solution is helpful.  Should you have any questions, either leave a comment or email me at

About the Author

Terry is a Senior Solutions Architect at Perficient specializing in OneStream CPM solutions. He is a frequent speaker at Splash and passionate about making clients successful. When not blogging about OneStream, Terry is a husband, parent, and baseball enthusiasts.

More from this Author

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to the Weekly Blog Digest:

Sign Up