Accepted Code Samples
OneStream approved sample code snippets and examples to help everyone write rules.

Knowledge Base Articles

How can I bypass importing lines of data?

'Check the parsed value for the criteria string If StringHelper.FindIgnoreCase(args.Value, "[String To Find]") Then ' Set the bypass switch on the globals object ' in order to tell the parser engine to skip this line. globals.Bypass = True End If Ret...

OSAdmin by Valued Contributor
  • 1117 Views
  • 0 comments
  • 1 kudos

Retrieve File Name during Import

'--------------------------------------------------------------------------------------- 'Reference Code: XFR_GetFilenameForSourceID ' 'Description: Gets the file name being processed, strips off the unique indentifier that XF ' adds to the file name...

OSAdmin by Valued Contributor
  • 671 Views
  • 0 comments
  • 0 kudos
Top Contributors