简体   繁体   中英

Sharepoint - create blank page with only webpart

A client has asked that I create a series of filters on a list, with some heavily customised output. To get the output correct I'll need to style a content query webpart using XSL - which is fine, that's pretty simple.

However, my main problem is how to apply multiple filters to the webpart. I don't know how to have one webpart insert parameters into a content query webpart, so my solution was to use Ajax to load seperate pages (containing webparts) into the page.

So... unless this is all crazy and a bad idea, how can I create a .asp page which has absolutely NOTHING except a single webpart which I can preconfigure and then hard code into the .asp page?

I'm not a .asp man, in fact I'm only really doing this as a favour, so please don't respond saying that I need to do xyz in SharePoint Designer (to which I don't have access) or build a custom module from scratch. :)

Any ideas?

Since you are specific about not wanting a SharePoint Designer solution, I will give you one using 'Tommy'

In 'Tommy':
File => New => ASPX Page
Insert => SharePoint Controls => WebPartZone

Go in the browser, http://server/mycustompage.aspx Edit, insert your WebPart.

'Tommy' is a free download, by the way, get it here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM