Here's a place to ask your random questions about SharePoint...
Let's call it the SharePoint Question Bucket space.
To ask your question, click Add comment and ask away! No promises on whether we will answer or even that the answer will be remotely correct. It's worth a try and well worth the price.
Other resources for asking SharePoint questions include:
- MSDN SharePoint Forum - there are several SharePoint categories
- Stack Overflow - recommend you use the "sharepoint" tag

Comments (68)
Feb 04, 2009
Anonymous says:
We currently have several sub-sites within a site collection that need to be mov...We currently have several sub-sites within a site collection that need to be moved to other site collections. These sites have workflows that have been built in SharePoint Designer and some of the lists have custom event handlers. We would need those items (especially the workflows) to migrate as well. Is there a reliable way to perform this sort of move? I've tried with using stsadm export/import and I've loaded Gary Lapointe's stsadm extensions and tried those with little luck. Any advice or pointers would be greatly appreciated.
Feb 04, 2009
Kirk Liemohn says:
Hmmm. A site collection backup should get everything, but that has to be restor...Hmmm. A site collection backup should get everything, but that has to be restored to a clean/empty site collection which does not appear to be what you want. Gary LaPoint's STSADM Commands is a good place to look, but apparently that did not work out for you.
Have you looked into 3rd party tools? We have a few vendors listed on our Governance page that have some administrative tools. Maybe looking through their products would help...
Feb 05, 2009
Danny Ryan says:
Kirk - thanks for taking the time to respond. I appreciate you supporting this ...Kirk - thanks for taking the time to respond. I appreciate you supporting this idea.
Feb 06, 2009
Scott Price says:
Thanks for the response and the advice. I think the problems I'm encounter...Thanks for the response and the advice. I think the problems I'm encountering with the export/import may be a bug. I opened an incident with MS yesterday and we are currently working on it. I'll be sure to post the resolution to issue here in case someone else encounters the same thing. Thanks again for your willingness to help!
Feb 18, 2009
Scott Price says:
To summarize, the problem I encountered was with exporting a site via stsadm and...To summarize, the problem I encountered was with exporting a site via stsadm and importing it into a new site collection. The export worked fine, but the import produced the following error:
Progress: Importing File SYSCON Followup Reports/Forms/WebFldr.aspx.
FatalError: Value cannot be null.
Parameter name: g
at System.Guid..ctor(String g)
at Microsoft.SharePoint.Deployment.FieldTemplateSerializer.FixLookupFieldSchema(XmlNode fieldNode, Guid parentWebId, Guid fieldId)
at Microsoft.SharePoint.Deployment.FieldTemplateSerializer.CreateField (SPWebweb,SerializationInfoHelper infoHelper)
at Microsoft.SharePoint.Deployment.FieldTemplateSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType, Boolean isChildObject)
at Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type object Type, Boolean isChildObject, DeploymentObject envelope)
at Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream serializationStream)
at Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream serializationStream)
at Microsoft.SharePoint.Deployment.ImportObjectManager.ProcessObject(XmlReader xmlReader)
at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects()
at Microsoft.SharePoint.Deployment.SPImport.Run()
My initial thought was that a lookup field in the SYSCON Followup Reports document library created the problem. Just to test it, I removed the document library and tried the export/import again. The error occurred again for the item above the document library I removed. I continued to remove lists and the error continued to move up the list of items exported.
It turns out the problem is a bug that affects custom site columns. In my case there was a single site column that had been created and was associated with a custom content type. I removed the column from the content type, deleted the column, recreated the column, and added it back to the content type. I repeated the export/import and this time it completed successfully.
This is a known issue where the webID property is not set for a site column. You can use WFETCH to call the GetColumns method of the /_vti_bin/webs.asmx web service to see the column properties. Once the output is collected, you can search for "<Field List". This will take you to site column definitions. Each column should have should have a webid attribute. If one or more do not, that is the source of this problem.
Thanks for the willingness to help me with this problem. Hopefully, if anyone else encounters the same issue this post will be helpful.
Feb 18, 2009
Kirk Liemohn says:
Thanks for posting your findings, Scott! Good summary!Thanks for posting your findings, Scott! Good summary!
Feb 04, 2009
Matthew Chestnut says:
Multiple columns in "order by" clause does not work as expected For example, wh...Multiple columns in "order by" clause does not work as expected
For example, when using FullTextSqlQuery in MOSS 2007 (version 12.0.0.6332), the following SQL returns rows sorted by "Rank", but not by "Size":
SELECT Title, Rank, Size, Description, Write, Path FROM portal..scope() WHERE CONTAINS ('"microsoft"') ORDER BY "Rank" DESC, "Size" DESCIn the above example, all the "Rank" values are "1000", which is OK. However, the "Size" values vary, but are not appearing in descending order. Note: You may have to use a search term other than "microsoft" in your testing to get results.
The following works correctly:
... ORDER BY "Size" DESCThe columns used in the "Order By" do not seem to matter. Regardless of columns used, only the first column is respected.
This user has the same problem: http://stackoverflow.com/questions/91800/order-sharepoint-search-results-by-more-columns
Could someone help me confirm or deny this behavior? It is easy to run search queries against MOSS using either of the following tools (both of which I can use to duplicate the problem I'm seeing):
Feb 04, 2009
Kirk Liemohn says:
Hi Matthew. That smells like a bug. I've done both the keyword and SQL queries...Hi Matthew. That smells like a bug. I've done both the keyword and SQL queries, but haven't tried multiple columns in the ORDER BY clause.
Feb 05, 2009
Matthew Chestnut says:
Thank you for your response, Kirk. I'll keep digging and update this topic...Thank you for your response, Kirk. I'll keep digging and update this topic once I have more facts.
Feb 06, 2009
Kirk Liemohn says:
For what it's worth, I just looked at my copy of Inside the Index and Search Eng...For what it's worth, I just looked at my copy of Inside the Index and Search Engines: Microsoft® Office SharePoint® Server 2007 and all of its examples only have a single column in the ORDER BY clause with no indication that you can or cannot have multiple columns. If you have a copy of the book I'm referring to the examples on page 434 and the short ORDER BY Clause section starting on page 436.
Feb 07, 2009
Matthew Chestnut says:
I do have a copy of that book, Kirk, and will re-read that section. This MSDN p...I do have a copy of that book, Kirk, and will re-read that section.
This MSDN page ORDER BY Clause in Enterprise Search SQL Syntax does say that multiple columns are supported.
What I'm doing now (just for fun!) is installing a copy of Microsoft Search Server 2008 Express to see if I can duplicate the problem in that product, too. I've never installed or used that product, so I thought it would be a good exercise, especially since the search technology is shared with MOSS as of the Infrastructure Update.
Feb 09, 2009
Matthew Chestnut says:
I was able to duplicate the problems I'm having with Microsoft Search Sever 2008...I was able to duplicate the problems I'm having with Microsoft Search Sever 2008 Express SP1 (12.0.0.6219) and the December Cumulative Update (12.0.0.6335).
Feb 08, 2009
Eric Bowden says:
Experimenting with this some, I noticed that the Order By with more than one col...Experimenting with this some, I noticed that the Order By with more than one column functions correctly with a non full text predicate such as LIKE but does not work with the full text predicate such as CONTAINS. I know this doesn't help the case you are looking at Matthew, but it may be a clue to understanding the nature of the defect.
Feb 09, 2009
Matthew Chestnut says:
That is very interesting, Eric. I never thought about doing a test like th...That is very interesting, Eric. I never thought about doing a test like that since we do need the CONTAINS. Thanks for the input!
May 04, 2009
Matthew Chestnut says:
Microsoft just published (30-April-2009) a knowledge base article on this topic....Microsoft just published (30-April-2009) a knowledge base article on this topic.
"When using RANK in the ORDER BY clause of a SharePoint Search query, no other properties should be used"
Symptom: When using RANK in the ORDER BY clause of a SharePoint Search query only the first ORDER BY column is used in the results.
Cause: RANK is a special property that is ranked in the full text index and hence cannot be used with other managed properties.
http://support.microsoft.com/kb/970830
Feb 23, 2009
Tommy Ryan says:
Can you migrate the index for Search Server 2008 to Search in MOSS 2007 Standard...Can you migrate the index for Search Server 2008 to Search in MOSS 2007 Standard environment?
Feb 24, 2009
Matthew Chestnut says:
Tommy, To date, all I've done with Microsoft Search Server 2008 Express is inst...Tommy,
To date, all I've done with Microsoft Search Server 2008 Express is install it to test an "order by" issue I was having.
From all I've read, the search engines are identical between Search Server and MOSS with the Infrastructure Update. Search scopes, crawled properties, etc are all the same, but, I have not tried to copy the file system "index files" from one to the other.
Feb 24, 2009
Tommy Ryan says:
You think it might be easy as that, but I am assuming this is not a supported pa...You think it might be easy as that, but I am assuming this is not a supported path. Exchanged some email with Microsoft today and got the following advise:
Dec 22
Matthew Chestnut says:
This is an interesting article about what Data Protection Manager has to do to s...This is an interesting article about what Data Protection Manager has to do to succesfully backup the SSPs and full-text indexes.
DPM and SharePoint - Part 6 - What about Search?
Feb 24, 2009
Kirk Liemohn says:
Is there a way to prevent/disable web part personalization without having to mod...Is there a way to prevent/disable web part personalization without having to modify the masterpage? On How to: Disable Web Parts Personalization it indicates that you can change properties on the web part manager to do this, but this would appear to require a change to the masterpage.
Feb 24, 2009
Kirk Liemohn says:
With an extranet site we want to show a list of users in the site. These are fo...With an extranet site we want to show a list of users in the site. These are forms based authentication (FBA) users and we are using the Extranet Collaboration Manager (ExCM).
Ideally, this would look something like a contacts list. The OOTB contacts list requires you to hand enter the data (or perform some automation, I suppose). We looked at the SiteUsers web part which appears to sort of work, but it only shows the login name and nothing else (that we can see). We would like to show other properties from the user's profile (e.g., first name, last name, and email).
I wonder if I could use the DataView web part or something to get this data?
At Small Steps Computing I found a free webpart that may do what we want, but I haven't tried it yet.
Feb 24, 2009
Eric Bowden says:
Take a look at the User Information List. The User Information List is a h...Take a look at the User Information List. The User Information List is a hidden list in the root site of each site collection. This list is what is displayed when you go to Site Settings-People and Groups or navigate to <site>/_catalogs/users/simple.aspx. From the People and Groups view you can even access List Settings and add columns to this list.
The list being hidden seems to prevent it from being accessed with the Content Query web part. The DataView sounds like a good next step.
Feb 24, 2009
Kirk Liemohn says:
Awesome, Eric. Thanks! I had thought there was a hidden list and looked for it...Awesome, Eric. Thanks! I had thought there was a hidden list and looked for it but must have been looking in the wrong place. Dang thing was hidden better than I thought :-S. Thanks for the navigation link. It should be a big help.
Feb 24, 2009
Kirk Liemohn says:
Does anyone recall what the web.config change is to modify the cookie expiration...Does anyone recall what the web.config change is to modify the cookie expiration for Forms Based Authenticated (FBA) users? In my quick research it appears to be the following but I thought I would try to get verification before trying.
See also: ASP.Net Form Based Authentication
I don't think this is the session timeout as discussed in ASP.NET Session Timeouts, but am not certain.
Feb 24, 2009
Anonymous says:
Kirk, Yes, the "timeout" attribute is the one you need.Kirk,
Yes, the "timeout" attribute is the one you need.
Feb 24, 2009
Matthew Chestnut says:
Oops! I forgot to login before replying (and, I wanted to get *som...Oops! I forgot to login before replying (and, I wanted to get *some* credit for helping Kirk!)
Feb 24, 2009
Kirk Liemohn says:
Well, now, how am I supposed to know that the anonymous user was really you!? ...Well, now, how am I supposed to know that the anonymous user was really you!?
Kidding aside, thanks for the confirmation Matthew. We ended up trusting the anonymous response and implemented the change. We should know tomorrow if it worked.
Mar 01, 2009
Anonymous says:
How can I easily deploy a set of dependent lists from one environment to another...How can I easily deploy a set of dependent lists from one environment to another? The source site contains 4 lists which contain look-up columns to one another. I tried saving each list as a List Template and then deploying to the destination environment but the look-up columns always end up disconnected. Can this be accomplished without writing a feature to deploy the lists?
Thanks,
Gil
Mar 01, 2009
Eric Bowden says:
Hi Gil! I just so happened to have solved this problem last week. ...Hi Gil! I just so happened to have solved this problem last week. Use SharePoint Designer to create a "Personal Web Package". A Personal Web Package allows you to deploy lists, libraries, and web pages from one environment to another. To create one, use SharePoint Designer to connect to the site and then choose File-Export-Personal Web Package. The UI presented allows you to choose the lists from the site you need to deploy.
Note: The UI appears to automatically include dependent lists in some cases but does not seem to do so in all cases. You may need to manually select some dependent lists.
Next, use SharePoint Designer to open the destination site and choose File-Import-Personal Web Package. Works like a charm!
The only downside to this approach vs a List Template is you cannot include list content if needed. Hope that helps
Mar 02, 2009
Matthew Chestnut says:
Eric, Do the gl-exportlist / gl-importlist commands from Gary Lapointe's stsadm...Eric,
Do the gl-exportlist / gl-importlist commands from Gary Lapointe's stsadm.blogspot.com help out in getting the list content migrated between the two lists?
Mar 01, 2009
Danny Ryan says:
Forwarding from a colleague... "I am using the faceted search web part from Cod...Forwarding from a colleague...
"I am using the faceted search web part from CodePlex. Works great EXCEPT for one huge huge huge issue. It returns zero results when searching for multiple words or a phrase. For example, "contracts" returns tons of stuff and the facets appear properly. "product contracts" returns nothing, even though the search core results web part displays plenty of results. I'm in a bind because we are using this web part in a production launch and this bug was just uncovered. It seems like it would have to be some configuration thing, as I cannot believe it would be limited to a single word search."
Mar 02, 2009
Matthew Chestnut says:
Hmm...I'm not seeing that problem in my use of the faceted search web part versi...Hmm...I'm not seeing that problem in my use of the faceted search web part version 2.0 (yes, it is the older version and not the current version.) I can search for multiple terms and phrases. However a search in this format *does not* work for me: ["some phrase" other keywords] -- I get a "query is malformed error."
Mar 02, 2009
Kirk Liemohn says:
Hmm. I believe we have the latest version of faceted search which appears to be...Hmm. I believe we have the latest version of faceted search which appears to be v2.5 released July 2008. Unlike Matthew who has v2.0, I can do a search on ["kirk liemohn" test] and get back results and then drive into facets on those results just fine.
Danny, I recommend your colleague look in the SharePoint ULS logs (likely in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\LOGS).
I realize that the CodePlex faceted search functionality just amounts to some web parts, but those web parts perform queries on the query engine and maybe it is having some trouble. If you think this is a possibility, you could even go into Central Admin -> Operations -> Diagnostic Logging and change the least critical errors to either the event log and/or trace log (aka ULS log) to show more information temporarily for:
The idea here would be to see if there are any clues as to problems that are occurring.
Mar 04, 2009
Amir Khodaparast says:
Hi guys - long time no speak. Hope you're all well. I was hoping you could help ...Hi guys - long time no speak. Hope you're all well. I was hoping you could help me out a little bit with my newbie questions to MOSS admin. I have this running off a Win 2003 box in a workgroup environment. So to get a new user access to MOSS, I've added them to the Local Users list in Windows (rather than Active Directory). This works OK, but several features of MOSS are not useable as a result. For example, in MySites, you can't get Organizational Hierarchy, etc. I can live with that if I have to, but what really hurts is that there seems to be no way display the user's Full Name (on the My Home and My Profile screens) instead of their domain login (e.g. COPLEX01\kirk.liemohon instead of Kirk Liemohn).
I seem to recall a discussion about alternative directories to AD, so I was wondering if there was a directory source that you could recommend I use instead of Windows Workgroup's Local Users?
I guess my ideal solution would be if something like Windows Live IDs could be the source, but I'm thinking that's too ambitious. Perhaps a directory list in MS Outlook or Windows Contacts could do it? How about a MS SQL server or Access database?
Any helpful tips or step-guides would be very much appreciated.
With thanks in advance,
Amir
Mar 05, 2009
Kirk Liemohn says:
Hi Amir, In my experience I have only really spent time with either Active Dire...Hi Amir,
In my experience I have only really spent time with either Active Directory (AD) accounts or Forms Based Authentication (FBA) accounts.
With FBA accounts you can have profile properties that are used. I don't recall if anything other than "User Name" (basically login name) is shown at the top right of the page in SharePoint (default location - could change based on the masterpage), but the other profile properties can certainly be accessed.
With FBA you can use any source for your data, but out of the box ASP.NET v2.0 will give you access to a SQL database to store the users.
I hope this provides some help. I'm sure that anything could be done with a bit of effort, but assume you are looking for just doing some configuration. You may want to investigate FBA to see if that makes sense for you, but then you won't be using NTLM which may be a requirement.
Kirk
Mar 23, 2009
Amir Khodaparast says:
Hi Kirk, A belated thanks for this response. Sorry for the late reply - life j...Hi Kirk,
A belated thanks for this response. Sorry for the late reply - life just hit me with a few hard balls.
A few days after your reply, one of the MS ezines laned in my inbox with a video clip all about setting up FBA. I've not had time to review this yet, but I'll give it go ASAP. In case I can't get to do this any time soon, do you have any idea of how much work may be required on a simple one server install to get this functional and tested? Even ball park would be useful info.
Appreciate your time and help, as always.
Regards,
Amir
Mar 24, 2009
Kirk Liemohn says:
Hi Amir, We typically use FBA for our extranet projects. For us a simple extra...Hi Amir,
We typically use FBA for our extranet projects. For us a simple extranet install is a week long project. This includes standing up SharePoint, setting up FBA, the use of Extranet Collaboration Manager and some minor customization (probably no code), and testing the provisioning and invitation paths.
Just setting up FBA along with the standard "aspnet_regsql" FBA database could be measured in hours instead of days.
Apr 20, 2009
John Jordan says:
This is more a comment than a Question: I had some questions about the sizing of...This is more a comment than a Question: I had some questions about the sizing of the disks for the Index and query servers - I could find recommendations on the disk usage for the index server, and that you needed to allow for double the expected index size (for full-reindexes, when the initial index is kept while the new full index is built) - but I couldn't find anything that said if the Query server had that same double requirement.
So I setup a test of my own, and initiated a full reindex, and monitored free disk space on both the query and index servers.
What I saw was that the free space on the two servers moved along in unison - telling me that if I need double the index size on the index server, I'll need the same on the Query Server. I tried to attach a graph to this post but didn't have any luck..
PS: with my test data, I indexed 746 GB of files from our eRoom server - the SharePoint index size is less than 9 GB. I don't consider those numbers to budget by - just what I see in testing. Also, at least 80 GB of that data was images and .wmv files - which don't get indexed - there is probably lots more GB that aren't indexed also.
Apr 20, 2009
Tommy Ryan says:
Thanks for sharing John!Thanks for sharing John!
Apr 21, 2009
Kirk Liemohn says:
Great to have some actual data and not just some theory. Thanks, John! Here's...Great to have some actual data and not just some theory. Thanks, John!
Here's your image that you emailed me (click thumbnail for full view):
Apr 22, 2009
Nick DeAngelo says:
The people search feature on my Sharepoint site isn't working. When I put my na...The people search feature on my Sharepoint site isn't working. When I put my name in, I notice it converts it to something like LastName:deangelo - then comes back with zero results. I checked my SSP and I know it's set up correctly - and I know it's worked before - any ideas? thank you!
Apr 24, 2009
Eric Bowden says:
Hi Nick, I had a similar problem which was caused by MySites for users who had b...Hi Nick, I had a similar problem which was caused by MySites for users who had been deleted from AD.
Code in MySites attempts to access the MySite user's AD account upon access. In my case, the user no longer existed in AD. This caused an error and the asp.net worker process to recycle upon user access. The asp.net worker process would recycle if a user attempted to access the MySite and when the search crawler attempted to access it resulting in a stale index. If this is occurring in your case you should see evidence of the asp.net worker process recycle in the event log of the front end web server. You should also see something about it in the SharePoint logs.
To resolve this, I had to identify and then delete the invalid MySite site collections.
The root of the problem was an invalid user profile import connection. The user profile import should periodically run and delete user profiles which do not exist in AD. There are some rules around this - I believe it will delete user profiles if they have not been found in AD after two consequitive profile imports. In my case, the import profile connection string was invalid and resulted in an error which appeared in the SharePoint log. The MySite Cleanup job is ultimately responsible for deleting MySites for users who are no longer in the user profile database.
Check the application event log and SharePoint logs under the 12 hive to see if there are more details.
Apr 27, 2009
Kirk Liemohn says:
Wow, Eric. You are a wealth of knowledge!Wow, Eric. You are a wealth of knowledge!
May 27, 2009
Anonymous says:
Hi, I have issue with in...Hi,
I have issue with infopath initiation form in workflow, the form shows as closed when i try to add work flow to the document library. I have checked the urn of the form, comapred with form properties in central admin site it is same. status of work is ready and workflow enabled = yes in manage form templates. i have verified the form template using stsadm.exe -o verifyformtemplate and gives 0 error and 2 warnings. I have checked the publishing form for browser enabled.
Can any one please help with this issue, i have been stuck with this for sever weeks now.
Thanks
Veena
Aug 24, 2009
Anonymous says:
Hi Guys. We are building a centralized forms repository for our general co...Hi Guys. We are building a centralized forms repository for our general corporate forms based on InfoPath and Forms Services. I have run into a somewhat surprising limitation of InfoPath 2007...the ability to create a multi-select field. I have seen a workaround on the web where someone created a bunch of checkbox fields and tried to line up labels to make it appear like the real thing. I'm hoping there's a more elegant approach. I'd like to take advantage of InfoPath, but we have multiple selection fields in dozens of forms. Thoughts?
Thanks
Aug 24, 2009
Kirk Liemohn says:
I have created tables in InfoPath that have a set number of rows with default va...I have created tables in InfoPath that have a set number of rows with default values for each row (a row header if you will). Then subsequent columns can contain the user value.
If you think this might help, here are the steps... Open the tool in design mode and make sure you add a table if you have not. Choose Tools->Default Values from the menu bar. Then navigate in your data source that maps to the table. You can edit the default value for each row there. Close the dialog then right click on the associated repeating table and choose Repeating Table Properties. From there you can uncheck the box that allows users to insert and delete rows.
Let us know if this helps.
Sep 03, 2009
Anonymous says:
Deferring to the masters My SPD client is so slow at times, especially when tr...Deferring to the masters
My SPD client is so slow at times, especially when trying to create advanced stuff like web service connections and linked data sources with a data form web part. A friend of mine found a reference to the Microsoft.SharePoint.WebPartPages.DataFormWebPart assembly, which I found can be used to create a customized data form web part from Visual Studio 2008. Since that gets me out of SPD and gives me more control, I'm thinking "Great!" However, there is little information out there on how to make it work. At this point I want to just start out with basic plumbing, then build upon it once I understand the necessary pieces. So right now I just want to take two separate lists and merge their content and bind to the web part. Do you guys have any examples of doing this or have any references on the web that I have overlooked? I'm a huge fan of the DFWP because it has so much OOTB, like filters, sorting, grouping, etc...plus I am a fan of extending SharePoint and not recreating the wheel.
Thanks!
Sep 04, 2009
Kirk Liemohn says:
You can definitely code web parts that inherit from other web parts (if they are...You can definitely code web parts that inherit from other web parts (if they are not sealed). I have not personally done this with the Data Form Web Part, but will defer to others at ThreeWill who have worked with the DFWP a lot more than I have.
Sep 09, 2009
Eric Bowden says:
Hi, The data form web part is awesome! (this goes without saying, but I wanted ...Hi,
The data form web part is awesome! (this goes without saying, but I wanted to say it) But, unfortunately it is coupled with SPD which can often times be counterproductive by doing things like operating slowly or crashing. I have found the following to help improve productivity when working with the data form web part in SPD:
Do not run SPD on the SharePoint server as you might be tempted to do in a development scenario
Keep your eye on the hour glass and don't try to do anythign in SPD while SPD is "processing" even though it will allow you to do so
Save often. SPD appears to get confused in some cases when working with an in memory version of a document.
I tend to work with my data form web part in "code view" only and avoid the designer (brush up on your XSL :o). This helps me easily obtain the result I'm after without the overhead of the designer tool.
I have also found it useful to derive from WebPartPage and then change the aspx on which the data form web part is being designed to use the new codebehind. One example is I coded the code behind to optionally render the page to PDF (using the Expert PDF component). You can also use this code behind to modify the dataform web part or respond to dfwp event and other utility as needed.
The data form web part OOTB supports joining datasources. I suspect you already know that but thought I'd mention for completeness. If I remember right, the join operation it performs is a bit inefficient; I think it selects out the complete contents of the second list and then uses XSL to join it back to the first by some key. But, I've used this on lists of around 200 rows without any noticable performance impact.
Well, ok then, finally to the real question. I did derive from the dfwp once as an experiment, but I do not recommend it unless there is no other way to achieve the result you are after. You can use Lutz reflector to see the workings of the data form web part, but that's the best I've as for documentation (I know its "Redgate" now, but it'll always be Lutz's to me).
Sep 22
Anonymous says:
Hey ThreeWill Team! Question for you if you have a minute please. ...Hey ThreeWill Team! Question for you if you have a minute please. I am building a custom search web part that is specific to a certain site. I'm using an ASP.NET user control and hosting it within the SmartPart web part from CodePlex. My mockup user control loaded up fine so far. I'm curious if you know of a way to wire my search to the standard core search results web part? I'd like to use my user control web part for the search criteria and execution, but have the results display in the standard results interface. Is that possible? If it's not easy, I can just return everything to an SPGridView...I was just hoping to reduce my cycle time by using some OOTB stuff for the results. Thoughts?
Sep 22
Kirk Liemohn says:
Is your web part trying to initiate a search (e.g., a search box) or show search...Is your web part trying to initiate a search (e.g., a search box) or show search results?
If you are just initiating the search, your web part could redirect to the search results page with the appropriate query string parameter values. Your web part would need to know where the search results page is and what the query string parameter name/value pairs are. The core search results web part will pay attention to the query string values. If you are using MOSS you could put that web part on any page of your choosing.
If you are showing search results, then I don't think you'll be able to piggyback off of the core search results web part and you will probably need to initiate the query in code using a KeywordQuery or FullTextSQLQuery. A question might be why not use the core search results web part directly instead?
Sep 22
Anonymous says:
Thanks for the quick reply, Kirk. Actually, your last sentence is what I w...Thanks for the quick reply, Kirk. Actually, your last sentence is what I was trying to ask
. The objective is to create an advanced search web part with logic that is specific to the site, colums, data, etc. of the site collection and subsites...and once the search is executed have the results display in the standard format. So I was hoping to just load the OOTB search core results web part below my custom web part and let it do it's thing. So from what you are saying, I'd have to build the query string parameters (scope, managed properties, search string) in my code? Then do maybe a Response.Redirect or something to load the URL so that the core results web part can read from it?
Sep 28
Kirk Liemohn says:
That would probably work, but might be pretty ugly. Poke around and see if the ...That would probably work, but might be pretty ugly. Poke around and see if the Core Search Results web part lets you use web part connections to set the query. If that is possible, then you have a good path forward.
Sep 24
John Jordan says:
Regarding crawling Confluence content: (Kirk this might be for you) We have a c...Regarding crawling Confluence content: (Kirk this might be for you)
We have a confluence wiki site with anonymous access enabled - but when I add it as a content source and try to crawl it it fails telling me
"The specified address was excluded from the index. The crawl rules may have to be modified to include this address. (The item was deleted because it was either not found or the crawler was denied access to it.)"
(and of course, I'm not excluding it with a crawl rule, and there is no robots.txt file on the site)
I've seen the confluence connector for sharepoint, but do I really have to have that just to crawl a wiki that has anonymous access enabled? Am I missing something simple here?
Thanks.
-John
Sep 28
Kirk Liemohn says:
Hi John, Sorry for the delayed response. The primary benefit the SharePoint Co...Hi John,
Sorry for the delayed response. The primary benefit the SharePoint Connector for Confluence code gives you regarding searching Confluence is that it security trims results. Since Confluence is wide open in your case, this probably wouldn't help much.
Setting up the web site searches is a little tricky sometimes, though. Take a look at Fine Tuning Crawl Configuration for some tips.
Sep 29
John Jordan says:
Kirk: thanks for the reply - not delayed at all. That post helped me out, and I...Kirk: thanks for the reply - not delayed at all. That post helped me out, and I was able to index our Confluence Wiki. Thanks much!
Oct 22
Anonymous says:
I am just trying to find information. I am stuck on a moss project...access den...I am just trying to find information. I am stuck on a moss project...access denied to the central admin. I have looked everywhere on how to best approach this and no luck. All accounts are there and set up properly. Can I rerun the config technologies wizard without wiping out the other sites?
Nov 05
Kirk Liemohn says:
Not much to go on, but I'll throw out a few things to look at... As you probabl...Not much to go on, but I'll throw out a few things to look at...
As you probably know, Central Administration is its own IIS website (its own port). There could be a few things to check here:
Regarding the SharePoint Products and Technologies Configuration Wizard, I would not expect it to wipe out sites, but I don't want to make an guarantees either.
Nov 04
Nick DeAngelo says:
We have added an additional web front end to our farm - of course, out of the bo...We have added an additional web front end to our farm - of course, out of the box, this gives very little redundancy - so we now want to add NLB to the mix as well. Our first attempt in a test environment worked fair - only a few things didn't work - when we moved it to production, however, both web servers quit working and we ended up backing out of it. Is there a checklist to make this work? We have several lists and doc libraries we email to in SP - these have the primary web server's name embedded in the email address - how do you get around this? Would I be better off having you guys come out and take a look at what we're doing and advise on how to move forward? Thank you.
Nov 04
Danny Ryan says:
Nick - let's talk tomorrow about this. I'll follow up with an email.Nick - let's talk tomorrow about this. I'll follow up with an email.
Nov 20
Anonymous says:
We have multiple folders for job openings in our company. Each folder has a diff...We have multiple folders for job openings in our company. Each folder has a different manager that has access to view.(I have access to all of them) Whenever a person applies, we open that folder and upload these applications to that folder. Some people apply for multiple positions. So, my question is... When I do a search for 'jane doe' and she has applied for 7 different positions, her name comes up 7 times. On that page, is there a way to add the comment area and the name of the folder that person is in? Hope you can understand that.
Thanks
Nov 21
Kirk Liemohn says:
By "on that page", I assume you mean on your search results page. If you are us...By "on that page", I assume you mean on your search results page.
If you are using WSS, I believe you are out of luck unless you want to do some custom work (i.e., a custom web part). If you are using MOSS, you might have some options...
In MOSS you can edit the properties on the Core Search Results web part on the search results page to include additional properties (see http://msdn.microsoft.com/en-us/library/ms560074.aspx). I believe these have to be Managed properties. I'm not sure how well the Folder property will work for you, but it might work well.
Nov 23
Anonymous says:
Our external clients get logged out after 20min and I can not figure out where t...Our external clients get logged out after 20min and I can not figure out where this timeout setting comes from. This is a MOSS2007 web application extended with dual authentication (FBA using ADAM/ECTS for external clients, and AD for internal users). This is what I looked into so far:
- Central Admin - session enabled, set to 60 min
- Central Admin - web app settings -Web Page Security Validation - 60min
- IIS session timeout 60min
- webconfig: <sessionState mode="SQLServer" timeout="60" allowCustomSqlDatabase="true" ..... >
- ISA - no timeout set , because we dont use preauthentication for FBA users, the FBA users authenticate on the sharepoint server
Does anyone know what setting can kick the FBA users out after 20min of inactivity?
Nov 23
Matthew Chestnut says:
Have you taken a look at the "timeout" parameter for <authentication mode="Fo...Have you taken a look at the "timeout" parameter for <authentication mode="Forms"> in the web.config?
For example:
Nov 25
Anonymous says:
No timeout or slidingExpiration : <authentication mode="Forms"> &nb...No timeout or slidingExpiration :
<authentication mode="Forms">
<forms loginUrl="/_layouts/ExternalCollaboration/login.aspx" />
</authentication>
Nov 25
Matthew Chestnut says:
You should specify a value for "timeout", in minutes. The default is 30 (not su...You should specify a value for "timeout", in minutes. The default is 30 (not sure why you're seeing a 20 minute timeout.)
See: http://weblogs.asp.net/scottgu/archive/2005/11/08/430011.aspx
Nov 25
Anonymous says:
Thank you. I did that right after I read your first reply and it didn't cha...Thank you. I did that right after I read your first reply and it didn't change anything, the session still expires at 20min of idle. Somewhere else something overwrites all the 60min settings and I am not sure what makes the timout 20min.
Nov 25
Matthew Chestnut says:
Keep in mind there is a web.config for each web application and extended web app...Keep in mind there is a web.config for each web application and extended web application, but I guess in your situation only one is using Forms authentication.
In the past I've used global.asax and the Session_End event to help debug these issues.
Also, don't get confused by "authentication timeout" and "session timeout", as they can interact with each other.
"Troubleshoot Forms Authentication", http://support.microsoft.com/kb/910439
Add Comment