Forum Discussion
RobbSalzmann
2 days agoValued Contributor II
As DanielWillis has mentioned, you cannot pass Nothing(null) as an argument for the Workspace Guid parameter in GetLiteralParameterValue. Instead pass in the workspace id of the workspace where your parameter lives.
At a minimum you need something like this:
Dim workspaceId As Guid = BRApi.Dashboards.Workspaces.GetWorkspaceIDFromName(si, False, "Your Workspace Name")
Dim param As String = BRApi.Dashboards.Parameters.GetLiteralParameterValue(si, False, workspaceId , "myFlag")
Related Content
- 2 years ago
- 2 years ago
- 2 years ago
- 11 months ago