Forum Discussion

RobbSalzmann's avatar
RobbSalzmann
Valued Contributor II
2 years ago

How to get the WorkspaceID (GUID) from within an Extensibility Rule

OS Version 7.3.3
My files are stored in a Named Workspace, "Finance WS"
I want to open a file stored in Finance WS.  How do I get the workspace guid to accces the file?

Dim guidWs as Guid = ???
BRApi.Dashboards.FileResources.GetFileResource(si, False, guidWs, strFilename)

  • Dim gValue As Guid = BRApi.Dashboards.Workspaces.GetWorkspaceIDFromName(si, isSystemLevel, workspaceName)

  • EricOsmanski's avatar
    EricOsmanski
    Valued Contributor

    Dim gValue As Guid = BRApi.Dashboards.Workspaces.GetWorkspaceIDFromName(si, isSystemLevel, workspaceName)

  • RobbSalzmann's avatar
    RobbSalzmann
    Valued Contributor II

    7.3.3 here, didn't know 7.4.1 was GA.  I see it in the MarketPlace.  thanks for the help.