Skip to main content
RobbSalzmann
Employee - Advisor
Employee - Advisor
Apr 7, 2023 7:31 PM UTC
Solved

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)

Employee - Mentor
Apr 10, 2023 4:12 PM UTC

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

4 replies

Employee - Mentor
Apr 10, 2023 4:12 PM UTC

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

RobbSalzmann
Employee - Advisor
Employee - Advisor
Apr 10, 2023 4:27 PM UTC

Thanks Eric. 

Could I be missing an import?

RobbSalzmann_0-1681143971010.png

RobbSalzmann_2-1681144042682.png

 

 

Employee - Mentor
Apr 10, 2023 4:36 PM UTC

It doesn't appear you are. I am on v7.4.1

EricOsmanski_0-1681144560333.png

 

RobbSalzmann
Employee - Advisor
Employee - Advisor
Apr 10, 2023 4:45 PM UTC

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