The RepID is correct. The name of the server is correct. When I run it on a client which has the icon of the server replica on the workspace, it opens the server replica. If only the local replica is on the workspace, it is opened instead. I know this is how it is supposed to work but:
Is there a way that I can get it to always try to open the server one first and then fall back to the local one if it can't find the server copy?
I did think about using @Command([FileOpenDatabase]) but would rather use the RepID and not the path as the paths of local replicas are not consistent.