We recently upgraded from projectwise v8i to the latest version, and in the process moved all our folder structure to a new datasource. Many of our users had shortcuts pointing to some files in the old setup, is there a powershell script or some other way to allows those shortcuts to point to the new Datasource. The paths are all the same except for the datasource name.
I'm not sure what you mean by "shortcuts". The links for anything in the custom folders are datasource dependent, so they will still work.
If you mean URL/URN links, then you might want to see if the "Smart Link Processor" tool in MostOfDavesTools addresses your issue.
You can find MostOfDavesTools mentioned here: https://communities.bentley.com/search?q=mostofdavestools&group=400
You can find a copy of the documentation (included in the delivery) here: https://communities.bentley.com/products/projectwise/content_management/m/mediagallery/274629
Dan WilliamsSolution ConsultantBentley Systems, IncorporatedPortland, OR, USA (Pacific Time UTC-08:00)
I looked over the links and I don't think that's what I'm looking for.
By shortcuts, I meant the .lnk files that are created in windows if you drag a file from PWE to the desktop.
They have the original server name hardcoded in them, and i'd like them to point to the new one.
the .lnk files are standard windows link files. you can manipulate with Powershell indirectly through the vbscripting objects:
links in documents/emails that are html style links have to be modified by tools that work in that document's application.
There is this too:
I tried that before posting here. They don't seem to be regular windows lnk files, in the screenshot below the target path attribute is where the target would usually be indicated. While here it is empty, and nowhere to see the target!