Join our community!

Get everything you need to start developing EPiServer solutions.

Problems with fetch data from page on a enterprise site

January 9 2012, 10:03

I'm currently working on a project that is
using a enterprise solution. This project uses the inbuilt functionally in
EPiServer where you are able to fetch data from another page. This functionally
is working properly except with the property show page in menu. I conducted a
test where a page from site A fetches data from a page from site B, here forth named
A and B.

Value for show in menu is checked in A and
B, page is shown in menu on site A.

Value for show in menu is checked in A and
but not in B, page is shown in menu on site A.

Value for show in menu is checked in B and
but not in A, page is shown in menu on site A.

Value for show in menu is not checked in A
and B, page is not shown in menu on site A.

This test shows that the value is
sometimes overridden by the value from site B and sometimes not. So my question
is if someone is able to explain why this is the case?




  • January 9 2012, 14:30

    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.

  • January 10 2012, 9:50

    Thank you for your answer! That explains the behavior of the function.