my blog RSS 2.0
 Friday, April 02, 2004

I have been reading this article  Building XML Data-Driven Web Sites with FrontPage 2003

...and in the section on adding Data View Web Parts, it states that, when adding a connection to a SQL Stored Proc, or a Web Service:

"you can supply parameters at runtime. The Default Value combo box supplies several options, including [QueryString(arg)] and [Form(arg)]. Select [QueryString(arg)] if you will be supplying the parameter at runtime via a querystring item."

However, it wasn't made at all clear how you would do this in practice, I know what forms and querystrings are but at first I couldn't fathom how you are supposed to pass these parameters to the Web Part. Also, it is not clear whether you can use web part connections (i.e. a provider web part on the same page) to supply the parameter to the consumer web part at runtime. I would have thought this is the ideal way to use dataview web parts without needing to do any coding?... so I started to do some digging.

So then I have discovered 'Insert | Form | Form Web Part' in FrontPage which looked promising. I put one onto the page and made a web part connection to my dataview web part with the following settings

Source Web Part: Form Web Part
Source action: Provide Form Values To
Target Web Part: [my dataview web part]
Target action: Modify View Using Parameters From

...and it just works!

NB: After much tearing out of hair I also discovered this article, which states that you need to enable update support before you can used Stored Procs in FrontPage

Friday, April 02, 2004 8:31:00 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -
SharePoint

In reply to Tom Rizzo's post Bryant Likes questions why you would want to export a report to XML, and Tom provides a useful reply. I'd like to add how I found this feature useful too:

Lets say you have a report where, for the sake of readbility, you have indented some of the text, and you also have quite a bit of grouping going on. Lets also say you have a user who likes playing around with the data in Excel using pivot tables and all that kind of stuff, and to be honest, you would rather leave them to decide how they want to arrange the data rather than trying to get a fixed spec off them which might not then suit somone else's needs. If they export direct to Excel, they get the data arranged in the same grouping and indenting and they can't easily manipulate it. If however they are willing to do this in two steps (ok, you'll need to give them a bit of training) they can export to XML, then import in to Excel 2003 and they can pick and choose the fields they want to display, and where, because Excel can work out the schema all by itself (well, sometimes!).

Friday, April 02, 2004 3:40:00 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -
Reporting Services
 Thursday, April 01, 2004
DonXML has posted a great topic on putting your resumé (or CV for those of us in the UK) into XML format so that you can transform it into any look-and-feel you like (and export to PDF etc). I look forward to being able to post my CV direct onto my .Text blog!
Thursday, April 01, 2004 5:47:00 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -

Download SharePoint Add-ins here - thanks to Bryant Likes  for the pointer!

... I'll be sure to keep my eyes on these [link removed], in beta at present but seem to work fine. It's strange that they are in beta but they don't seem to want us to provide any feedback. Anyone else used them for anything interesting? Anyone seen anyone blogging on this topic? Any issues we should be aware of?...

Thursday, April 01, 2004 2:58:00 PM (GMT Standard Time, UTC+00:00)  #    Comments [1] -

I was just reading this excellent article. I tried it out - and it works well. It's a shame however that in the 'lookup' to another list, you cannot define a filter. I would like to use this for a fault-log application, but once an issue is closed it doesn't make sense to link a new task to a 'closed' issue, plus you don't want the drop-down list getting too long as issues build up...
Thursday, April 01, 2004 2:56:00 PM (GMT Standard Time, UTC+00:00)  #    Comments [2] -
SharePoint
Archive
<April 2004>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008
Rohan Cragg
Sign In
Statistics
Total Posts: 24
This Year: 0
This Month: 0
This Week: 0
Comments: 42
Themes
Pick a theme:
All Content © 2008, Rohan Cragg
DasBlog theme 'Business' created by Christoph De Baene (delarou)