Posted: 14 Jul 2016 23:59 EDT Last activity: 4 Oct 2018 13:54 EDT
Real time example of "Page-Change-Class" method
I understand that "Page-Change-Class" is used to change the "pxObjClass" of the existing page assuming that the target class has all the properties referenced in the exisiting page but can anybody give me a real time example of in which situation do we use such a method? Also, how is this different from "Append and Map to" in a Data Transform? Thanks in advance.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Use the Property-Set method to change the class of an embedded page. Ordinarily, the Property-Set method requires that the source (of values) and the destination (to receive the values) be alike — assigning a string value into a string property, a page value into a page property, and so on.
However, you can establish the class of an embedded page using a special Property-Set syntax:
Identify the property that is the page as the destination.
As the value, enter a literal string value or a property reference that contains a string that is a class name.
When the system executes this method, it sets the value of the pyObjClass property in the page to the string value. This changes the class of the page.
Hi, While doing any Interface request and response mapping if you want to generated the structure as per your service definition Page-Change-Class is used.
Observe the classes once you import any WSDL and same is used while mapping.