while I try to import XPO project I received the following error
The origin {EF237BF7-284D-49FA-AF2B-4D32F598A896} is not unique, it is already used by Query element with name XXXXXXXXX.
*This post is locked for comments
this error due to importing Application object that use the same Origin id of an existing one.
most cases came due to an object had been renamed on Development environment and needed to be reimport on another environment.
to solve the issue you must first delete the old object then re import the new object of you make rename process
other wise change the Origin ID manually on the XPO file (using notepad), but it is not recommended.
Just a tidbit that may help others.
We utilize TFS and some private projects were checked into TFS. When a sync of source was attempted, private projects are synchronized to the local repository ok. When AX does its thing so you can see the objects in the AOT, AX references the private project origin ID in the modelelement table with a name of MyUser_MyProjectName. If that originId exists in the modelelement table with a different name, you will see the error listed above. In our case, the object was in the modelelement table with a name of SomeOtherUser_MyProjectName. Short term resolution was to have SomeOtherUser, log in on that machine (in this case a dev machine) and delete the private projects (outside of source control), then have MyUser login to force sync TFS. I'm thinking our long term solution would be to create a shared project when we want to check code into source control.
Other ideas are welcome.
Hi Ibrahim,
It is a great solution, can you advise what about same issue with tables have data? what i should do ? ,thanks.
Regards,
Hisham
Delete the original ID from the xpo files is it a good solution ?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 4
Nayyar Siddiqi 2
Guy Terry 2 Moderator