Forum Discussion
I'm getting a little closer. GetLiteralParameterValue.
Dim sValue As String = BRApi.Dashboards.Parameters.GetLiteralParameterValue(si, False, "ColorFont1_PLP")
api.LogMessage("This is the value of the parameter: " & sValue)
Description: This is the value of the parameter: XFDarkBlueText
However CVYear doesn't show.
Dim sValue As String = BRApi.Dashboards.Parameters.GetLiteralParameterValue(si, False, "CVYear")
Dim sValue As String = BRApi.Dashboards.Parameters.GetLiteralParameterValue(si, True, "CVYear")
This is the value of the parameter: Unknown | 11/3/2022 3:02:36 PM | Information |
The named pairs passed as a parameter in a Custom Calculate job worked. Today I found a better way to avoid having parameters passed to a custom calc. We can use T#WFTime, and to access it I used
BRApi.Workflow.General.GetWorkflowUnitPk(si).TimeKey.ToString.Substring(0,4)
🙂
- chris_rothermel3 years agoContributor
I meant T#WFYear
Related Content
- 2 years ago
- 2 years ago