Subject: RE: Display All Respones of a Doc on the Web
If you are looking to have the list of response documents open in a separate window, you can simply have a link/button which opens the single category view. You can create a form called “Response List” or whatever, embed the view and set the category you want to display (pull it from the url param).You can either use the RestrictToCategory url param or create your own like &ParentKey=. If you use your own, you will need to capture the value of that param using @UrlQueryString(“ParentKey”) in a field and then pass that to your single category embedded view.
Use the following code in your button/link:
url = “/server/db/Response+List?ReadForm&ParentKey=”
Click Here to View Responses
You can use the javascript below to open a new window…
function NewWindow(mypage,myname,w,h,scroll){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
var settings =‘height=’+h+‘,’;
settings +=‘width=’+w+‘,’;
settings +=‘top=’+wint+‘,’;
settings +=‘left=’+winl+‘,’;
settings +=‘scrollbars=’+scroll+‘,’;
settings +=‘resizable=yes’;
win=window.open(mypage,myname,settings);
win.window.focus();
}
I hope that all makes sense. If you need further clarification, let mw know.