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

RobbSalzmann
Valued Contributor

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)

Software Architect
MindStream Analytics
"Difficult done right away. Impossible takes a bit longer"
1 ACCEPTED SOLUTION

EricOsmanski
Valued Contributor

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

View solution in original post

4 REPLIES 4

EricOsmanski
Valued Contributor

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

Thanks Eric. 

Could I be missing an import?

RobbSalzmann_0-1681143971010.png

RobbSalzmann_2-1681144042682.png

 

 

Software Architect
MindStream Analytics
"Difficult done right away. Impossible takes a bit longer"

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

EricOsmanski_0-1681144560333.png

 

RobbSalzmann
Valued Contributor

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

 

 

Software Architect
MindStream Analytics
"Difficult done right away. Impossible takes a bit longer"