Can some one please suggest me how to move OBS structure from one environment to another in ca clarity PPM?
Xml Open Gateway - i.e. XOG
XOG read out from one environment, XOG into another - "obs_read.xml" and "obs_write.xml" are the example files provided with the XOG install. This is all covered in the documentation/manuals.
Thanks for the reply David.
Actually I know about XOG but XOG read and write is not working for OBS for some reason.
Can you please suggest me any other way?
XOG is the way.
Perhaps you could solve your "for some reason" problem.
There is a node limit which you may hit with OBS if you have more than 500 nodes.
If you hit that then the read result is blank.
In the early days you could append write obs.
Thanks for the reply.
Can you please elaborate "In the early days you could append write obs"?
That goes back to Niku 6.
There, when you wrote OBS, your xml content was appended if there was and existing structure.
That is if you wanted to make any modification with XOG you had to delete the existing and write the complete new.
A feature of that was that when you removed the OBS associations to objects, deleted the existing structure and wrote back somewhat similar with units having the same ID's and associated the OBS again with objects the object instance associations to units were still there.
If I recall correctly the argument complete="true" allows you to write a new OBS structure and delete the existing one.
I should assume (have not done that) if you have complete="false" the XML content will be appended.
OBS read struggles with a large amount of data. One could try to create the OBS write XML semi-manually ; read out a smaller OBS so you understand the structure and then create new XML to build the "real" structure (using SQL to get the data from the database) - a pain but should work.
Whether this worth doing depends on how complex your OBS is of course.
(Re "append" - we can certainly write parts of the OBS structure rather than the whole structure thru XOG, don't think we can read them though, but if you built your OBS originally in a DEV environment bit-by-bit you would/could have the relevant XML files saved already)
Retrieving data ...