Hi,
I want to display excel file in the portlet using portal beans. I set my view as raw and when I call
getBean().getBinaryViewURL(getPortalPageContext(), "survey_results_download_view", "", ht);
page displays
Page could not be built -- module may not support this view.when I use getBean().getFullViewURL("survey_results_download_view", ht);I get page but only as text not as excel. I have set the content type in jsp as<%@ page contentType="application/vnd.ms-excel" %>This page displays as excel when I invoked outside portal but portlet is displaying as text/html.Is there any other things that need to be set or configured.
My pbd file has the following view
<VIEW
ID="survey_results_download_view"
USERLEVEL="registered_user"
IS_NAVIGATION_ROOT="true"
PREFERRED_PAGE_ID="raw"
>
</VIEW>