Using Source parameter with Multi Upload Form
Hi, I have encountered some strange behaviour when using a source parameter on a default multi-upload page in MOSS 2007. The general idea was to guide the user to an "upload successful" page with some custom parameters to be displayed. The link leading to the Page looks like this: https://(domain)/(site)/_layouts/Upload.aspx?MultipleUpload =1&List =(guid)&RootFolder =(path)&Source =https%3A%2F%2F(domain)%2F(path)%2F_layouts%2FcIPPMultiUpload%2FAppPage2%2Easpx%3FParameter%3D4%2D12%2D25%2D22 or for readability, without escape characters: https://(domain)/(site)/_layouts/Upload.aspx?MultipleUpload =1&List =(guid)&RootFolder =(path)&Source =https://(domain)/(path)/_layouts/cIPPMultiUpload/AppPage2.aspx?Parameter=4-12-25-22 If I click cancel on the upload page, it takes me to the correct page (as given in the source parameter). If I click ok without selecting files, it also takes me to the correct page. Buf if I select some files and click ok , I'm redirected to the root of the page after the upload is done.. I would be very grateful if somebody could tell me why it behaves like that and what changes I have to make to have it redirect to the correct page all the time. Or at least provide some links to the topic for further reading. Thanks in advance, Olli
July 13th, 2010 2:03pm

If you look at the url of a multiple upload to an out of the box http://servername/docs/documents it’s a little different than yours http://<Servername>/Docs/_layouts/Upload.aspx?List=%7B315C13A3%2D7902%2D41CD%2DADB1%2D79C3BF202760%7D&RootFolder=%2FDocs%2FDocuments&Source=http%3A%2F%2F<servername>%2FDocs%2FDocuments%2FForms%2FAllItems%2Easpx&MultipleUpload=1 So I modify the source on it be the root of the site collection as an example of where I want to end up http://<servername>/Docs/_layouts/Upload.aspx?List=%7B315C13A3%2D7902%2D41CD%2DADB1%2D79C3BF202760%7D&RootFolder=%2FDocs%2FDocuments&Source=http%3A%2F%2F<servername>%2FPages%2FDefault%2Easpx&MultipleUpload=1 In all three cases I end up at http://<servername>/pages/default.aspxFred Ellis - MSFT
Free Windows Admin Tool Kit Click here and download it now
July 20th, 2010 6:42pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics