We tried teaser components with segmentations defined properly which is working fine in Author instance.
When we try to access the same page in publisher mode, this is not working.
Our custom store properties:
1) We have our own store defined with hardcoded values but publisher still does not see anything when we try ClientContext.get from the browser console.
2) we tried existing data store profile and added a new property. This also can not render properly on Publisher instance.
Are we missing something here?
Do you see any JS error ? Have you activated your segments as well ?
There were no JS errors and we have activated the segments as well before loading this on publisher instance.
I also tried the following @ http://blogs.adobe.com/aemtutorials/2013/07/24/customize-the-client-context/ but no luck yet.