Re: Web Part Connection w/ DocLib?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Mike Walsh [MVP] (englantilainen_at_hotmail.com)
Date: 04/13/04


Date: Tue, 13 Apr 2004 07:55:34 +0300


> I don't think you completely understand his scenario,

that doesn't surprise me a bit (I indicated as much in my messages)

you are "allowed" to jump in whenever you want, please do.

I'm quite used to being corrected around here :)

Thanks for posting detailed instructions. I'll try them myself and maybe
just maybe I'll understand the question next time it comes.

Mike Walsh, Helsinki, Finland

"John Jansen (MSFT)" <johnjan@online.microsoft.com> wrote in message
news:OgeKMIOIEHA.3248@TK2MSFTNGP12.phx.gbl...
> Sorry Mike, I'm jumping in again.
>
> I don't think you completely understand his scenario, but since it was a
key
> scenario for FrontPage, I guess I'll try to help out. I thought this was
a
> KB article, in fact, I thought I wrote it, but I can't find it right now
so
> I'll check on its status.
>
> Dave,
>
> 1. Open your site in FrontPage
> 2. For simplicity, create a new page
> 3. Drag the Document Library folder from the Folder list onto this page
> (this should create a Data View of the Doc Lib)
> 4. Drag any one of the XML files onto the page below this View (should
> create a data view of the XML file - you can add and remove and format
this
> view anyway you like)
> 5. Right click the first Data View and choose "Web Part Connections"
> 6. Provide Data To
> 7. Web Part on this Page
> 8. Modify View Using Parameters (NOT FILTER, MODIFY)
> 9. Map the "Name for use in Forms" field to the "Input File" field (this
> will make it so that the XML file used as the input to your XSLT will
change
> when you click to fire the connection)
> 10. Finish the connection creating a hyperlink on one of your fields
> 11. Save and preview in browser
>
> When you click each link you created in the connection wizard, the XML
from
> that file should show up in the second Data View you created.
>
>
> --
> Thanks!
> John Jansen
> Microsoft Office FrontPage
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> "Mike Walsh [MVP]" <englantilainen@mvps.org> wrote in message
> news:uWoe%23AmHEHA.308@tk2msftngp13.phx.gbl...
> > I'm still not sure if we're talking about the same thing but I'll answer
> > the
> > question anyway.
> >
> > You click the right top side of the (custom list) web part and select
from
> > the options Connections, then one of the choices is "provide row to" and
> > you
> > select the doc lib web part. The it throws up which field in the custom
> > list
> > web part (you pick one from the drop-down) then the same for the doc lib
> > web
> > part - select one there and Finish. That's got the connection setup.
> >
> > Now these connections work when there are suitable fields in both parts
> > (but
> > not I've discovered with the Office web parts, those only seem to work
> > with
> > each other) but with info coming from a database (grabbed with FP 2003
> > Data
> > View) it's fine (and that as John Jansen recently told my is XSLT) so
I'm
> > hoping it works with the kind of web part you have in mind. I took the
> > example of a local (custom list) web part and a doc lib web part because
> > it's easier to explain / always works and you said you had a doc lib to
> > play
> > with.
> >
> >
> > Mike Walsh, Helsinki, Finland
> >
> > "dave" <dsloat@mathsoft.com> wrote in message
> > news:6c459720.0404091007.4876e4ef@posting.google.com...
> >> Thanks for your help. I don't follow step 4. How do I "amend the
> >> custom list web part so that it connects to the doc lib web part
> >> specifying the common field - first in the custom list web part then
> >> in the doc lib web part"? Is this done through "modify shared web
> >> part"?
> >>
> >> Let me try to explain what I'm trying to accomplish more clearly. I'd
> >> like to have a page with a document library (containing xml files),
> >> and an XML webpart (or something like it). When a user clicks on a
> >> file in the document library I would like to be able to apply an XSLT
> >> transform to the file and display the results in the other webpart.
> >>
> >>
> >> "Mike Walsh [MVP]" <englantilainen@mvps.org> wrote in message
> > news:<ukCFN4jHEHA.2668@TK2MSFTNGP10.phx.gbl>...
> >> > This shouldn't be a problem. Always assuming I understand the problem
> >> > correctly.
> >> >
> >> > 1. You have your existing document library. It has fields from which
> >> > you
> >> > select one as your selection criteria.
> >> >
> >> > 2. You create a custom list containing a field of the same type as
that
> >> > field from 1. and containing the possible values of that field in 1.
> >> >
> >> > 3. You create a web page and drag both web parts (the web part of the
> > doc
> >> > lib and the web part of the custom list) onto your page.
> >> >
> >> > 4. You set up the doc lib web part to be in the view you want to use
> > here.
> >> > You then amend the custom list web part so that it connects to the
doc
> > lib
> >> > web part specifying the common field - first in the custom list web
> >> > part
> >> > then in the doc lib web part.
> >> >
> >> > Now you have radio buttons for your custom list selections. Choose
one
> > and
> >> > you get your selection from the doc lib web part.
> >> >
> >> > Normal stuff, so what did you really mean ??
> >> >
> >> > Mike Walsh, Helsinki, Finland
> >> > WSS FAQ at wss.collutions.com
> >> > Please reply to the newsgroup
> >> >
> >> > "dave" <dsloat@mathsoft.com> wrote in message
> >> > news:6c459720.0404090603.32fbdded@posting.google.com...
> >> > > I would like to create a web part that displays a summary view of
> >> > > certain documents stored in a standard document library. Ideally
> >> > > this
> >> > > web part could be included on the same page as the document library
> >> > > such that selecting a file in the document library would load the
> >> > > summary view for that file in the web part.
> >> > >
> >> > > Is there a way I could define a view in the document library such
> >> > > that
> >> > > there would be some field that could act as a link to the other web
> >> > > part? Any other ways to get the document library to communicate
with
> >> > > another web part?
> >
> >
>
>



Relevant Pages

  • Re: RDP & Port Forwarding
    ... Scenario 2: Using Remote Desktop outside your network ... you have a persistent high-speed connection --if you only ... This is the port that Remote Desktop uses by default, ...
    (microsoft.public.windowsxp.general)
  • Re: Remobjects, good in multi-threading environment?
    ... the connection is interrupted regularly. ... This can certainly be handled by the WIB. ... require a response back. ... Hence your worst case scenario would still work and we would be able to ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: ADO - Bad when it is time to Optimize
    ... They were using ADO 2.5 and the MSOracle provider (and Oracle ... ActiveConnection was 'nothing', but the connection was still out there. ... Which leads to another interesting point. ... scenario - the data access version, the provider/driver, the ...
    (microsoft.public.data.ado)
  • rda pull error
    ... i can pull some of the tables individually no problem but, ... connection is reqd..... ... can repeat the scenario again. ... put the pc back on the internal network and all the problems go away. ...
    (microsoft.public.sqlserver.ce)