|
Navigation
Categories
Entries by Month
| October, 2008 (1) |
| September, 2008 (1) |
| July, 2008 (4) |
| June, 2008 (6) |
| May, 2008 (2) |
| March, 2008 (5) |
| December, 2007 (1) |
| October, 2007 (1) |
| September, 2007 (2) |
| May, 2007 (1) |
| April, 2007 (5) |
| October, 2006 (1) |
| July, 2006 (2) |
| June, 2006 (6) |
| January, 2006 (2) |
| December, 2005 (6) |
| November, 2005 (9) |
| October, 2005 (9) |
| September, 2005 (3) |
| August, 2005 (11) |
| July, 2005 (20) |
| June, 2005 (3) |
| May, 2005 (5) |
| April, 2005 (5) |
| March, 2005 (5) |
| February, 2005 (5) |
| January, 2005 (13) |
| December, 2004 (10) |
| November, 2004 (6) |
| October, 2004 (2) |
| September, 2004 (7) |
| August, 2004 (8) |
| July, 2004 (8) |
| June, 2004 (4) |
| May, 2004 (13) |
| April, 2004 (14) |
| March, 2004 (33) |
| February, 2004 (1) |
| May, 2003 (6) |
| April, 2003 (5) |
| March, 2003 (4) |
| February, 2003 (1) |
| January, 2003 (6) |
|
|
|
 Wednesday, May 05, 2004
I need to bind a dropdown list control to some data from an XML document. Initially, I tried to specify the DataSource as a node list and the DataText & DataValue properties to “@attribute_name”. No luck.
Thanks to the internet, I found the ASP.NET DropDownList XML Binder Class from the XML for ASP.Net site. This class is written to read an XML file from the specified path and create the ListItems that are added to the control. It's not databinding in the same sense as ASP.Net, but it works!
The class uses an XMLTextReader. Since I already have a document, I can use the XMLNodeReader and I'm done.
 Thursday, April 29, 2004
I was in the middle of answering a question on the message board at SharePointU and I thought it would make a good blog entry.
The WSS framework provides a mechanism (called tokens) to uniquely identify the HTML DOM elements of each part. When writing client-side script in a web part, you can use the token _WPQ_ to refer to the current web part. The poster in the forums is using the token to reference the WebPartCaption element:
var wpc = WebPartCaption_WPQ_;
However, this is not working because the _WPQ_ token has been changed by WSS. Looking at the page source in IE will show WPQ1, WPQ2, etc. To get the script to work, we need to use the ReplaceTokens method of the WebPart object.
ReplaceTokens takes a string as input and returns the same string with all of the WebPart tokens converted in to their appropriate values. A list of the available tokens is included in the SDK page on ReplaceTokens().
I also posted a sample.
 Sunday, April 25, 2004
FrontPoint is a blog written by folks from the dev/pm/test teams who create FrontPage.
 Wednesday, April 21, 2004
 Monday, April 19, 2004
We are live with our WSS site. The cut-over actually happened Thursday of last week. On Friday, the network team worked on the latest patches, so having multiple machines was very nice.
On the to-do list now is migrating legacy content into the WSS lists. The ultimate goal is to have our content in the search results, but keep our existing user interface. I've written a console program to syncronize a list (and other list activities like viewing the schema and contents). I'll try to post the concepts later this week.
 Thursday, April 15, 2004
 Tuesday, April 13, 2004
I have a few overview/training sessions coming up, so why not use the WebPart user interface look for the slides. Download the WebPart-inspired PowerPoint template (created in PP 2003). SharePoint.pot (35 KB)
 Monday, April 12, 2004
A few items about searching with WSS (not Portal) that are worth remembering:
- SQL Server is required. WMSDE does not support search.
- To search non-office file types, an IFilter must be installed on the SQL Server machine.
- Acrobat IFilter: http://www.adobe.com/support/downloads/detail.jsp?ftpID=1276
- If you already have Acrobat files in the system, you need to rebuild the full-text index. In SQL Enterprise Manager, expand the content database. In the Full-Text Catalogs node, right-click on the catalog (ix_databasename) and choose Start Full Population.
- Configuring WSS to display Acrobat (and other) icons in search result: KB 832809
 Sunday, April 11, 2004
I was refering to the production server via two different names (//MachineName and //portal.company.net). The web-service based operations (FrontPage, WPSC) would not work.
I found a few different KBase articles that lead me to an answer. 830342 discusses adjusting the virtual server to match the host header name. 832816 discusses the inability of WSS to find a server instance.
In IIS Admin, I added portal.company.net to the Web Site Idenfication for the Virtual Server:
- Right-click on virtual server (i.e. Default Web Site) and choose Properties - On the Web Site tab, click Advanced - In the "Multiple identies for this Web site" section, Click Add - For IP address, choose the same setting as the existing entry - For TCP port, choose the same setting as the existing entry - For Host Header value, enter [portal.company.net]
|
|
Search

Further Reading...
Powered by: newtelligence dasBlog 2.2.8279.16125
The opinions expressed herein are my own personal opinions and do
not represent my employer's view in anyway.
© Copyright 2009, Paul Schaeflein
E-mail
|