I am trying load workspace, but files are missing on server.
I am trying load a workspace with all is change sets, but it seems files are missing on server. How can I add these files back to server? I tried to checkin file back in, but I get
One answer
Find the stream in the Team Artifacts view, right-click on the component, and select 'Show' --> 'Repository Files', and browse to '/3403/docs/nnnn', based on this error I suspect you will see a file called 'nnnn.pdf'. So it sounds like you have created a file locally that also has the name 'nnnn.pdf' and trying to check it in will result in the error since you can't have two different files with the same name.
If you want to keep your version, you can temporarily move it somewhere. Load a repository workspace from the stream, delete the 'nnnn.pdf' file (which comes from the server - which I'm assuming you want to delete in this case). You then check-in the change set which contains the file deletion and deliver that. You then bring back your version of the 'nnnn.pdf' which will be detected as an unresolved change in the Pending Changes view, this way you can check-in that version since there will no longer be an 'evil twin'. To be honest though, I'm not sure what your end goal is, so these steps might not do what you want.
Comments
The main issue I have is that example file 'nnnn.pdf' is no longer on the server, when I try to load my workspace. So I was trying to push a replacement copy back to server to fix issue on server. If there a way to force a missing file back onto server in an older baseline?
The following error suggests that the file does indeed exist 'on the server'.
If you want to roll-back a stream to an older state (and add a file?) you create a repository workspace based on the collection of baselines you want, or snapshot, then add a file, then you can perform the "Replace In 'Stream_Name'" action on a component to overwrite the contents of the stream with what you have in your repository workspace.
The issue I have is trying to load a workspace and server not getting missing files which seem to be not on server, but yes in the baseline. How to fix missing missing files, if I can never load my workspace?