I wrote about this a year ago, and included screenshots of how to do it :
www.sharepoint-tips.com/.../found-it-how-to-add-properties-to.html
I don't understand the other problem you are describing. A reset is almost never required (only if you have corruption)
Ishai,
This post was meant to be an end-to-end how to, but I agree that from step 4 onwards the process is identical, and I'm going to add a link at that point to your post if that's ok?!
In regard to the reset, I don't know WHY it happened, I'm just reporting that it DID happen! I agree that it should never be required - especially in a large deployment, but I have seen it several times since RTM. I am definitely trying to determine if there is a pattern...
Doesn't a MacBook Pro have a maximum of 3GB ?
(I have a MacBook with 2GB and I'm running WSS 3.0 under Parallels which is more convenient than using Bootcamp as I can test browser capability from the Mac (Safari; Firefox) which provides additional useful information on the restrictions.)
Mike Walsh
Mike,
The previous versions had a max of 3GB, the new ones support up to 4GB.
I have installed the trial of Parallels just to see how it feels, but I hadn't thought of that added benefit.
To be completely honest, I'm really using bootcamp so I can play 3D windows games on it. ;-) I expect that I could do so under Parallels too, but haven't tried...
Parallels is working well for me and is well worth the money even though I am p***sed that a US company insists on me buying it through sites that charge me either German or US VAT. Both at least let me choose if I wanted the credit charge to be in dollars or Euros (etc.) which means a small saving when saying dollars ...
I have Win 2003 Server running WSS 3.0 on one VM and Win Server 2008 where I'm just installing its built-in WSS 3.0 on another VM.
Both are now using networking so I can get at them from my Vista portable (Office 2007) or my XPPro desktop (Office 2003) but during the week I switched the networking (easily) to local only so I could just take the Mac with me and still access that copy of WSS 3.0 (without needing to take my home router and wireless router with me ...)
Mike
Aaron, thanks for the FYI on the 3GB limitation on the Windows Vista side. I have the exact same configuration you do, with the new high res screen and was wondering why I couldn't see the extra RAM.
Hi,
I have been trying to setup a NLB environment using sharepoint 2007. What i observed is that the web application configurations are replicated to all the servers in the farm only if you extend it using the central administration website. If i use APIs to create/extend a sharepoint webapplication, the configurations do not get replicated on the other server in the farm. Any idea on this problem?
How did you do it?
I am not aware how sharepoint can be load balanced but yes, if any needs more info on WLBS (Windows NLB then they can visit my URL. It has comprehensive information on NLB. I am sure you'll like the way others have.
Monica, I'm not sure I can help with your issue. Is the problem that particular settings in IIS are not replicated, or that web.config settings are not. I believe you can send web.config details as part of the extend process using the API, but this may not be what you are after!
I created a webpart which renders controls for the UI based on XML configuration. The users selections generate a query string and then it uses the MOSS query object model to execute the query and return the results.
Makes a lot of sense to me!
And if you're looking for a great way to search for SharePoint content, go to http://SharepointSearch.info, which uses GSE to index a whole host of SharePoint related blogs and sites (including this blog, as well as SharePointSearch.com)
Thanks Aaron!!.
This site is constantly evolving. The solution builder is still in development but when released members will be able to check off their LOB apps and and in one step generate an RFP across all the necessary vendors!!
We are very interested in signing up experts in the community to participate in the site and help us develop useful content.
-Christopher
I also tried to make custom search.
I used CAML for creating query.
Did you used same query object or it is better to use SQL query directly?
A long time ago I said "One day I'd like to automate the generation of the DDF file, perhaps
Thanks Aaron...
Pingback from SharePoint 2007 link love 08-30-2007 at Virtual Generations
Pingback from Blogger Loser » Blog Archive » Auto-create DDF for SharePoint Solutions
Aaron -
Just posted a new version of the app that creates the manifest...
-Rich
feeds.feedburner.com/.../CreateDDFWSPToolNowWithManifest.aspx
About a day after I posted about Rich Finn's auto-create DDF tool, he completed the story with the
Pingback from Blogger Loser » Blog Archive » And now, auto-create Manifest XML
Well, I'm working on an installer, but don't tell anybody..;)
I'm confused, doesn't VSEWSS do that already...? As per:
roddotnet.blogspot.com/.../deploying-wss-30-web-parts-easily-to.html
either way, anything to simplify and speed up this process is great.
Body: Was configuring the people search and found this article which explains it in great detail. In
Its interesting that you find that OOB web part cannot be used in results page unless we pass the query as a keyword query in the URL to a results page. I have added the custom Core Search result web part in the results.aspx and added the OOB Search Action Link Web part in the results.aspx. Now when i am coming from default search (Keyword Query) the Search Action Link Web part is visible but when i am coming from Advance search page then OOb Search Action Link is not Visible.(The same behaviour what you mentioned). How should i get the Search Action Link web part Visible when i am navigating from Advance Search Web part, Can i send a Empty Query String , Will it work ? Thanks in Advance
Hello ADRH,
We have also built a custom Enterprise Search Webpart but we are having some problems. The FullTextSqlQuery errors when more than 10 properties in the where clause.
We have successfully implemented a fulltextsqlquery webpart allowing users to add filter conditions based on multichoice properties (mapped to managed properties). However we have found that once a user selects more than 10 properties you get a “query is malformed” error message.
This is a sample query:
SELECT WorkId, Rank, Title, Author, Size, Path, Description, Write, SiteName, CollapsingStatus, HitHighlightedSummary, HitHighlightedProperties, ContentClass, IsDocument, PictureThumbnailURL, DocType, Year, Source FROM Scope () WHERE (\"scope\" ='Reports') AND FREETEXT (defaultproperties, 'any') AND ( Geography ='Belgium' OR Geography ='Brazil' OR Geography ='Canada' OR Geography ='Chile' OR Geography ='China' OR Geography ='Colombia' OR Geography ='Croatia') AND ( DocType ='Pulse Documents' OR DocType ='Annual' OR DocType ='Country Reports' ) ORDER BY Rank DESC
If you run this query we get results back however if the user adds one more property selection e.g. one more country the results error.
We’ve tried putting these into comparison arrays but again the same error occurs.
I’ve checked in the advanced search web part (looking at the executed query in the logs) and you can get a working query with a lot more than 10 properties together.
Does anyone have any ideas as to what is doing this????
Pingback from Julian Harris, Social Computing Guy » Google Search Appliance installation guide
I'm having similar issues with properties in a custom field even if they only leverage the OOTB types like Text and MultiChoice.
What happens is that I can enter them and save them, and if I step through the debugger I can see that the data was definitely saved to them (this.Field.GetCustomProperty[myPropertyName] works), but when I go back to the FldEditEx.aspx page to modify them, the data isn't there, and it is usally replaced by either a weird arrangement of checkboxes or text like "<My Field Title> field value."
Note that i am using custom fields and field controls but that my property schemas are done entirely in the FIELDSTYPES.xml file. :-)
This behavior is very odd, and I thought it might be realted to this old hotfix support.microsoft.com/.../932055 which perhaps didn't make it into the security rollups from Sept and Oct.? I am thinking of opening a support issue. I really don't want the hassle of having to create some custom controls for what should just work as is.
I'll let you know if I find a workaround for this, as maybe it will also help with the custom property controls as well.
Its very difficult to find all the information about Windows NLB on the technet. I would have ideally liked to place all the information here. But that would become to cumbersome. Please click on my name and visit it once. Don't consider it as spam as its not something available any where on the net. I am sure you would like it becasue it has all the information from basics to advanced, all at one place. It has webcast links, NLB document, links to KB articles related to NLB and some good resources which are available on we.
Nice article! MOSS is looked as a OOB content management and collabration suite. Many of my clients are unaware of its enterprise search functionality. I reckon its important for us to take MOSS search to MASSES.
Jag
really helpful guides.
I found a repost of your blog that is similar to this article but not quire the same at jack.whyyoung.com/.../Creating-Custom-Field-Types.htm. Wanted to let you know that I had the same issue with OOTB custom properties in custom field types. I came up with a simple workaround to the issue that should hold over until MS releases a fix. Here's my post: A Workaround for SharePoint Property Bug in Custom Field Types at thomascarpe.com/.../Post.aspx.
I got a workaround - for now. You can get by without writing custom field editor controls if you use this code. :-) Thanks for the background info, it really helped me get to the bottom of this isssue.
I'm having a problem getting the Manager field to show up in the People Search Results. Any suggestions? I've followed all the instructions to no avail. Thanks in advance, Abby
Abby, I assume that Manager is a field from the Profile (ie. AD)? If so and you followed all the instructions, the only thing I can think of is that you reset the crawled content. I realise a) this is drastic, and b) it should NOT be required, but I am nearly certain that I had to at least initially! Let me know how you get on...
Forgot to mention that this daylight savings issue does not appear on MOSS when installed on RC0 of Windows Server 2008 so I guess they patched it - nice!
I just had a thought which I heard somewhere and the article on MSDN backs it up:
Objects obtained using SPContext, ie. SPContext.Current.Site DO NOT need to be disposed and shouldn't because it might cause issues to SharePoint internally.
This got me thinking, what about the object under these Context-obtained objects? The article talks about AllWebs and OpenWeb, which makes sense, and so I am assuming that RootWeb would need to be disposed, meaning this would be ok (and not cause instability?!):
SPSite currentContextSite = SPContext.Current.Site;
using (SPWeb currentRootWeb = currentContextSite.RootWeb)
{
...
}
Hi there,
I think it depends on your definition of explicitly disposing. The top of the MS article you linked to states 'You can automatically dispose of SharePoint objects that implement the IDisposable interface by using the Microsoft Visual C# using clause'. I've read another blog post (can't find it now of course) that says you must always use using because calling Dispose() isn't enough - although I don't think it explained why.
The good thing about using() is that it is supposed to wrap the code in try/finally to ensure the object is disposed even if an exception occurs (see forums.microsoft.com/.../ShowPost.aspx).
Speaking of those "Potentially excessive number of SPRequest objects..." errors by the way, have you ever tried setting the reg key it describes in the error message to see how much of MS' code doesn't appear to use dispose properly? For some reason I get it all the time when using foreach over SPListItem objects in List.Items, and I'm very diligent about disposing SP objects correctly.
Cheers, Alex.
Today I've started to investigate how to create enable load balancing for our Sharepoint 2007 environment
Alex,
I have seen information that suggests close() then dispose() too, and given it seems so contentious as to which is enough using seems like the plan!
I had wondered about the whole exception thing when using using ;-) and in my mind that is an excellent reason, rather than doing the whole try/catch/finally, check if null dispose() thing!
Yeah, I did turn on that resgistry flag at some point (although not in my current environment). And the current ones I see I'm convinced are related to something than I can't dispose myself! Meaning it probably is somewhere in the MS code.
It doesn't sit well though, because the stack trace obviously includes references to my code, even though I'm sure that it's not caused by my code directly! I think it is also related to list iteration as you found...
Hi our company just bought WISDOM. I installed it in a load balancing evironment and then I tried to add server in DMF explore successfully. But when I tried to access the site, it said authentication problem. Any idea?
Jim,
You will need to activate both the web front ends. I assume you have only installed central admin on one of them, which means you will need to run the Activation Wizard from the programs menu on the other. If you have any problems, email support@macroview.com.au and we'll sort it out for you!
Pingback from Addendum to the SharePoint Deployment Daylight Savings patch issue
We have scenario where we have created a wb application befor configuring load balancing server. After all applications are installed we found the request is too high and so we created a another web server for load balancing and add in the same farm. But problem is how to point a load balancing url for the extended site. In central admin we are getting any option to edit load balacing for created site, only on extending i can see this option ;(.
Ín der Beta2 Version vom MOSS war es noch möglich, Websitespalten an Daten aus dem BDC (Business Data
I will check this out over the weekend.... sounds awesome! Not being able to have a BDC column in a content type is a big hole in Sharepoint. This will be a big help.
Pingback from useful sharepoint links « SharePoint, Wiki, Create, Column, Data, Business, Free, Catalog « konfabulieren
Una vez más, en esta nueva entrega recogemos el recopilatorio de enlaces, recursos y diferentes elementos
I tried installing this on my development MOSS 2007 server. I can add the field to my content type and use it in a list. However when I try to click the search button (the little book), it takes me to a standard MOSS error screen with the error "File not found".
(Of course in true MOSS fashion, it does not clue you in on what file it cannot find...)
Any ideas? I've looked in the _layouts folder and the MVBDCLookUp.aspx file and mvpickerdialog.master are both there. I do not have AJAX installed, but it sounded like it was not required.
Joe, my apologies, but while it does not require AJAX to run, it does reference the AJAX Assembly. I could have added that to the WSP, but then it would get removed when the solution is retracted and break AJAX!! So, the best solution for you is to install AJAX, but not go through all the configuration for it to run on MOSS and things should work better!
Installing AJAX worked - that allowed me to add a list item to a list with the BDC column.
However, when I edit the item, I get "An unexpected error has occurred." and it will let me get to the Web Parts Maintenance Page (which shows only the ListFormWebPart is on it).
I installed the wsp-File via stsadm, but can't see any changes in MOSS. Did I forget something?
Guys, just install hotfix and take it easy.
I just did it and everything works....
Pingback from SharePoint link love: 12-28-2007 at Virtual Generations
Where is the .wsp file? There doesn't appear to be a current release on the Codeplex site. Am I just being thick?
I'm trying to exclude Folders from search results. I don't understand what you're doing up there and the images are missing. Can you better explain how to exclude Folders from search results?
Poate că sunt unii care au observat că în ultima perioada nu prea am fost activ pe aici. Eram prin
I'll talk Blues, with you but it will be the St. Louis Blues Hockey
http://blues.nhl.com/
Pingback from Links (2/27/2008) « Steve Pietrek’s SharePoint Stuff
great article, convincing point of view!
I am also facing this problem. I am not able to search on Manager field as well as Assistant.
I think there is some additional settings required for searching fields that contain people picker control (as Manager & Assistant both are filled as people picker controls in user profiles).
Pingback from www.sharepointblogs.com/.../auto-create-ddf-for-sharepoint-solutions.aspx
Hi there, great post, now if I want to add a new section in the Site Settings page, how can I do that?
Thanks in advance.
Nas
Hi again. I've found a possible solution to my own question to you earlier ... basically, I've added a Web property to your BDCField class and changed the ContextId propert to check whether SPContext.Current is null, and if so to use the Web property to generate a ContextId. This is needed because using the BDCField in a feature receiver, SPContext.Current is null.
Then I add the following code in the feature receiver of my app, to set the custom properties.
SPField f = web.Fields[@"Brand"];
BDCField ff = (BDCField)f;
ff.Web = web;
ff.Application = @"MyCustomCorpWebInstance";
ff.Entity = @"Brand";
ff.DisplayFields = @"PreferredName";
ff.ReturnField = @"PreferredName";
ff.PushChangesToLists = true;
ff.Update();
So the site column definition does not include the <Customization> element ...
Seems like a real kludge to me, but I am under severe pressure to "get it working" ... so this will do for now.
And finally ... the answer to my question ...
1. Add a safecontrol entry in your web config
<SafeControl Assembly="MacroView.SharePointFields.BDCColumn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6f7d66a3bb7de652" Namespace="MacroView.SharePointFields" TypeName="*" Safe="True" AllowRemoteDesigner="True" />
2. Register the MacroView control in your page layout:
<%@ Register TagPrefix="MacroView" Namespace="MacroView.SharePointFields" Assembly="MacroView.SharePointFields.BDCColumn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6f7d66a3bb7de652" %>
3. Add a BDC Field edit control inside a PublishingWebControls:EditModePanel runat="server"
<MacroView:BDCFieldControl FieldName="Brand" BDCApplication="CadburyCorpWebInstance" BDCEntity="Brand" BDCDisplayFields="PreferredName" BDCReturnField="PreferredName" runat="server" />
!!
Hi
Can you please share the code? It it is not against your ethics?
Aaron Robertson-Hodders-
How did you get the research results exported into excel? I'd like to do the same.
I know this post is old, but my team is coming up on this situation. We're trying to weigh the pro's and cons. Did you have any more thoughts?
Pingback from andrew robertson customs
Customization can't be deploied with a feature by default (SP1).
To do it, include the following wss.xsd patch:
www.codeplex.com/.../View.aspx
BDCField.cs Line 129:
When i am activating the list instance over a feature, i have no context. That means SPContext.Current == null.
What is with the following way to solve the problem:
public int ContextId
get
if (SPContext.Current != null)
return SPContext.Current.GetHashCode();
else
return -1;
Its a very nice article.
I sujest you to post more tutorials on Enterprise search while it is very burning requirement for organizations
Correct me if I'm wrong, but the problem with .RootWeb (and all the other SPWeb objects you need to dispose of) is that accessing the propery creates a new instance of an SPWeb.
That means that in your code sample, you're actually creating 6 new SPWebs each of the 6 times you use oSPSite.RootWeb. 5 of those webs aren't disposed of, and the last one was created just to be immediately disposed (oSPSite.RootWeb.Dispose()).
What you want to do instead is add the line:
using( SPWeb rootWeb = oSPSite.RootWeb )
...at the beginning of your code and just use the rootWeb instance in the block that follows.
Well Colin, I'm not going to correct you because I'm not actually sure if you're wrong (or right!). I would have thought that the first time you access the property that the object was created and thereafter it was just used.
Having said that, I would have thought that things would have been disposed of correctly in the first place, so who knows. ;-)
I you do know, I'd love to hear!
In reality, the code you posted is exactly what I do in practice with anything that I think needs disposing!
I'm having the same issue with the Manager property.. anyone figure this out yet??
Thanks - this is a very helpful post. Readers might also be interested in our recent blog series in which we compare approaches to tuning the Google Search Appliance and Microsoft Search Technologies.
Hi, I have created my own custom field type following this post and others like this.
I have problem and It's that my field can save modified values. If I create a new column of my type, properties are stored properly. But, when I want to modify these properties, it doesn't work as I expected.
I saw your post and it uses the solution when the column is added and not when is modified. Can you explain a little more why of my behaviour and the reason of your solution???
Thanks.
[...] an interesting post was made today on this site [...]...