I have a client who is using a vba to open pdf files. I know there is a keyin "% \\engdat1\common2\MSV8i_support\Workspace\Clinet\Documentation\SheetSetup\Details.pdf" that will accomplish the same task. This keyin works outside the ProjectWise environment. If I use the same keyin to define a pdf file inside ProjectWise (using a managed workspace) but I use the file path URN, ProjectWise will switch to the location of the pdf file but the pdf file does not open.
Does anyone know of a keyin that will actually open the pdf file from within ProjectWise?
Microstation CONNECT 10.17.00.209
ORD CONNECT 2021 R1 10.10.1.3
Microstation v8i SS 10 08.11.09.919
Power InRoads v8i 08.11.09.615
ProjectWise 10.0.3.453
I don't think you can create a URL that also opens the document, just one that selects it. But if they're using a vba then probably the only way is to launch projectwise explorer with a command line that opens the file. Details on the pwc.exe command line is here:
Command Line Arguments - ProjectWise Design Integration Wiki - ProjectWise - Bentley Communities
I haven't tried it myself, but I believe you'll need to use the -c option, which is a numeric command code with the number 30501 (the command codes are on the page). It will open a new process for explorer to do it.