I'm currently working on a project that isusing a enterprise solution. This project uses the inbuilt functionally inEPiServer where you are able to fetch data from another page. This functionallyis working properly except with the property show page in menu. I conducted atest where a page from site A fetches data from a page from site B, here forth namedA and B.
Value for show in menu is checked in A andB, page is shown in menu on site A.
Value for show in menu is checked in A andbut not in B, page is shown in menu on site A.
Value for show in menu is checked in B andbut not in A, page is shown in menu on site A.
Value for show in menu is not checked in Aand B, page is not shown in menu on site A.
This test shows that the value issometimes overridden by the value from site B and sometimes not. So my questionis if someone is able to explain why this is the case?
Fetch data only fetches data from the other page where properties are null or empty.
If you you have an unchecked checkbox then the value is null and it will allways try to fetch the data from the other page, but if it's checked it will take that value from the current page.
Thank you for your answer! That explains the behavior of the function.
© Episerver 2016 |
About Episerver World