Forum Discussion
2 Replies
Sort By
- ChristianWValued Contributor
You can encapsulate the parameter with brackets like this: parameter=[|!comment!|].
Onestream will replace the parameter during execution to parameter=[1,2,3], the commas won't be interpreted as delimiter until it reaches the closing ].
- OSAdminValued Contributor IIOriginally posted by Cosimo Palmisano
I found another way to read the content of the bound parameter used with the text box:
Dim initCommentContent As String = args.SelectionChangedTaskInfo.CustomSubstVars(""0_txt_CommentBox_Content_ST"")
Using args.SelectionChangedTaskInfo.CustomSubstVars is pretty sweet since it provides all current values of dashboard parameters.
Related Content
- 2 years ago
Is it possible to use .DescendantsInclusive to define a data buffer in a Finance Business Rule? This is needed to clear data from legacy accounts that are no longer needed. For example: Dim myDataBuffer As DataBuffer = api.Data.GetDataBufferUsingFormula("RemoveZeros(Cb#Consol:A#Top.DiscendantsInclusive)", DataApiScriptMethodType.Calculate, False, destination)
4 years ago