November Happy Hour will be moved to Thursday December 5th.

Problems with fetch data from page on a enterprise site

Vote:
 

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?



#56142
Jan 09, 2012 10:03
Vote:
 

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.

#56154
Jan 09, 2012 14:30
Vote:
 

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

#56167
Jan 10, 2012 9:50
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.