Question
Page-Copy method is not copying properties which is having null values to destination page
Hi All,
I am trying to copy a page in which some properties are having null values. When i use Page-copy method to copy the contents from source page to target page,Target page doesn't contain null value properties.
Ex:
CopyFrom : SourcePage
Property1 : abc , property2 : (null) , property3 : (null)
CopyInto : TargetPage,
After doing page-copy, TargerPage contains only Property1, but not property2 and property3.
Is there any work-aroung to copy the null value properties into TargetPage? if it could be done by java, please share the java code to achieve the same.
Note : Property-set can't be used for my requirement as i am not sure how many properties does the source page contains.
**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.
Hello,
I have tried the same at my end but do not see any issue.
The properties do get copied from one page to another regardless of whether they have a value or not.
I have attached a document that contains screenshots of my usecase for your review.
Do let us know if we need to change the usecase.
Thanks,
Gisela