Posted: 7 Dec 2017 6:48 EST Last activity: 29 Mar 2018 5:57 EDT
Issue in page to page copy in case of different page classes
I need to copy all page data from one page to another page. Here my source page and target page are of different classes(different XSD classes) which has nested structure inside it.The nested structure inside both the page is same but have different class names. On using set method in data transform, pxObjClass is getting copied in target page along with other data. behavior is same on using Page copy and Page merge option.
Is there any way we can copy the whole data in target page without changing the target page class? Attributes to attribute set is little difficult here as there are huge number of attributes.
I am already working on resetting the classes.The issue with the approach is my page structure is very complex which has a lot of pages inside pages(up to 5-6 level) and few attributes can have infinite levels(number of levels are not known beforehand ) so changing classes manually is very tedious in this case. Can you please suggest any way to retain these classes or resetting the classes at all level ? Page change classes is not working as child pages of source and target pages are different.
When I am changing the pxObjClass of target page after page copy, only target page class gets corrected. I have multiple page and pagelist properties within target page whose classes are different from source page and pagelist properties. The page property class within target page still remain same as source page property class.