Hi,
I'm trying to print a list off all non-members within a sandbox into a textfile. I've tried 'si viewnonmembers' but got this error message in return:
MKS124814: Cannot show view information: MKS125335: Out of tree members and subprojects (not located in the project directory or a subdirectory of the project directory) are not supported.
The errormessage doesn't seem to fit my sandbox so I would be grateful if anyone has a clue what went wrong. By the way, if I am using the GUI (Sandbox -> Views -> view non-members) this works fine.
Thanks!
Solved! Go to Solution.
Before executing the command, you should jump into your local sandbox
cd C:\Users\USERNAME\MKS\SANDBOXNAME (or wherever your sandbox is placed)
After that, you can use the viewnonmembers command
si viewnonmembers > C:\Users\USERNAME\Desktop\nonmembers.txt
I hope it helps!
BR
Before executing the command, you should jump into your local sandbox
cd C:\Users\USERNAME\MKS\SANDBOXNAME (or wherever your sandbox is placed)
After that, you can use the viewnonmembers command
si viewnonmembers > C:\Users\USERNAME\Desktop\nonmembers.txt
I hope it helps!
BR
Yes, it works. Thanks a lot!
Or use the si viewnonmembers command with the options --sandbox and --cwd to avoid having to change the directory.
Example:
si viewnonmembers --sandbox="D:\MATLAB\Sandboxes\AVLab\project.pj" --cwd="D:\MATLAB\Sandboxes\AVLab"