Hello all,
In project I’m asigned,development environment is single AOS topology.
After reading a white paper ‘Developing Solutions for Microsoft Dynamics AX in a Shared AOS Development Environment_AX2012.pdf’,
I set up a workspace to ‘public workspace’, and then tried to check out a object in MorphX with another account.
But only just a color of the object’s name turned to blue,I couldn’t select ‘chek in’ with right click.
Does anyone know about tihs issue?
Regards,
What exactly is the problem? The menu item isn’t available? Or do you have a problem with exclusive locks? What’s your version of AX? Is the user able to check in code through Team Explorer?
Although I don’t recommend public workspaces, I worked in a team where they were used for some time and it did work (but there were reasons why I developed a support for multiple workspaces for them).
AX version is CU7.
In MorphX ,the problems is a user can not check in a object that is not cheked out by others.The object is cheked out by himself.
From team explorer,he can check in, but I wonder it keeps the consistency of the program.
I’m not sure if I understand these sentences: “A user can not check in a object that is not cheked out by others.The object is cheked out by himself.” If my following answer doesn’t address your question, please explain these sentences once more.
All check-outs in a public workspace belongs to a single user - the owner of the workspace. Therefore TFS can’t distinguish which user checked out an object. If you need that, a single workspace is a wrong choice. You’ll need a separate workspace for each user.
I’m sorry for my poor English expressions.
I tried to check out with using 2 user accounts A and B.
A was a user to set up versoin control parameters on MorphX and owner of waokspace.
B was another user as developer who needed check out when he develop.Of course A could check out a object and check in ,but B couldn’t check out even selected a object that was not checked out by A. On MorphX,B selected the object and right click ,then selected ‘Check out’,then confirmed the object name’s color turned to blue.(I thought B could check out at that time.) After this B right clicked the object,but the words ‘Check In’ didn’t appear.I thought B couldn’t check out.
Do these sentences make sense?
Sorry, I don’t. You said: “B couldn’t check out” and “B selected the object and right click ,then selected ‘Check out’,then confirmed the object name’s color turned to blue”. The first sentence says that he couldn’t check out, the latter says he did.
Do you want to say that the user can call Check out from AX but it doesn’t actually happen in TFS? If so, what exactly happens in TFS?
As the word ‘Check in’ didn’t appear, I think B couldn’t check out right.
But in TFS, the object was check out (‘edit’ appeared in column ‘Pending chage’ and A’s name in column ‘User’).
B could check in at VisualStudio. (There are 2 ways of check in (from morphX or from VisualStudio),but I have no idea it is good.)
Hello quotient4, we are going to use the same shared AOS with TFS plan too, I see your point. User A created the workspace, and your team is using that as ‘public workspace’. While user B can check out, as the element is turned blue. But user B cannot check in In MorphX. I mean, did you find the reason for user B now? Or, user B still has to use Visual studio to check in code?