I was looking for a connectable page viewer web part to provide more navigation possibilities in our WSS pages. I 've found an example on http://wss.sharepointtips.com/pages/Useful%20Documents.aspx. I believe it is written by Jim Duncan but does anyone know if he has released the code as an example?
Or does anyone know how to connect the page viewer web part to a 'links' list?
> I was looking for a connectable page viewer web part to provide more > navigation possibilities in our WSS pages. I 've found an example on > http://wss.sharepointtips.com/pages/Useful%20Documents.aspx. I > believe it is written by Jim Duncan but does anyone know if he has > released the code as an example?
> Or does anyone know how to connect the page viewer web part to a > 'links' list?
> I'll be at the West Coast in 2 weeks (TechEd) so I can track him down > and hunt for the connected page viewer if he doesn't answer by then. > ;)
> Bart Waeterschoot, Antwerp, Belgium
> On Fri, 14 May 2004 16:55:51 +0300, "Mike Walsh" > <englantilai...@hotmail.com> wrote:
> >I can confirm that it was written by Jim Duncan.
> >He'll probably be along when the West Coast wakes up.
> >(He and I call the site wss.collutions.com as below - it has many names :))
> >Mike Walsh, Helsinki, Finland > >WSS FAQ at wss.collutions.com > >Please post questions to the newsgroup only.
> >"Bart Waeterschoot" <b...@nospam.com> wrote in message > >news:2859a0lhl49bu10lrpdb8hos4q55ep5f66@4ax.com... > >> I was looking for a connectable page viewer web part to provide more > >> navigation possibilities in our WSS pages. I 've found an example on > >> http://wss.sharepointtips.com/pages/Useful%20Documents.aspx. I > >> believe it is written by Jim Duncan but does anyone know if he has > >> released the code as an example?
> >> Or does anyone know how to connect the page viewer web part to a > >> 'links' list?
I'm also pretty sure he's using the page viewer web part. I suppose he inherited from the page viewer web part class to add the url connection because it's not included in the default page viewer.
>> I'll be at the West Coast in 2 weeks (TechEd) so I can track him down >> and hunt for the connected page viewer if he doesn't answer by then. >> ;)
>> Bart Waeterschoot, Antwerp, Belgium
>> On Fri, 14 May 2004 16:55:51 +0300, "Mike Walsh" >> <englantilai...@hotmail.com> wrote:
>> >I can confirm that it was written by Jim Duncan.
>> >He'll probably be along when the West Coast wakes up.
>> >(He and I call the site wss.collutions.com as below - it has many names >:))
>> >Mike Walsh, Helsinki, Finland >> >WSS FAQ at wss.collutions.com >> >Please post questions to the newsgroup only.
>> >"Bart Waeterschoot" <b...@nospam.com> wrote in message >> >news:2859a0lhl49bu10lrpdb8hos4q55ep5f66@4ax.com... >> >> I was looking for a connectable page viewer web part to provide more >> >> navigation possibilities in our WSS pages. I 've found an example on >> >> http://wss.sharepointtips.com/pages/Useful%20Documents.aspx. I >> >> believe it is written by Jim Duncan but does anyone know if he has >> >> released the code as an example?
>> >> Or does anyone know how to connect the page viewer web part to a >> >> 'links' list?
Looking at the html source it is an iFrame inserted into a LVWP or DVWP. You add the list to the page twice. Create a connection between the parts then replace the code in the destination list with the iFrame and set the iFrame src={@FieldToUse} The problem I find with Web Parts is getting the height right so I just hard code the iFrame on the page and modify the Links list XSL in a DVWP to set the target to the name of the iFrame. See http://www.wssdemo.com/Pages/iFrame.aspx?menu=Demo's (the iFrame height resizes with the page) But I will build a demo of the top method after I get a few hours sleep... Regards, Ian
"Bart Waeterschoot" <b...@nospam.com> wrote in message
> I'm also pretty sure he's using the page viewer web part. I suppose > he inherited from the page viewer web part class to add the url > connection because it's not included in the default page viewer.
> Bart Waeterschoot, Antwerp, Belgium
> On Sat, 15 May 2004 08:33:49 +1200, "Ian Morrish" > <ian_morrish@hotmaildotcom> wrote:
> >I think it is just the Page Viewer Web Part. > >Regards, > >Ian > >http://www.wssdemo.com
> >> I'll be at the West Coast in 2 weeks (TechEd) so I can track him down > >> and hunt for the connected page viewer if he doesn't answer by then. > >> ;)
> >> Bart Waeterschoot, Antwerp, Belgium
> >> On Fri, 14 May 2004 16:55:51 +0300, "Mike Walsh" > >> <englantilai...@hotmail.com> wrote:
> >> >I can confirm that it was written by Jim Duncan.
> >> >He'll probably be along when the West Coast wakes up.
> >> >(He and I call the site wss.collutions.com as below - it has many names > >:))
> >> >Mike Walsh, Helsinki, Finland > >> >WSS FAQ at wss.collutions.com > >> >Please post questions to the newsgroup only.
> >> >"Bart Waeterschoot" <b...@nospam.com> wrote in message > >> >news:2859a0lhl49bu10lrpdb8hos4q55ep5f66@4ax.com... > >> >> I was looking for a connectable page viewer web part to provide more > >> >> navigation possibilities in our WSS pages. I 've found an example on > >> >> http://wss.sharepointtips.com/pages/Useful%20Documents.aspx. I > >> >> believe it is written by Jim Duncan but does anyone know if he has > >> >> released the code as an example?
> >> >> Or does anyone know how to connect the page viewer web part to a > >> >> 'links' list?
Thanks for the reply! This could also solve our problem. I've tried to inherit from the page viewer web part but it's sealed. I'll try your suggested solution and see how far I get.
<ian_morrish@hotmaildotcom> wrote: >Looking at the html source it is an iFrame inserted into a LVWP or DVWP. >You add the list to the page twice. Create a connection between the parts >then replace the code in the destination list with the iFrame and set the >iFrame src={@FieldToUse} >The problem I find with Web Parts is getting the height right so I just hard >code the iFrame on the page and modify the Links list XSL in a DVWP to set >the target to the name of the iFrame. >See http://www.wssdemo.com/Pages/iFrame.aspx?menu=Demo's (the iFrame height >resizes with the page) >But I will build a demo of the top method after I get a few hours sleep... >Regards, >Ian >"Bart Waeterschoot" <b...@nospam.com> wrote in message >news:tbsga05fnqvk162hthougvh13a717i5oba@4ax.com... >> I'm also pretty sure he's using the page viewer web part. I suppose >> he inherited from the page viewer web part class to add the url >> connection because it's not included in the default page viewer.
>> Bart Waeterschoot, Antwerp, Belgium
>> On Sat, 15 May 2004 08:33:49 +1200, "Ian Morrish" >> <ian_morrish@hotmaildotcom> wrote:
>> >I think it is just the Page Viewer Web Part. >> >Regards, >> >Ian >> >http://www.wssdemo.com
>> >> I'll be at the West Coast in 2 weeks (TechEd) so I can track him down >> >> and hunt for the connected page viewer if he doesn't answer by then. >> >> ;)
>> >> Bart Waeterschoot, Antwerp, Belgium
>> >> On Fri, 14 May 2004 16:55:51 +0300, "Mike Walsh" >> >> <englantilai...@hotmail.com> wrote:
>> >> >I can confirm that it was written by Jim Duncan.
>> >> >He'll probably be along when the West Coast wakes up.
>> >> >(He and I call the site wss.collutions.com as below - it has many >names >> >:))
>> >> >Mike Walsh, Helsinki, Finland >> >> >WSS FAQ at wss.collutions.com >> >> >Please post questions to the newsgroup only.
>> >> >"Bart Waeterschoot" <b...@nospam.com> wrote in message >> >> >news:2859a0lhl49bu10lrpdb8hos4q55ep5f66@4ax.com... >> >> >> I was looking for a connectable page viewer web part to provide more >> >> >> navigation possibilities in our WSS pages. I 've found an example >on >> >> >> http://wss.sharepointtips.com/pages/Useful%20Documents.aspx. I >> >> >> believe it is written by Jim Duncan but does anyone know if he has >> >> >> released the code as an example?
>> >> >> Or does anyone know how to connect the page viewer web part to a >> >> >> 'links' list?
Good news! I've written a custom page viewer web part which uses the iFrame tag. It implements the ICellConsumer interface to receive the URL from another web part. Tomorrow I'll check how I can resize the iFrame dynamically as you suggested. Then we can maybe post it on a website because I'm pretty sure other people want to use this instead of the regular page viewer.
Regards, Bart
On Mon, 17 May 2004 13:19:05 +0200, Bart Waeterschoot
<b...@nospam.com> wrote: >Thanks for the reply! This could also solve our problem. I've tried >to inherit from the page viewer web part but it's sealed. I'll try >your suggested solution and see how far I get.
>>Looking at the html source it is an iFrame inserted into a LVWP or DVWP. >>You add the list to the page twice. Create a connection between the parts >>then replace the code in the destination list with the iFrame and set the >>iFrame src={@FieldToUse} >>The problem I find with Web Parts is getting the height right so I just hard >>code the iFrame on the page and modify the Links list XSL in a DVWP to set >>the target to the name of the iFrame. >>See http://www.wssdemo.com/Pages/iFrame.aspx?menu=Demo's (the iFrame height >>resizes with the page) >>But I will build a demo of the top method after I get a few hours sleep... >>Regards, >>Ian >>"Bart Waeterschoot" <b...@nospam.com> wrote in message >>news:tbsga05fnqvk162hthougvh13a717i5oba@4ax.com... >>> I'm also pretty sure he's using the page viewer web part. I suppose >>> he inherited from the page viewer web part class to add the url >>> connection because it's not included in the default page viewer.
>>> Bart Waeterschoot, Antwerp, Belgium
>>> On Sat, 15 May 2004 08:33:49 +1200, "Ian Morrish" >>> <ian_morrish@hotmaildotcom> wrote:
>>> >I think it is just the Page Viewer Web Part. >>> >Regards, >>> >Ian >>> >http://www.wssdemo.com
>>> >> I'll be at the West Coast in 2 weeks (TechEd) so I can track him down >>> >> and hunt for the connected page viewer if he doesn't answer by then. >>> >> ;)
>>> >> Bart Waeterschoot, Antwerp, Belgium
>>> >> On Fri, 14 May 2004 16:55:51 +0300, "Mike Walsh" >>> >> <englantilai...@hotmail.com> wrote:
>>> >> >I can confirm that it was written by Jim Duncan.
>>> >> >He'll probably be along when the West Coast wakes up.
>>> >> >(He and I call the site wss.collutions.com as below - it has many >>names >>> >:))
>>> >> >Mike Walsh, Helsinki, Finland >>> >> >WSS FAQ at wss.collutions.com >>> >> >Please post questions to the newsgroup only.
>>> >> >"Bart Waeterschoot" <b...@nospam.com> wrote in message >>> >> >news:2859a0lhl49bu10lrpdb8hos4q55ep5f66@4ax.com... >>> >> >> I was looking for a connectable page viewer web part to provide more >>> >> >> navigation possibilities in our WSS pages. I 've found an example >>on >>> >> >> http://wss.sharepointtips.com/pages/Useful%20Documents.aspx. I >>> >> >> believe it is written by Jim Duncan but does anyone know if he has >>> >> >> released the code as an example?
>>> >> >> Or does anyone know how to connect the page viewer web part to a >>> >> >> 'links' list?
I would guess it might be a bit too complicated "programming" for section IV of the WSS FAQ site. Make it simple and I could give it space there or in "Tutorials" depending on size.
Ian's site ?
Mike Walsh, Helsinki, Finland
"Bart Waeterschoot" <b...@nospam.com> wrote in message
> Good news! I've written a custom page viewer web part which uses the > iFrame tag. It implements the ICellConsumer interface to receive the > URL from another web part. Tomorrow I'll check how I can resize the > iFrame dynamically as you suggested. Then we can maybe post it on a > website because I'm pretty sure other people want to use this instead > of the regular page viewer.
> Regards, > Bart
> On Mon, 17 May 2004 13:19:05 +0200, Bart Waeterschoot > <b...@nospam.com> wrote:
> >Thanks for the reply! This could also solve our problem. I've tried > >to inherit from the page viewer web part but it's sealed. I'll try > >your suggested solution and see how far I get.
> >>Looking at the html source it is an iFrame inserted into a LVWP or DVWP. > >>You add the list to the page twice. Create a connection between the parts > >>then replace the code in the destination list with the iFrame and set the > >>iFrame src={@FieldToUse} > >>The problem I find with Web Parts is getting the height right so I just hard > >>code the iFrame on the page and modify the Links list XSL in a DVWP to set > >>the target to the name of the iFrame. > >>See http://www.wssdemo.com/Pages/iFrame.aspx?menu=Demo's (the iFrame height > >>resizes with the page) > >>But I will build a demo of the top method after I get a few hours sleep... > >>Regards, > >>Ian > >>"Bart Waeterschoot" <b...@nospam.com> wrote in message > >>news:tbsga05fnqvk162hthougvh13a717i5oba@4ax.com... > >>> I'm also pretty sure he's using the page viewer web part. I suppose > >>> he inherited from the page viewer web part class to add the url > >>> connection because it's not included in the default page viewer.
> >>> Bart Waeterschoot, Antwerp, Belgium
> >>> On Sat, 15 May 2004 08:33:49 +1200, "Ian Morrish" > >>> <ian_morrish@hotmaildotcom> wrote:
> >>> >I think it is just the Page Viewer Web Part. > >>> >Regards, > >>> >Ian > >>> >http://www.wssdemo.com
> >>> >> I'll be at the West Coast in 2 weeks (TechEd) so I can track him down > >>> >> and hunt for the connected page viewer if he doesn't answer by then. > >>> >> ;)
> >>> >> Bart Waeterschoot, Antwerp, Belgium
> >>> >> On Fri, 14 May 2004 16:55:51 +0300, "Mike Walsh" > >>> >> <englantilai...@hotmail.com> wrote:
> >>> >> >I can confirm that it was written by Jim Duncan.
> >>> >> >He'll probably be along when the West Coast wakes up.
> >>> >> >(He and I call the site wss.collutions.com as below - it has many > >>names > >>> >:))
> >>> >> >Mike Walsh, Helsinki, Finland > >>> >> >WSS FAQ at wss.collutions.com > >>> >> >Please post questions to the newsgroup only.