An Office Apps and Services MVP bringing you the latest time saving tips for SharePoint, Office 365, and Ionic.
Good post. This comes from MS and their confusing terminology. They couldn't even keep it straight and the API means of site and web are different than in the UI.
Pingback from Links (2/24/2008) « Steve Pietrek’s SharePoint Stuff
Pingback from Links (2/28/2008) « Steve Pietrek’s SharePoint Stuff
Pingback from ASP.NET MVC Redux | Stuff I want to log
Pingback from Pages tagged "tolerable"
Pingback from Dew Drop - March 27 | Alvin Ashcraft's Morning Dew
Looking to activate multiple features on multiple sites. Could you post an example of your solution.
Pingback from Links (4/1/2008) « Steve Pietrek’s SharePoint Stuff
Very very useful. If you remove it from the gallery does it remove it from all the pages you have added it to?
I do not believe so. You should know by now that nothing in SharePoint is automatic. :)
Pingback from Links (5/7/2007) « Steve Pietrek - Everything SharePoint
Pingback from Links (5/13/2008) « Steve Pietrek - Everything SharePoint
On the MSDN search forum, people often ask a question like this: "I have a document named 'Programming
Downloads Windows SharePoint Services 3.0 SP1 Virtual Disk mit Visual Studio Office SharePoint Server
I'm under the impression that checking the Delete Unmapped Properties doesn't do much either... I have some crawled properties wich are no longer used in lists, and no longer mapped, but still won't be deleted.
Isn't there any other way to force this?
Hi Corey, great article! I have a couple quick questions...above you say "If you want to go crazy and unsupported, you can also modify the schema.xml of the built-in DocumentLibrary feature and accomplish the same result for the out-out-the-box document library". --- What exactly is the path to get to that file, just so I modify the correct one? Also, do you have to reset iis or anything for it to work? Will this remove the explorer view from all existing doc libraries or only new ones? Thanks soo much for your help!
The default path for the builtin document library is C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\DocumentLibrary\DocLib. It is a feature (that is hidden) so you would have to deactivate it and reactivate it on any site collection that you would want to use it on. No IIS reset shouldbe required. It will only remove it on new document libraries created. Any existing ones you would have to remove manually from each library.
One last question...Ok, I removed the chunk of code above from the path you listed. Now, can you tell me which item I would need to deactivate and reactivate in each Site Settings. Also, when you go to deactivate an item it gives you the following warning "You are about to deactivate the Team Collaboration Lists feature.
If you deactivate this feature, any user data or customizations associated with this feature might be lost. In addition, any active features that depend on this feature might fail to function.
Deactivate this feature ". Will I loose anything by deactivating and reactivating it? Thank you sooo much for your help!
Heute geht aber die Post ab im SharePoint Land: da wird zum einen das Podcasting Kit for SharePoint (PKS)
Heute geht aber die Post ab im SharePoint Land: da wird zum einen das Podcasting Kit for SharePoint
The link didnt come through on some of the RSS feeds, so here it is again.
www.codeplex.com/WildcardSearch
Pingback from Links (6/12/2008) « Steve Pietrek - Everything SharePoint
Pingback from Bookmarking the web - w24/2008 - double density design
Does this work with people search?
Ah excellent question about using it with people search. Right now, the answer is no because people search uses PeopleCoreResultsWebPart instead of CoreResultsWebPart. This should be relatively easy to implement though. I'll log a feature for this on CodePlex.
Hi gr8 article, it helped me lot.
I am installed your Wild card search on our server. its working like a charm.
however I also deployed Facets Search, it was working with normal search. however with wild card search(codeplex.com/sct). and its giving following error:
Error while executing web part: Microsoft.Office.Server.Search.WebControls.SrhdcGenericException: Your search cannot be completed because of a service error. Try your search again or contact your administrator for more information.
Thanks,
Nilang Shah
I get the feeling that at some point I will have to write a Search Facets web part that is compatible with wildcard search because the way the search facets web part works is that it does its own keyword query to get the list of facets. Out of the box this poses a problem because even if it did work, it would actually be running a different query than what the WildcardSearchWebPart so the facets would actually be incorrect. I'll note this as an issue. Thanks.
Pingback from Links (6/24/2008) « Steve Pietrek - Everything SharePoint
Pingback from Bookmarking the web - w26/2008 - double density design
wouldn't
var filteredList =
from myClass in myClassList
join otherClass in myClassList2
on myClass.Id equals otherClass.Id
select myClass;
do the same thing?
That is correct. This is equivalent to a join. I should have focused more on the other case of finding cases where items in one list are not in the other such as the following example.
var filteredList = from myClass in myClassList
where !subQueryList.Contains(myClass.Id)
Pingback from Links (7/10/2008) « Steve Pietrek - Everything SharePoint
Pingback from Another SharePoint Developer/Debugging Tips List « Solutionizing .NET
Pingback from Links (7/15/2008) « Steve Pietrek - Everything SharePoint
Pingback from Links (7/17/2008) « Steve Pietrek - Everything SharePoint
Pingback from Bookmarking the web - w29/2008 - double density design
Pingback from SharePoint Infrastructure Update - So Far So Good « The WorkerThread Blog
Personally, I like SmartPart but most of the times I find myself developing web parts as custom controls.
BTW, you can always get both the easy authoring experience of ASCXs and the powerful personalization provided by wp properties by writing your own web part as your user control's wrapper (just what Smart Part does indeed).
It's an easy way to expose user controls properties to the end user.
Just my 2 cents.
Claudio
Great Tip! Saved me a lot of time trying to figure out how to get that data out!
one correction in your code:
// add the row to the dataTable
FillDataTable(fieldCollection, entityInstanceEnumerator.Current);
should have the dataTable as well! Like:
FillDataTable(dataTable, fieldCollection, entityInstanceEnumerator.Current);
Also, I'll post this in the forums, but do you have any suggestions on using the business data type picker dialog box to open, so the user can select the entity??
Good catch. I refactored the code some as I was putting it in this blog post, so I missed that.
I am not sure about how to implement the picker. I would probably have to do some research / reflector work to figure it out.
Very useful
My favorite links from the 4th week of August 2008
Top News Stories Microsoft Completes Small Business Server 2008, Preps for November Launch (Network World
Hi Corey,
That is really a magnificent webpart. You've hit the nail on the head as far as missing-functionality in Search. I have 2 comments:
1. I'm using a BDC Scope. Do you have any idea when you might include the Scope functionality?
2. I noticed when I use the wildcard (eg: appl*) the hit highlighting or bolding doesnt appear. It only appears for exact matches.
Great work.
Cheers.
Great webpart. :-) I noticed that it does not display the RSS links either on the webpart, or the "Search Action Links" webpart when the wildcard webpart is on the page, even if you select the "Display RSS Link" option in the webpart configuration. Is this a casualty of using Full Text Query, or am I doing something wrong?
Thanks.
Pingback from Links (9/4/2008) « Steve Pietrek - Everything SharePoint
I noticed that I needed to add scope to the query recently myself. I think I can get that working pretty quickly. The highlighting definitely doesn't work when using this. I think it is based off keywords, but I need to confirm by using the builtin advanced search web part.
I hadn't noticed the Search Action Links being missing until you pointed it out. Let me do some more research and I'll log these items on CodePlex.
I have confirmed that when using the Advanced Search web part the RSS links button is not present either. This tells me that the RSS link only supports keyword queries. So it looks like this is by design on that web part. Thanks.
Does this work with people search? :)
Top News Stories Cisco Takes Aim At Microsoft's Stronghold (bMighty) Small and midsize businesses
you are doing really gr8 job. keep it up.
will this web-part work with Faceted Search 2.5?
Nilang
folks, if you havent use ontalica that uses sharepoint, you may want to give it a try. we re giving out our version of wildcard. we can give you a trial version wich is good for 30 days.
in a nutshell, how you can improve the search by adding our product in sharepoint as follows:
Ontolica Search gives you consistent search across SharePoint 2007 and WSS sites.
It improves the users' search experience, leading them to the information they are looking for, by improving all basic search features in SharePoint 2007.
Ontolica Search provides you with a perfect overview of your metadata, and allows you to configure the search interface, enabling end-users to categorize and adapt search to individual needs.
By adding Ontolica Search, IT-professionals are saved months of reprogramming SharePoint 2007 to the specific needs of organizations using SharePoint.
Ontolica Search is extremely flexible and customizable, and has an abundance of clever and indispensable features.
See the complete
www.ontolica.com/.../Feature%20Overview.aspx
Unfortunately I have not identified a good way to handle people search (www.dotnetmafia.com/.../wildcard-search-with-moss-people-search.aspx).
Thanks for the comments. It doesn't work with Faceted Search out of the box unfortunately. From my understanding it reads the user's query from the querystring. It could be possible to write an interface to connect the web parts, but would require development in both projects. This is definitely something I would like to see done though.
@mosleh
I don't know much about blog etiquette but I would think advertising a similiar search product on the author's blog would be crossing the line. Especially when Corey is giving his product away for free to better the SharePoint community.
Corey
Thank you for great web part, I have a question: when this web part is added to results.aspx page "Did you mean...” stop working. Is it because keywords are set to null?
Yes, I believe that is the reason why. I think the Search Summary web part only works with keyword queries.
Pingback from Links (9/18/2008) « Steve Pietrek - Everything SharePoint
Nuevamente les traigo mas información para SharePoint! Developers : 1 - Using Wildcard Search Web
Hi,
I have installed MOSS Wildcard Search Web part onto my sharepoint server.
I have added, deployed the solution through Central Adminstration... and also activated the same thru Site Collection Features option in the site settings.
The wildcard search is working fine.
BUT I AM FACING A PROBLEM after installing the Wildcard Search Core Results web part, BEST BETS are not working.
Please do help me in this regard.
Owens Jesse
That is correct. Best bets do not work with wildcard search (since they are keyword based). More info here. www.dotnetmafia.com/.../what-you-give-up-with-full-text-sql-queries-using-wildcard-search.aspx
Pingback from Links (10/1/2008) « Steve Pietrek - Everything SharePoint
One of the most commonly asked for feature are wildcard searches. There is lots of solutions to provide
Is anyone talking to recruiters, software vendors, etc. to ask about sponsorship?
Trust in Corey to keep the best sharepoint tips coming. Thanks, Corey!
Thanks! That Tony guy is pretty cool.
This event was GREAT fun ! I look forward to it next year :-)
Maybe we can get David to help us promote it :-)
Wish I could make it to this :-( Hopefully can next time !!
We have a whole year to work on him. :)
Fret not. We'll be trying to do this monthly.
Hi there, I have installed, deployed and activated the wildcard search in my MOSS and no different results are generated on wildcard searches, it seems like it doesn't work since my faceted search still works fine, could anyone advise on this. This is how I installed it:
1) Stsadm -o addsolution ...... as in the readme (I had to run it from folder PACKAGE)
2) Deployed from MOSS admin - Solution Management
3) Activated from Site Collection Features
4) Added Webpart to Search Center
....... run queries with asterix without having any hit generated due to the asterix.
Thanks
Nice trip down memory lane. We use to have an About page that talked about how we came up with the term dotnetmafia. What happened to it?
Oh and yes the Copy Source As Html tool rocks. It is invaluable if you want to include code samples in your blog.
Make sure you modified the results.aspx page (as opposed to the default aspx page) in your search center. Also be sure that you have removed the existing CoreResultsWebPart from your results page.
I believe the about page was on the old site.
Pingback from Links (10/23/2008) « Steve Pietrek - Everything SharePoint
I have just tried this solution and it does work however, if you have a managed document library with versioning enabled and the checkout/check in options it bypasses this allowing you to edit the document without the version number changing?
Maybe I am doing something wrong but this is how it appeared on my first attempt.
I just did a few tests and it did update the version number for me. I tried it with having major versioning enabled. I also tried it with and without checkins required. I was testing a Word 2007 document in this case. What kind of document were you trying it with? Thanks.
Pingback from China & Tibet
I implemented your code, but unfortunately the document opens exactly the same without the Edit/Read option.
In my code there is a <xl:choose> tag right after the close of the Title span; is this correct?
-GrandmasterPhil
Hi. i have a doubt about this post
You pass xml to a string, and my question is how i can put credentials in that string?
Because without the credentials, with that string i get error 401.
I have somehow attach the credentials
André
Pingback from Links (11/5/2008) « Steve Pietrek - Everything SharePoint
After I posted I realized, I was not clear enough on the location it needs to go in. There are actually two srch-Title spans. The first one is used when there are no search results. Put it after the second one. Thanks.
You have to provide credentials to the web service. This line uses the credentials of the current account. queryService.Credentials = System.Net.CredentialCache.DefaultCredentials;
You can also specify your own credentials if necessary.
yes, but i am trying acess from buddyscript (building an agent), and there is not possible have this lines. So i need to put that credentials in the string. is possible?
Thanks for reply
I am afraid I don't have any experience calling a web service from BuddyScript. Calling the MOSS web service is just like calling any other web service when passing credentials. I would look and see if there is a way to pass the credentials when calling a web service. You can't pass them in via the XML string though.
But i can only found one srch-Title span. So where is the correct location to add in that bit of code?
Thank you!
Sorry, I was thinking of the srch-Description span. Yes, there is only one srch-Title tag. I usually put my link between the span and the xsl:choose that you mentioned.
Also keep in mind the code I am adding adds a link to edit the document it doesn't change the default action of clicking on the title of the document. If you want that action, you could add the onclick event from the code provided above on that link.
Thanks for that, so far all working good with office 2007.
but is your code work with Office 2003? Because in our organisation some of the machine still using office 2003 and It seems not not working well with it. It doesn't give you the read only or Edit option when you click on 'edit document'.
Thanks!
That is a good point. I think the script for working with Office 2003 is a bit different. I'll need to look around and see if I can find a machine to try it on. Everything I have access to has been upgraded.
Pingback from How to: Get the Item Id from a document URL | deleteblog.com
Corey,
I was recently turned onto these blogs to better understand what my customers are looking for. I understand that this was directed at Microsoft but I just want to let you know that although it may not be free, there is a single product which addresses most of the issues that you presented. Ontolica Search is a web part developed by SurfRay. Although it doesn't fix everything you listed, it knocks out a large chunk. Check it out at www.ontolica.com/.../Webcasts.aspx
Although it is not free, Ontolica Wildcard by SurfRay does not have any of these issues. It was free at one time, but due to the number of people illegally modifying it and its reliability it is no longer free. You can find it at www.ontolica.com/Ontolica%20for%20MOSS%202007.aspx
If you want to properly do a wildcard search in something more advanced such as people search, faceated or federated search you may need to move to something more robust like Ontolica Wildcard. This is not free, but it does get around those issues as well as the RSS and Best Bets problem. Corey has developed a good wildcard search if you only need basic google-like search functions.
Pingback from Links (11/30/2008) « Steve Pietrek - Everything SharePoint
Pingback from Remote Development, Deployment, and Remote Debugging your first SharePoint 2007 Program « Stuff I geek with
Didn't I answer this for you today? I want credit :)
Hey Corey,
Did you decide whether or not you were going to put some time in and develop your own People Search web part to get around the sealed class?
Cheers
Gavin
Pingback from Recent URLs tagged Infopath - Urlrecorder
I visited a customer which wanted the option to directly open a document from the search results for
Pingback from Recent Links Tagged With "wildcard" - JabberTags
I am on a special project that requires I do a deep dive into SharePoint and fast.  I told my director
I want to, but I just haven't had time to look at it. I am pretty skeptical about getting this case to work, but it is a feature that I would love to see.
Se termina enero, y aqui les dejo un compilado de las mejores ULTIMAS noticias sobre el mundo SharePoint
@SharePointBuzz
Now available: 0.2.4.0 alpha for Orcas RTM - LINQ to SharePoint SPDiag Tool Released - Bob Fox's
Hi Corey
I am not able to implement the sorting i.e order by in the fulltextquery property. while executing the query, it shows the error query is malformed.
Please help me to resolve this issue on how to use the sorting in this wildcardsearch webpart.
Kathir
I believe the reason it does this is because CoreResultsWebPart has functionality to automatically append an ORDER BY clause onto the string based on if the built in web part property is set to relevance or date. I think it might be possible to work around this, so I am going to log it as a feature to look into.
I installed this as per the readme instructions. I was able to add the webpart to my search results page, but nothing is ever returned, with or without a wild card search. I have removed the core results web part as instructed. I have not removed the paging and high confidence web parts. Am I missing something?
Please disregard my previous message. I did not have the 3.5 framework installed and therefore it was not working. As soon as I installed the 3.5 framework results started to show in the webpart. I have run into a new issue however. The quick search seems to work fine, but I am unable to get the advanced search to work. Do I need to do anything special for that to work?
Pingback from ArgumentNullException when calling Enterprise Search Web Service …
Amen brother. I can't tell you how many SSPs I have rebuilt in the past two months.
Hi, It is interesting to see JQuery growing in the SharePoint space. For sure client APIs will enrich
Yes 3. is definitely required since I use LINQ to XML to query which managed properties you are using. I'll take a look into the Advanced Search issue. In the meantime, you can always create another results page for use with your advanced search and use the original CoreResultsWebPart.
Couldn't able to find the attachment. Pls share the sample code.
The attachment is linked at the bottom of this post. www.dotnetmafia.com/.../859.ashx
Will this can be implemented for metadata property search with lookup columns too.
First, Thanks so much by this excellent web part.
In my job, we used MOSS in spanish, and your webpart is working very well.
Only exists one issue:
For the search results by the scope "This site:...." or "This list...", MOSS used the page osssearchresults.aspx (not results.aspx). I custom this page adding your webpart.
The problem is: The webpart don't filter by the scope and the search is made in all the site collection.
The wildcard is working, the problem is only the scope don't working
I edit osssearchresults.aspx in this way:
1) I add the register directive:
<%@ Register TagPrefix="WpNs0" Namespace="DotNetMafia.Office.Server.Search.WildcardSearch" Assembly="DotNetMafia.Office.Server.Search.WildcardSearch, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"%>
2) I replace all the ocurrences of "SearchWC:CoreResultsWebPart"
by
"WpNs0:WildcardSearchCoreResultsWebPart"
I missing something?
It's an error:
Step 2) In the page exists two webparts "SearchWC:CoreResultsWebPart".
I replace the ocurrences of "SearchWC:CoreResultsWebPart"
ONLY in the second webpart.
Corey, I missing something aditional change?
Pingback from How to: Create a Scope for a custom List Template Type - Corey … « live.exofire.net
I assume you have the latest version right? I did make some changes to correct issues around scopes in the last build. Not sure that you can get this web part to work on the OSSSearchResults.aspx in the way that you are.
Pingback from Gaussian Blur Blog von Robert Vogel » Diplomarbeit: Entwicklungsumgebung #1
Pingback from Extending the Document Link Handler for MOSS 2007 Enterprise Search « Devology Solutions Blog
Source: Corey Roth
Pingback from Sharepoint Web Servisleri - Search/Query Web Servisi | YAZILIM KUL??B??
Just what I needed, however, did you manage to find the code for Offfice 2003?
So this week has been an eventful week for Microsoft, with the release of Visual Studio 2010 beta to MSDN subscribers overnight and also to the public on Wednesday....
Keith, someone provided me some JavaScript for that, but I can't seem to find it right now. I'll keep looking.
Pingback from SharePoint Search doesn’t have Wildcard searching » novolocus.com
Pingback from SharePoint can have Wildcard searching… » Andy Burns’ SharePoint Blog
Thank you for taking the time to try out BDC Meta Man Web Edition and write about your experiences.
You are correct currently BDC Meta Man Web Edition does not work with Web Services but this is something we are looking to include in later versions.
Thank you also for pointing out the issue with Tables with large columns numbers - I will investigate this and look to resolve it for the next release.
Thanks again for taking the time to review and provide valuable feedback on BDC Meta Man Web Edition.
Best Regards,
Phill
I've seen this error in numerous occasions now and even so many solutions on the web: 'please
Pingback from News Enterprise Search Roundup | Web 2.0 Designer
Pingback from Twitted by coreyroth
I'm trying to display the title/guid of the document library in the search result, when a document returned.
The search is not returning the list guid/title, when list item or document is returned.
Is it possible to achieve this.
Ram J
No suprises that #SP2010 is the big hitter again this week. Also seems everyone is quiet...no doubt a lot of the MVPs are quietly off playing with SharePoint 2010 and it'll be nuts once it goes public after conference......
Hi all,
I added the code:
<div class="srch-Description">
<a href="{$url}" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','0
','SharePoint.OpenDocuments','','','','1','0','0','0x7fffffffffffffff')">Edit Document</a>
</div>
to my results.aspx. The "Edit Document" link became visible, but when I clicked the "Edit Document" exactly the same happened as before.
What do I have to do with the "CoreResultsWebPart".
Thanks in advance.
Greetings,
John
Pingback from Provision a WebPart using a SharePoint Feature. « More Soma Please…
Top This Week SharePoint Deployment survey
Pingback from Calling the Enterprise Search web service from Silverlight 3 … | 888 Phone Cards
TOP THIS WEEK Bad Practice #1: Not using Solutions for deploying artifacts to the server(s) Ben Curry, CISSP, SharePoint Server MVP
John,
What version of Office are you using? I've discovered that snippet only works with 2007.
Pingback from Document Type Query: Okay for Horseshoes, Not for Real Life : Beyond Search
I use MS office 2007. The extension of the most files on the SP server are doc file. This weekend I uploaded some docx files and started a full crawl. Unfortunately it didn’t work. I see a popup which asked to save or open the file. I only added the code you provided to the “core results” webpart, which displayed the edit text in the search results.
Any other ideas?
Thanks in advance
Hmmm, that is interesting. The JavaScript there is effectively just the same JavaScript that is used in the context menu when you edit a document in a document library (which I assume works fine for you). Let me dig a little and see if I can find anything else.
Pingback from Twitter Trackbacks for Using an Extension Method to check if an item exists in a SharePoint collection - Corey Roth - [dotnetmafia.com] on Topsy.com
Ok, I confirmed that you actually can add lookup columns via CAML using the path to the list. There are a few caveats but it does work. Here is my post
Pingback from Ableiten von Inhaltstypen (ContentTypes): Bug im SharePoint | Gaussian Blur
Pingback from Twitter Trackbacks for Using CAML to deploy a lookup column via Feature - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
This works well. - Until the connection is to a Sharepoint List. -- unlike column lookups in a sharepoint feature, infopath isn't smart enough to fix up a lists/foo reference. I have been able to fix up the ListID Guid references using a featureEvent handler. I just finished testing the and deploying the solution and as soon as I can get it "cleaned" up for publcaton, I'll post the link,
Pingback from Twitter Trackbacks for How to: Create a Site Collection at the root level of your Web Application - Corey Roth - DotNetMafia.com - [dotnetmafia.com] on Topsy.com
Top News Stories Google Sites API Opens SharePoint Escape Route (Information Week) In keeping with its
I just discovered another reason for doing all of this in CAML vs a feature handler -- MSDN Article 931414 -- it's not possible to update the title of a udcx file after it has been deployed; so it has to be done in CAML as shown above.
Pingback from Error: Reference to undeclared namespace: ???ns1??? when trying to create a custom Document Information Panel
GuyO.
Actually I have discovered you can specify the list name for a SharePoint List in a .UDCX. CHeck out this post.
www.dotnetmafia.com/.../specifying-a-list-by-name-in-a-udcx-file.aspx
Pingback from Twitter Trackbacks for ShareHofbrau: Post SPC09 Event - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Here is a list of the extracurriculum activities at #SPC09. Make sure you add yourself on twitter to the #SPC09 twibe
This is an excellent blog. This has been very helpful for us, for one of our requirement.
We have deployed the webpart and its working fine,but the problem we are facing is, we want faceted search also with wild card search. But when wild card is installed, facets dont work.
I have gone through all blogs of yours which say the difference between the two.
Can you please provide a solution for this problem?Do you suggest code modifications?
MOSS2007 search functionality is missing a common requirement of a search engine in the wildcard searches. This is commonly raised when the People Search is implemented and End Users wish to search for a person by a few characters of their Title etc.
Pingback from VseWSS 1.3 CTP March 09 – Still Buggy « Alex's SharePoint Blog
זהו חברים. מהיום ניתן להתחיל לחשוף את SharePoint 2010. אז מי שחשב שזו תהיה השקה בסגנון R2 ל-2007 בהחלט
Pingback from Twitter Trackbacks for New ECM Features in SharePoint 2010 - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Hmmm, better check this again.. The ListId element is a full-blown GUID including the curly braces, without the curly braces, InfoPath will cough up an invalid GUID error message when you attempt to use the it on an entirely new form. -- The is some odd goings on when udcx file is used on the form from which it was created -- I suspect that with the connection or the data are being cached someplace. Same goes with the named list -- try using it on an entirely new form -- InfoPath will complain about the invalid GUID when provided the udcx file with the list name... I really wish that you were right about this...
Guy
Yeah I didn't think it would work either, but I have successfully deployed this and its working great for me.
Pingback from Twitter Trackbacks for Checking to see if a list exists in SharePoint 2010 - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Pingback from Twitter Trackbacks for Writing to the Property Bag using CAML in SP2010 - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Pingback from Twitter Trackbacks for Lots of Databases in SharePoint 2010 - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Pingback from Twitter Trackbacks for Use those version numbers in SharePoint 2010 - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Pingback from Video | Enjolt.com | Innovate for Success
This post was mentioned on Twitter by EUSP: RT @coreyroth: #SharePoint Post: ShareHofbrau: Post #SPC09 Event http://bit.ly/wNnIo [Cory, do you want this listed? http://bit.ly/Iye1y]
Pingback from New ECM Features in SharePoint 2010 « Michael Nagy's blog
Pingback from New Events in SharePoint 2010 – Corey Roth – DotNetMafia.com – Tip …
This post was mentioned on Twitter by coreyroth: #spc09 Post: So many more databases to keep track of (and backup)! http://tinyurl.com/yjs35n9 #sp2010
This post was mentioned on Twitter by coreyroth: #spc09 Post: Using BindingRedirect in solution packages. http://tinyurl.com/yhr5kyh #sp2010
This post was mentioned on Twitter by coreyroth: #SharePoint Post: New Events in SharePoint 2010 http://bit.ly/4tr1BI
This post was mentioned on Twitter by coreyroth: New ECM Feature Summary in SharePoint 2010. http://tinyurl.com/yg3yb6z #spc09 #sp2010
Thank you Michael for properly crediting my post. I appreciate it.
Pingback from Twitter Trackbacks for Keyword Syntax Additions in SP2010 Enterprise Search (Yes, even Wildcards!) - Corey Roth - DotNetMafia.com - [dotnetmafia.com] on Topsy.com
This post was mentioned on Twitter by coreyroth: #sp2010 Post: Keyword Syntax Additions in SharePoint 2010 Enterprise Search (Yes, even Wildcards!) http://tinyurl.com/ygrrdhv
Pingback from Records management in SharePoint 2010 – early thoughts « Thinking Records
SharePoint 2010 external list (BCS) for MOSS 2007 / WSS 3.0?
If you like the new SharePoint 2010 external list feature and the new Business Connectivity Services (BCS) and want to make use of something similar in SharePoint 2007 / WSS 3.0 to connect SharePoint lists (no web parts) directly to external data sourcees (with change workflow), please take a look at:
www.layer2.de/.../SharePoint-Business-Data-List-Connector.aspx
The shareware version is completely free for download and use.
Pingback from Twitter Trackbacks for Will Virtualization die in SharePoint 2010 development? - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
I was at the conference (SPC), but some of what I heard was difficult to follow or even contradictory with regard to the development experience. Thanks for putting this article together, Cory, and for clearing up a few things for me.
I've been an "MS guy" forever, but truth be told, I'll continue developing inside of VMware Workstation. I followed VirtualPC as far as it would take me, but it hasn't been a viable option for my work for some time. VMware Workstation works well, has all the nice little extras, and (most importantly) gives me the isolation I need between my host OS and my development guest.
I looked at all the prerequisites and extra stuff I'd need to develop right on top of Win7, and I just can't see myself "junking up" my host. With a number of different clients and environmental needs, being able to work in VMs is a real benefit to me. I'm willing to pay the small performance penalty for the "cleanliness" and isolation. Adding in things like snapshots and mobility (V2V or V2P) also helps.
For some, though, I know that VMs are seen as a negative -- not a benefit. For those folks, I think installing right onto Win7 is the answer to many of their questions. Regardless of the route folks choose, their dev options are much better this time around!
I have to agree about not wanting to junk up your main machine. Virtualization really does have its benefits in that regard. Even if I do go a virtualization route, I may still have it installed locally, because sometimes I just need to try something real quick in SharePoint or I need a screenshot or something. It would be nice not to have to fire up a VM in that regard.
I've been using Virtual PC for a while, not necessarily by choice but as that was available. I've been thinking about trying out Sun Virtualbox and I have heard good and bad things about it. @givenscj says it works pretty good and it does support 64 bit guests, so I think that probably warrants giving it a try.
If you think of it, Corey, please share your experiences with Virtualbox. A couple of the guys on my team are also looking at it and poking at it with sticks, but I don't have any good intel from them just yet.
If nothing else, I'm glad that we (as developers) have a number of options available to us with the 2010 release -- native boot VHDs in Win7, virtualization products, or installing straight onto the OS. Everyone works differently, and it looks like we're finally at a point where there are enough options to accomodate the different methodologies and paths used in the development process. Amen :-)
I wonder if this can be done using the new Client Object Model. If so, that would presumable be a simple but effective bit of javascript.
That's a very good point. I need to check the client OM and see if those objects are available.
Great post mate, I'm sure you've seen my opinions on this so far. I've added you to the SPDevWiki page on building a SP2010 dev environment too.
wss.made4the.net/.../sharepoint-2010-is-one-greedy-beast%E2%80%A6and-will-block-adoption.aspx
wss.made4the.net/.../factors.aspx
Thanks for this feedback I've up'd the starting number to 10,000 rather than 100. I thought that it was in the scopes of the feature, but obviously not :-(
Will release new 1.0.0.1 shortly, got your picture library bug to fix yet!
spsource.codeplex.com/.../View.aspx
and Document Lib custom view one:
Windows 2008 R2 isnt actually that bad as a desktop OS. All our developers are using it along with hyper-v. It means that a Virtual Machine is also portable from the 'desktop' to the server too. Check out the following site for tips on how to 'desktopize' your win2k8r2 install www.win2008r2workstation.com
This post was mentioned on Twitter by coreyroth: #SharePoint Post: Will Virtualization die in SharePoint 2010 development? http://bit.ly/40Iwrd
Pingback from Will Virtualization die in SharePoint 2010 development? – Corey … | VirtualizationDir - Top Virtualization Providers, News and Resources
Thanks for the info. Some more detailed info on Doc set @ <a href="manish-sharepoint.blogspot.com/.../document-sets-in-sharepoint-2010.html">Document Sets in SharePoint 2010</a>
and <a href="manish-sharepoint.blogspot.com/.../taxonomy-services-and-managed-metadata.html">Managed Metadata in SharePoint 2010</a>
and
Top News Stories Will Virtualization Die in SharePoint 2010 Development? (Dot Net Mafia) This is already
A conundrum for sure, but at least there are more options. Although, I heard that a VPC build is forthcoming to support 32-bit host and 64-bit SharePoint dev image with Win2k8. (Host BIOS change to support virtualization is needed as well) I use VMWare Workstation and I posted a build guide to demonstrate an alternative: www.ranson.us/.../Post.aspx
I'm getting the same results as GuyO when using it on a new form. It worked great when connecting to an SP list, then converting, then editing the GUID to the list name. But it didn't work on a new form.
I'll probably manually edit the manifest.xsf and the schema files for the secondary data source, because this functionality is too important. But it's going to be a pain.
Found the 5 places where data surgery is required, to add a secondary data connection to a udcx that has the list name instead of the list id. aka Corey style udcx.
Create and add a <list name>.xsd to the project.
There's 3 within manifest.xsf.
Add an xsf:file element to xsf:package/xsf:files.
Add an xsf2:dataConnections element to xsf:extension/xsf2:solutionDefinition.
Add an xsf:dataObject to xsf:dataObjects.
Within sampledata.xml add an xd:DataConnection element.
If you're looking for sample elements, look at an existing udcx connection.
Top News Stories Microsoft Cuts Prices for Online Exchange, SharePoint Versions (TechFlash) Microsoft
Sun Virtualbox works good on my Vista 32 bit which is hosting the 64 bit guests( A Windows server 2008 & Ubuntu 64 bit server). This requires the processor should support Intel VT and it should be enabled in BIOS.
Virtual box is worth a try.
Main purpose for this inherited control is add "Microsoft Office SharePoint Server Single Sign On service".
Integrated Security is blocked by security reasons, but it is very easy method to unblock it: just assign AllowIntegratedSecurity to "True".
<SPControls:SPSqlDataSource AllowIntegratedSecurity="True" ...>...</SPControls:SPSqlDataSource>
And you can not to modify tagMapping manually.
BTW, msdn.microsoft.com/.../microsoft.sharepoint.webcontrols.spsqldatasource.allowintegratedsecurity.aspx
It is very interesting solution for wildcard search. Thank you for this.
Could you help me to install it on WSS. I've deployed and activated solution for site collection but in WSS there is no Search Center exists. How can I use installed web-part results?
Thanks a lot for advance.
very useful piece of information and stright to the point.
I'm afraid you can't use this web part in WSS search. It was built for MOSS 2007. However, you can install Search Server Express on top of your WSS install and use it on the Search Center there.
I'm in the process of deploying an Access 2007 application on a sharepoint 3.0 site. However I am concerned about the lack of referential integrity and join type and how this will impact my data down the road.
Any suggestions?
Al
If you are migrating your application from Access to SharePoint today, it is true that there is no out-of-the-box solution for maintaining referential integrity or for doing joins. You can get around this some, by writing some ItemEventReceivers that enforce the integrity for you but its still not an ideal situation. As for the joins you can write two separate CAML queries and join the results together with LINQ. Again, not really ideal.
SP2010 helps this a bunch because it does have support for maintaining integrity and the query syntax now supports joins.
Pingback from Twitter Trackbacks for Configuring Federated Search to display results from your Corporate Web Site - Corey Roth - DotNetMafia.com - [dotnetmafia.com] on Topsy.com
We've opted for Hyper-V, noting that this is a contentious issue, even internally.
The major benefit of virtualisation for us is that we can use identical virtual environments that are network-isolated, which is a big consistency gain and configuration efficiency for SharePoint team development. In short, the main benefits as I see it are export/import, snapshots and that Hyper-V is effectively free is you're already running a server OS. Obviously there are issues with graphics performance and a few other things, but they're not compelling enough at present to sacrifice the benefits of working with snapshot and import/export by reverting back to native development. While many of these things obtain with VMWare as well, the license costs are hard to justify for us when the only 100% clear gain is graphics performance.
I've been spelling these design choices our in a lot more detail in my blog recently if you're interested: tristanwatkins.com
Hi Corey.
First I want to say your job is really useful to me. Second, I have a little problem using this custom . I made a modification to the sql query, I'm using a CONTAINS predicate to find exact phrases in columns of documents. Here is a sample of my code:
if (keywordQuery.StartsWith("\"") && keywordQuery.EndsWith("\""))
{
fullTextQuery.Append("CONTAINS('");
fullTextQuery.Append(keywordQuery);
fullTextQuery.Append("')");
if (Page.Request.QueryString["s"] == "Documentos")
fullTextQuery.Append(" AND IsDocument=1");
}
Until this step there is no problem. My problem start when I try to make a simple query to match an exact phrase, "Microsoft Search Engines" for example. The webpart returns this error "Your search cannot be completed because of a service error. Try your search again or contact your administrator for more information"
Do you have any idea what could be my problem?
Thanks a lot.
Great post, good info, clear and simple.
Plae help me to install this web-part on Search Server Express age. I can't understand what I need to do.
Thanks for advance
I installed following the instructions and the jobs all executed properly, but the feature never shows up on my site and cannot be activated.
I am running WSS and Moss and have only one site collection. I changed the server name variable to the path of my server (IE:http://servername).
Any thoughts?
If you are not seeing the feature listed under site collection features, I would verify that the package actually installed correctly. Go to solution management and verify that the .wsp for wildcardsearch did not have an error. You can also check your features folder in the 12 hive and verify that the WildcardSearch feature folder got deployed.
Pingback from Twitter Trackbacks for Deploying a Web Part with Code Access Security in Visual Studio 2010 (SP2010) - Corey Roth - DotNetMafia.com [dotnetmafia.com] on Topsy.com
Pingback from ARB Security Solutions » Deploying a Web Part with Code Access Security in Visual Studio …
Great tip, thanks for sharing.
Correcting the URL's for Doc Sets
manish-sharepoint.blogspot.com/.../document-sets-in-sharepoint-2010.html
and for Managed Metadata Service
manish-sharepoint.blogspot.com/.../taxonomy-services-and-managed-metadata.html
Thanks for clearing this up.
Pingback from Twitter Trackbacks for Programmatically Changing the UI Version in SP2010 - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
This can also be done using PowerShell.
$site = Get-SPSite("http://portal")
$web = $site.OpenWeb()
$web.UIVersion = 3
$web.Update()
$web.Dispose()
$site.Dispose()
Thanks to Tobias Zimmergren for the tip.
Mo
Did you manage to solve this issue?
Pingback from Dealing with InfoPath Form Templates in Visual Studio 2008 with TFS | Seslichatcity - Forum - Film izle - Programlar - Diziler - Bur??lar - Haberler - Mp3 - Oyun
I actually kind of forgot about it. I will check.
I wouldn't recommend you to even try to do this :)
I lost a couple of days fighting with it using reflection, but couldn't do anything usefull.
The only solution to this would be to create brand new web part that would mimic all the behaviour of the PeopleCoreResultsWebPart (but also I'm not sure if this would be possible, since when you decompile PeopleCoreResultsWebPart you can see that the most of it's properties are of some internal types..).
I think we'll have to wait for SP 2010 for this 'cause I read somewhere that this class is not sealed anymore..
Cheers,
Damjan
Hi Steve,
I have done the same thing and facing some problem at the time of coping the document library created from this feature.
When I save the Doc lib using SaveAsTemplate() it save it properly in List Templates however when I use GetCustomListTemplates() it does not returns the the above saved template.
Can you please let me know that it there any property which i need to set.
Thanks !
Yes, I tried the same and did not get very far. Unfortunately, with the last build of Beta 2 I tried, the PeopleCoreResultsWebPart is still in fact sealed. The good news is people search supports phonetic searching and wildcards out of the box so maybe this will be a non-issue.
Hi Corey!
Great Webpart, many thanks for this. Unfortunaltely I have one problem. I installed it in our development environment and it worked fine. Unfortunately I an'T get it running on production! Adding the webpart to the search page results in this error:
"Unable to add selected Webpart(s). Wildcards Search Core Results Webpart: Could not load file or assembly or one of its dependencies. Access is denied.
Do you have any idea what could cause this error?
Many thanks for your help!
Regards
Alex
how can I add scope if I am just passing keywords to the search web service?
string qXMLString = "<QueryPacket xmlns='urn:Microsoft.Search.Query'>" +
"<Query><SupportedFormats><Format revision='3'>" +
"urn:Microsoft.Search.Response.Document:Document</Format>" +
"</SupportedFormats><Context><QueryText language='en-US' type='STRING'>" +
Keywords + "</QueryText></Context><Range><Count>25</Count></Range></Query></QueryPacket>";
Make sure you have .NET Framework 3.5 installed on your production server. If you do confirm that the DLL actually got deployed to your bin folder on your particular web application.
It's actually pretty simple. I am assuming Keywords is a variable containing your query. If so you can add it by doing something like this.
Keywords += "Scope:\"My Scope\"";
Yeah!
Magic words “psconfig -cmd upgrade -inplace b2b -wait”
Pingback from Twitter Trackbacks for Troubleshooting Sandboxed Solutions in SharePoint 2010 - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Hi CoreyRoth,
By default Microsoft SharePoint Foundation User Code Service is not started. We have to start this service before deploy a sandboxed solutions on SiteCollection.
i am also facing same problem .
could you please suggest me how to fix it
Many Thanks in Advance
I try to implement the elements using your code and works perfectly but the title, this service title appears empty on infopath, any ideas about that?
How can I fix the empty title issue?
I've actually run into the Title field not being populated before as well. For some reason it doesn't pick it up from the CAML. However, it does not affect the usability of the .udcx file.
Very helpful post.
Pingback from Twitter Trackbacks for Adding and Deploying Solutions with PowerShell in SharePoint 2010 - Corey Roth - DotNetMafia.com - Tip of the [dotnetmafia.com] on Topsy.com
This post was mentioned on Twitter by sharepointbuzz: #SharePoint Adding and Deploying Solutions with PowerShell in SharePoint 2010: Visual Studio 2010 makes it really e... http://bit.ly/8i2lc1
Pingback from Twitter Trackbacks for PowerShell basics for SharePoint 2010 (sp2010) - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Pingback from Twitted by jderde
Great post Corey. One thing to add is that you need to make sure that MOSS_Setup is has the right DB rights. It needs to have dbuser, dbcreator, and dbsecurity roles in order to access the instance during setup.
Thanks! I was struggling for hours trying to resolve the webpart issue.
Pingback from Twitter Trackbacks for Enterprise Search Web Parts are still Sealed! Unseal them! (SP2010) - Corey Roth - DotNetMafia.com - Tip of [dotnetmafia.com] on Topsy.com
Pingback from Weird toolbar on Custom Document Library » Andy Burns’ SharePoint Blog
You can also create site column lookup fields. Just remember the same technique does apply. Lookups seem to only be able to read from local lists; I wonder if this is the case with SP2010? So if you create a site column lookup, the reference list will need to be in the root web. Be sure to create the site column with CAML so you can control the ID, or else you will have to resort to code to add the lookup field to the next list.
I like lookup fields. I can apply item security to them by simply tweaking the security of their reference list. It's great!
I can run Foundation on bare metal - Win 7 with VS 2010 Beta 2, SPD 2010, with no problem on a 4 GB machine. When I started all its services, I consumed about 1 GB and overall maybe 2 GB. It was refreshing to see a SharePoint installation work on Win 7! But I agree, Foundation is TINY compared to SP2010. The hunt continues...
Also make sure that you select the Default transport (instead of that juicy looking Remote option) and attach to Common Language Runtime instead of Native. The Native type doesn't load any useful debug symbols so your breakpoints will never be hit if you do that.
Pingback from Safe mode did not start successfully. Could not load file or assembly « Edward Wilde
Thanks for useful information. Check also how to create locations to show top news from google using federated search @ manish-sharepoint.blogspot.com/.../federated-search-in-sharepoint-2010_21.html
I use FullTextSqlQuery. It doesn't have SelectProperties.Add method. Is there a way to return custom properties for the metadata?
Dan
Here's my code-
using (Microsoft.Office.Server.Search.Query.FullTextSqlQuery fquery = new Microsoft.Office.Server.Search.Query.FullTextSqlQuery(src))
fquery.StartRow = 0;
fquery.RowLimit = 10;
fquery.HighlightedSentenceCount = 3;
fquery.EnableStemming = true;
fquery.TrimDuplicates = false;
fquery.KeywordInclusion = KeywordInclusion.AllKeywords;
fquery.ResultTypes = ResultType.RelevantResults;
string strcolumns = "Title, IsDocument,WorkId,Title,Author,HitHighlightedSummary,Size,Path,PictureThumbnailURL,CollapsingStatus,SiteName,Write,Description,ContentClass,HitHighlightedProperties";
fquery.QueryText = "SELECT " + strcolumns + " FROM Scope() WHERE ";
fquery.QueryText += " \"Scope\" ='All Sites' AND ";
fquery.QueryText += " FREETEXT(defaultproperties,'Report', 'HR') ) ";
fquery.QueryText += " ORDER BY Rank Desc";
ResultTableCollection rtCol = fquery.Execute();
ResultTable relevantResults = rtCol[ResultType.RelevantResults];
DataTable dt = new DataTable();
dt.Load(relevantResults, LoadOption.OverwriteChanges);
gridSearch.DataSource = dt;
gridSearch.DataBind();
Good article.
When working with search if you want the Item ID I would just map a property to ows_ID?
Is this applicable to SP 2010 ; I can easily enable the audience targeting but in web part i aint able to find properties to select the users. It used to be very simple and straight forward in MOSS 2007.
That I will need to confirm. I'll take a look at it sometime on my sp2010 image.
After looking around a bit, I am thinking that this will still be applicable. The properties for audience targeting are showing up for me on my build. You may have some other issue or you may need to set up profile synchronization.
Pingback from SharePoint Single Point of Failure » A Busy Week in the SharePoint World
like it
Where are we supposed to write this code?
You can do this by creating a Sequential Workflow in Visual Studio 2008.
This versioning seems excellent news for all people deveoping stuff using Visual Studio and WSP Builder ...
Pingback from Sharepoint 2010 Search Web Parts unsealed (partially)
Unfortunately, this did not solve the problem for me. Thanks anyway.... the search continues. :)
I would like to update an existing installation with same assemblies but with different public key. Is there a way to have existing web part on my pages to point to the "renamed" assemblies. I was thinking at writing a program to export web parts for each page, changing assembly reference then reimporting them. However this will create a new web part instance (GUID) on my page and blow up any web part connection. Any hint would be helpful.
This post was mentioned on Twitter by jthake: #SharePoint #Link: Enterprise Search Web Parts are still Sealed! Unseal them! (SP2010) - Corey Roth - DotNetMafia.c... http://bit.ly/6ncqPo
how to write my sql text when i want that the results contain a compelete sentences.
eg: the result must have the sentence 'i am from china',how can i do? the product we used is Search Server 2008. thank you !
Thanks Corey. This really helped me. Keep the good work going :)
Corey ,Wonderful piece !.It boost my learning spirit.!
i've came to the same problem. i totally agre, this is really lame.
Just run as Administrator and it will work.
Hmm. and this was Foundation? I installed Foundation on Win7 and used Designer to try and create an External Content Type and got an error. I was missing a certain Service Application. It wasn't installed. I will try again and get you the exact error message. I was under the impression the BCS was only part of SP2010 Server but the BDC is available for Foundation users. Thank you for writing up this post, BTW.
Yes. It's definitely Foundation on this particular image. If the Service App isn't in your list, you might try going through the setup wizard in Central Admin again and see if it creates it. You might also be able to create it manually from the service app page, using the new button in the ribbon.
I have specify the following for 'Fixed Full Text Sql Query' (and everything else as default) but it returns nothing.
SELECT WorkId, Rank, Title, Author, Size, Path, Description, Write, SiteName, CollapsingStatus, HitHighlightedSummary, HitHighlightedProperties, ContentClass, IsDocument, PictureThumbnailURL FROM Scope() WHERE "scope"='Project Status'
However if I specify 'Fixed Keyword Query' for 'Fixed Keyword Query', it returns some records.
Can you please advice why is it so?
contentType:"Project Status"
Does 'Sort Order' works only when 'Fixed Full Text Sql Query' is specify?
Trishia,
If your query is not returning any results, I would recommend simplifying your query some first and then build it back up a piece at a time to see where something is not working. Do you have a scope called "Project Status" or are you just trying to query on the content type of that name?
The custom sort order will work in a number of situations. If you are using a Full Text SQL Query be sure and specify your sort order using the custom property and not directly in the query. This is due to the way the CoreResultsWebPart assembles the query.
Worked like a charm - thanks so much!
i need to correct myself. I mean if i put the following, it returns some records.
Fixed Keyword Query = contentType:"Project Status"
Can I use custom sort order (Title) for this 'Fixed Keyword Query' without specifying a Full Text SQL Query?
Greate, but how do you actually change the master page in 2010? the option is not there anymore under site settings, you have to use designer for that now?
I have tried this and it works. the problem is when I try to use webcontrol which is created the classlibrary anything does display on page. do you have any idea?
here is my sample code:
<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>
<%@ Register Assembly="ClassLibrary1" Namespace="ClassLibrary1" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/.../xhtml1-transitional.dtd">
<html xmlns="www.w3.org/.../xhtml" >
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<uc1:WebUserControl1 ID="WebUserControl11" runat="server" />
<asp:PlaceHolder ID="ph" runat="server"></asp:PlaceHolder>
</form>
</body>
</html>
protected override void OnLoad(EventArgs e)
base.OnLoad(e);
ph.Controls.Add(Page.LoadControl(typeof(ClassLibrary1.WebUserControl1), null));
Ok. I'm actually not sure if it will work with the Fixed Keyword Query or not. I didn't write any specific code to handle that property, so there is a good chance it won't.
Great post... WebPrart works great...
Does anyone know a similar solution for PeopleSearch?
Pingback from A Busy Week in the SharePoint World « The SharePoint Mechanic
Pingback from Mechanical Properties and Performance of Engineering Ceramics and Composites III | Ceramic Engineering Addict
fantastic idea, install was clean (v1.0R5), but when I add the webpart, there is no actual search field to enter criteria into. Suggestions? Thank you in advance for even making this available to start with.
Which page did you add this web part to? Typically, you will edit your existing results.aspx page (which should already have a searchbox).
Pingback from What's Your "Why?"
We are using this webpart and it's working fine expect some issues..
Now a days my site which using this webpart are creating so many deadlocks in memory and i am not able to find reason. Then after locking a call in Microsoft they are suggesting that this wild card search web part using using core dll using Reflection and that is out of box of sharepoint model so it's creating deadlock.
Is there any way we can achieving same goal without using reflection ?
Regards,
Mehul
I don't know your (Author's) name. But whomsoever you are. You had done amazing job. I am .Net Developer and using sharepoint since while but your articles are so nicely written that any new developer will find it very comfortable. Once again hats off to you and thanks for writting such wonderful articles. Keep up the good work.
Preet
Absolutely amazing...!! Marvelous.... No words to describe it...You have down superb job. People like you are required not only in SharePoint Community but required in world. Thanks for sharing such valuable knowledge.
Pingback from Deploying Relational Lists using CAML in SharePoint 2010 – Corey … | Drakz Free Online Service
This solved my problem installing BizTalk Adapters for Enterprise Applications on Windows Server 2008. I ran:
install.exe /extract "<current folder>"
(Trying it with setup.exe in the same foilder didn't work)
Thanks for the great comments. I'm glad people are finding it useful.
SharePoint 2010 External List (BCS) for MOSS 2007 / WSS 3.0?
If you like the new SharePoint 2010 external list feature and the new Business Connectivity Services (BCS) and want to make use of something similar in SharePoint 2007 / WSS 3.0 to connect SharePoint lists (no web parts) directly to external data sources without any programming or tools, please take a look at:
All list features are available, e.g. grouping, lookups.
You can start buiness workflow actions in SharePoint, if external data changes.
Looks pretty cool, but it looks like Microsoft is making your product unneeded pretty soon.
So how should I build my fulltextquery so that I can do sorting by Title for Fixed Keyword Query = contentType:"Project Status"?
Many thanks.
There are some issues involving this approach for People Search.
www.dotnetmafia.com/.../wildcard-search-with-moss-people-search.aspx
@Trishia - I think you can use what you have and it would be something like...
SELECT WorkId, Rank, Title, Author, Size, Path, Description, Write, SiteName, CollapsingStatus, HitHighlightedSummary, HitHighlightedProperties, ContentClass, IsDocument, PictureThumbnailURL FROM Scope() WHERE ContentType='Project Status'
You would then use the custom sort property of the wildcard search web part to specify a sort order by title.
I'm trying to deploy to a remote server from my build server utilizing the command line, which will placed in CCNet file. When I attempt stsadm -o addsolution -filename package\MyAssembly.wsp, I am receiving the ominous "Object not set to the instance of an object. Solution was not added" msg. Any ideas?
Hmmm, it sounds like there is something inside your solution package SharePoint doesn't like. Unfortunately, you may have to sift through the logs in 12\LOGS to find out what the actual error is.
Pingback from Sharepoint : Various way to develop WebPart in Sharepoint « Nair's Blog
Well... you do what you always do with legacy code problems like this: you create your own wrapper class that uses same public interface as class you are wrapping. Wrapper class will be unsealed and allows extending. That's all you can do going nice way.
Of course... if you are brave code terrorist and you are very sure what you do then you can always to what you ever you want to do using reflection and dynamically created code. It is way more complex thing to do and harder to debug but at least on dynamic level you can create copy of sealed class and make it unsealed. I suggest you to find better method than this.
I forgot to mention quickest way. Take Reflector and disassemble sealed class. Add it to your project withoout sealed keyword. In this case you have to be ready to modify disassembly results because code that Reflector disassembles may be problematic.
The other option is more complex. Use ILDASM to generate IL file based on sealed class. Remove sealed keyword, change namespace and/or class name and create DLL using ILASM. You can reference this DLL from your projects.
The external list which gets created has workflows option disabled.Does that mean we cannot use sharepoint native workflows in this list.Any workarounds
Thanking You
Good comments. The code terrorist way is actually the way the wildcard search web part works (via reflection).
wildcardsearch.codeplex.com
It's not pretty but it does work somewhat successfully. I've only had one real case reported where it was a real performance issue.
Thanks. This is the information I was searching for. I ahvea n additional out of place query though. The .dwp or .webpart files that are provisioned using a WSP, go to which location within the filesystem?
They go into the web part gallery inside SharePoint. You won't actually find them on the file system anywhere.
That seems to be the case. It doesn't look like we can trigger a workflow off an external list. There may be a way to get around it, but I'm not sure yet. I do know that SharePoint workflows don't have to be associated with a list item any more in 2010, so that might be something to leverage. I don't know if ItemEventReceivers fire for external lists either, but I suspect not. I need to look into that.
Interesting. Yes, and the BDC just won't go away :D
Heh. I have to say it's pretty nice to work with now.
I'm glad to see the list schema still supports the old way of provisioning a bdc column with projections. I might be able to use this fold meta data into the bcs data. That template 600. What is the type Id for the list template you threw away? I didn't think you could create a list instance without a corresponding template whether custom or not.
The xsllink is an exciting enhancement! That goes back to DVWP. In fact it looks like list views are now just DVWPs. No more CAML to describe the rending of a view -- those were evil.
I guess I didn't make that clear enough. I threw away the list template that I got from using the new list SPI. XslLink is very cool. Coincidently enough the SharePoint Product Team posted this last night describing how it works.
blogs.msdn.com/.../sharepoint-2010-list-view-blog-series-part-3-list-view-architecture.aspx(Microsoft+SharePoint+Products+and+Technologies+Team+Blog)
Thanks maxmorgan.....fixed me right up!
It's help me. thanks alot for your comments
I had this problem with I reset the password for the service account used to run the services. You have to go to central admin, operations, services on server, click on Off Sharepoint Server Search and enter the new password. Everything seemed to fix itself.
Do relational lists in Sharepoint server 2010 preserve all relational constraints? For example is it possible to define a primary key composed by 2 or more columns?
I'm searching also if it is possible, when you insert a new item in a list, filter combo data considering the value set in another field. For exaple if you select the item "Canada" in the first combo box, is it possible to have a second combo box that updates it's data to match canadian towns?
Finally, the new feature that permits to see data from the parent list is available only in views or also when you insert a new item in a list?
If you working in team site then the master page option will not be available under site settings publishing features are not enabled bu default.
You need to activate Publishing site features from site collection settings, then you will get that option.
That is a good point. This also applies to MOSS 2007 as well.
Very useful piece of information and straight to the point. Thanks!
Pingback from New Year and New Officers at the Tulsa SharePoint Interest Group | Explore Tech Answers
Do you know if this will work when content deployment is being used? Example, I have an authoring environment where multiple contributors can manage their own content. Upon completion of an approval workflow the published content is deployed to a read-only environment. Thanks and nice work!
I think it should, but you may need to put this code in the workflow itself.
SPSite.Features.Add will always appear to succeed, even returning a valid SPFeature return value.
Yet if the calling process identity is not an SCA, it will actually silently and secretly fail.
Nice one, one question.how do i update all mysites scopes
External List seems cannot be used to trigger WF. It may because the data for External List are saved in external data source but not SP.
However, we could create a WF for regular list to access data from External List. There are couple papers talk about WF with External List.
blogs.msdn.com/.../using-sharepoint-workflows-with-business-connectivity-services-bcs.aspx
I am experiencing this exact issue. Could you please explain where we could find the Schema XML file. I have tried looking with SPD but to no avail.
In this case, the schema.xml is used in my custom document library's feature. I also highly recommend being fairly current on service packs / updates if you are dealing with document information panels.
I put a ContentEditor web part on a page. Added text for a disclaimer statement. I exported the web part as disclaimer.dwp. I imported it into the web part gallery and added it to a page. Worked great. Now I want to add it to a site definition. Nothing I try works. HELP!!
If you want to add it to a site definition, I recommend putting it in a feature and then use feature stapling to attach that feature to your site definition.
Pingback from ARB Security Solutions » A simple way to programmatically create SharePoint security groups …
Oklahoma City SharePoint User Group Opportunities
Thanks for a nice post. I have been taking similar appraoches with 2007 in the past however with 2010 we can improve it a bit further.
The challenge with developing these utilities as winform applications is maintenance, by the end of the project we would have a basket full of utulities to automate different tasks.
With 2010 I think the best approach would be creating a cmdlet for the code you have given above. I haven't played with cmdlets yet but in theory beleive it is quite possible and then we could have a powershell batch file to prepare the sharepoint enviornment and one step would be calling this custom cmdlet to create groups with xml file provided.
Hassan
@Hassan - Yes, writing this as an stsadm command is a very good way to execute this code. A feature also works as well. Going forward with SharePoint 2010, you can write this as a powershell commandlet as well.
Pingback from Steps To Install WSP file in STSADM « Dot Net Solutions
Pingback from Query Active Directory
Pingback from Sharepoint Active Directory
Partial name searching, such as the "Will" for "Williams" example that you gave is already available in SP2007. You just need to add the managed property in front of the criteria (LastName:Will).
A really easy solution is to build a web part that has input boxes for first name and last name and contains a button to execute the search. The web part can then pass the criteria along with the managed property data to the search results page.
We added a part like this to our portal homepage and with over 3000 searches for employees every day, I can't even imagine how many hours it has saved in 3 years.
Very interesting read, thank you so much for this insight. I am waiting to go live with SP2010 once it is released.
Nice article Corey! I think I'm having a similar scenario, just not sure which schema.xml to view & edit? When I searched there are a lot of schema.xmls files.
What about the number of cores - I am wondering between dual core with 6mb of cache and quad with 4mb of cache(in fact 2mb on die)?!
I'm no expert on cores, but I would lean towards the quad.
Thanks Buddy for this information. Was doing a setup for BDC and the article helped me figure out the issue. The crawler was missing the Execute permissions in BDC permissions.
Hi Corey, i am trying to do something very similar and I came accross this excellent post..
I want to do something like this:
.. AND( (scope='myParam1' OR scope='myParam2' ) AND scope='myParam3') AND (publicationdate < 15January) AND publicationDate>30January
so my problem is logical OR and aND betwenn search scopes created in Central Administration and the content publication date.
As for the publication date - does all content has it? Fo example if i add a element to some list .. the query also should take it into consideration.. Administrators won't be inserting publication date of a row in some list.. that would be nonsense, so I have to implement it. Visitors can filter content puting two date boundaries
please advice...
Corey, in Sharepoint SetPropertiesOnHiddenObject() is obsolete and empty, the srho doesnt exist and the webpart won;t work :(
@Poupreh - Are you referring to SharePoint 2010? If so yes, that is the case. You can now override GetXPathNavigator(), I believe to make use of the SharedQueryManager object to do custom queries. However, this only supports Keyword Queries.
Thanks for this post it helped me a lot!
I have the same problem, but then by using http instead of https.
When using http the workflow just won't start...
Not sure why though
Find the details at below url
weblogs.asp.net/.../sharepoint-logs-tacing-service-lost-trace-events.aspx
The Title field not being filled does matter. If you change or upload a new version of a UDCX to the Data Connection Library, and then want to Check In that file, SharePoint doesn't allow it: the Title is a required field. This check is ignored with feature activation, but not with a manual change.
Most annoying thing about this: manually entering the Title doesn't seem to work either.
Pingback from Two Techniques for Deploying Sharepoint Content
Hi, Is there any trivial way to automate the publish of a form template to a sharepoint library?!
I tried a lot of things, but Infopath seems very complicated in allowing that.
The disclaimer here is that I don't want to use the Enterprise FormServerTemplates for which there are a lot of blog posts there in the internet. I don't want to use browser-enabled forms, I don't even need the form template to be signed or versioned. I JUST need a plain template, like word templates. I tried to find more on that:
williamvanstrien.blogspot.com/.../automatic-publish-infopath-forms-via.html , but he couldn't give me clear explanation what is XsnFeatureReceiver used for, and misleaded me even more!
Thank you for your time
Pingback from Two Techniques for Deploying SharePoint Content
maxmorgan's magic words worked for me
Hi Corey, GetXPathNavigator resolves the scopes problem but it seems not to support dates comparison.. I wonder if there is any solution in which you could use your own advance query, display results using existing CoreResultsWebpart and paging them using existing PagingWebpart
Pingback from Windows Azure for Noobs | Explore Groups Answers
I got the base listdata.svc link to work but when I try to do any additonal parameters I get 404 error. Any ideas?
Pingback from Twitter Trackbacks for Windows Azure for Noobs - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Great tip thanks Corey. It's basically a problem with SharePoint that after you write a feature scoped to the SPWeb, how do you then control and configure that feature easily and cleanly? This is a great way to do it - put parameters into the property bag and you can edit them in situ with SharePoint designer to control how the feature works.
Very helpful.
Don't forget to call dispose() on your query object or wrap the FullTextSQLQuery in a using statement as it holds open resources.
Pingback from Twitter Trackbacks for Slides from my SharePoint Enteprise Search at OKC SharePoint Users Group - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Pingback from Linkliste zu SharePoint 2010, Office 2010 und CRM ??? 10/04/01 « Sharepoint Infoblog
Pingback from Linkliste zu SharePoint 2010, Office 2010 und CRM ??? 2010/04/01 « Sharepoint Infoblog
I can also confirm sometimes it isn't added, noticed that just this week. Thanks for @SPDevWiki mention ;-)
BTW top dev blog mate!
Here is another introduction post on Silverlight Client Object Model in SharePoint 2010. This will also helps the devs to understand and create applications. Take a look at it.
praveenbattula.blogspot.com/.../sharepoint-2010-silverlight-client.html
Pingback from Twitter Trackbacks for A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010 - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Restart the Office Service in services control panel after specifying the new password in the LogOn section of the service properties.
Pingback from SharePoint 2010 solution package deployment: sandboxed vs farm solutions) « Uscatu's blog
Pingback from Twitter Trackbacks for How to find a good SharePoint person for your next open position - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Presenting @ Oklahoma City SharePoint User Group
Excellent article - Interesting to see that the same problem with finding good SharePoint consultants exists also in US and not only in Sweden (we are constantly looking for new SP Dev specialists).
/Göran Husman
SharePoint Server MVP
Sweden
Pingback from Twitter Trackbacks for SharePoint Post: Tulsa SharePoint Interest Group ??? How the SharePoint 2010 BCS will change your life [dotnetmafia.com] on Topsy.com
I agree with you, that it is probably a very good idea to hire a SharePoint expert who is active in the SharePoint community. So your approach to find new employees is obvious a good and easy one.
But I strongly disagree, that it is the only way. And I even disagree, that " If the person you are looking to hire, can’t be found on twitter, you probably don’t want them". There are excellent developers around, who do not blog, do not answer questions in forums and do not send tweets. Sharing your knowledge could make you a better developer or admin. But not every one is an author. Some developers are just readers, who use the information from blogs and forums AND don't like the flood of tweeds in twitter. To find an expert from the community is obvious easier, but they last mentioned type of developers are not necessarily the worsed ones. They are only hard to find.
Yeah, I knew that statement would probably stick in some people's minds as I was writing this. Don't get me wrong. I know a lot of good SharePoint people that aren't on twitter, don't blog, don't go to user groups or anything. I wish they would at least participate somewhere and I encourage them to regularly. :-)
Twitter obviously isn't the only way to find good people and it certainly is an unconventional one. The point I am trying to make is that to me, doing SharePoint work without twitter (and the other community areas) is almost like doing work without Google or Bing. These are just too valuable of resources to pass up.
Amen!
I also find that there are lots of great devs who don't tweet, read blogs, write in forums, turn up to user groups as they see it as a 9-5 job and don't do ANYTHING extra. These guys can still be crack hot too.
Thanks. This save me a lot of time
Thanks. good tip!
Pingback from Twitter Trackbacks for Slides from my talk on the SharePoint 2010 BCS at Tulsa SharePoint Interest Group - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
I just tweeted question about this a few weeks back! Great timing.
I completely agree, glad to have my suspicions confirmed.
It works great when you type in your query in the basic search box on the results page that has the WilCardSearch Webpart. But what if I want to enable wild card search for an Advance Search webpart located on another page? Is that possible?
Great Article.
Lets say I have created a web part on site A. Now I wish to use the same webpart on another site B which can be on the same server, or different server. What do you do in this case?
@Jasonat Well, you can take the .wsp file it packages and install it on the other server using stsadm or PowerShell. You can also just update the server reference found when you click on the project and look at its properties and point it to the URL of the other site.
Pingback from Twitter Trackbacks for Mapping Enterprise Search managed properties from the BCS in SharePoint 2010 - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
This really helped me for the type of solution I needed and how I am developing for SharePoint.
Thank you very much for posting this.
My application continues to have this exception even when I change it to x64. Any other things I should look at?
What if you want to display list items (e.g. News) that are also not documents? I would exclude here only the contentType folder.
Then I would consider using a custom scope and using the list item's content class. For example.
www.dotnetmafia.com/.../how-to-create-a-scope-for-a-custom-list-template-type.aspx
ListData.svc does not work with external lists in SharePoint foundation 2010 - i get a 404.
Hi Coreyroth,
Can you please tell me how to remove DataAppearance & advance Properties from this webpart. My boss is impress but he don't want that
Pingback from Twitter Trackbacks for How to: Build a SharePoint 2010 PowerShell Cmdlet - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Hi, I got the same problem as you, and searching for a solution.
I'm getting the same error when trying to use Microsoft.SharePoint.Portal.WebControls.TagCloudWebPart
It works fine if i do it via the web ui, but fails when using the ONET.XML for my sites.
Any ideas?
This post was mentioned on Twitter by coreyroth: #SharePoint Post: How to: Build a SharePoint 2010 PowerShell Cmdlet http://bit.ly/b0l6ww
Well done!
I agree with most the things you said.
I must admit, even tho I am not a big fan of twitter I always make sure the sharepoint experiences from my blog are also posted as tweets. You know.... visibility. :)
I follow people (like jeremy thake for example) but not keywords, so I am missing the job pool here probably.
Pingback from Error in SSP accessing any search settings page « A Berkut's Blog
The differance here is that one is a SharePoint webpart and the other is a .NET web part.
The .dwp is a SharePoint web part. This would be one like the Content Editor.
The .webpart is a .NET framework.
The primary differances are that the SharePoint webparts are built with backwards compatibility and more functionality in the web parts communitcation area. If you needed a web part that worked in WSS 2.0 and WSS 3.0, this would be your guy.
The later is one that most likely originated in Visual Studio.
nice tip ! never knew this one.
Pingback from Twitter Trackbacks for SharePoint Post: Slides from my talks at SharePoint Saturday Houston #SPSHOU [dotnetmafia.com] on Topsy.com
Hello,
I tried to make a chart with out of box chart webparts in sharepoint 2010.but i cant find the option to make a total of particular column.
i want to make a chart in which the total funding amount is displayed yearly basis,country wise and department wise.
India 146000
Education total=40000
2008 30000
2010 10000
Finance total=42000
2008 42000
Health total=64000
2008 52000
2010 12000
Grand Total 146000
i want my data as a total sum department wise(Group by Department),for particular company,
so this total amount should display in pie chart.
i m using sharepoint custom list to connect the chart.
i tried with sharepoint 2010 but cant find any solution
please help me
Thanks n regards
Hiren
hiren.patel@bitscape.co.in
Corey, I want to use this as a People Search and I have it working from my homepage with the default site search as it passes the S= query string for scope.
However, when you use this with a people search box there are a few options to pass scope as an appended query string, etc. but it doesn't seem to work. any ideas?
For instance, let us take a State List which holds all the states of India. States are grouped under different zones i.e. North, South, East & West. If I need to retrieve all the States for North zone then my SP Query would look somewhat like,
SPQuery stateQuery = new SPQuery();
stateQuery.Query =
"<Where><Eq><FieldRef Name=\"Zone\"/><Value Type=\"Text\">North</Value></Eq></Where>";
SPListItemCollection stateCol = StateList.GetItems(stateQuery);
In the code above the StateCollection object gets populated with the States only related to North zone. You can then bind this collection to a GridView or DataList or any other similar controls to view the actual values.
www.mindfiresolutions.com/Sharepoint-SPQuery-30.php
Hi Roth,
This is nice article, I have requirement where I need to create custom edit form sharepoint list(ex: Tasks list),
how I can achieve this functionality(I cann't use sharepoint designer) apart from designer is there any approach, please let me know.
regards
anand
Will the webpart work on 64bit architecture? I have run through the install and cant find the feature under Site Collection Features or Site Features?
It should. Check your Solutions page in Central Admin and confirm that the solution package installed successfully.
The second problem of Visitors
I checked the solution page and found and error with the solution.
Access to the path 'C:\WINDOWS\TEMP\tmp42F.tmp' is denied.
<servername> : Access to the path 'C:\WINDOWS\TEMP\tmp42F.tmp' is denied.
I have tried to deploy the solution several times with different Administrator accounts and no joy.
Do you have any idea what i may be doing wrong?
i have service running in MMC and in CA as well. still when I try to add a sandboxed web part i get error message like " The sandboxed code execution request was refused because the Sandboxed Code Host Service was too busy to handle the request."
Please help me.
Rock on
Pingback from Twitter Trackbacks for Simple network configuration in Sun VirtualBox - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
on Sharepoint RTM (May 2010) :
I 've been looking at chart element for a day and a half and haven't figured it out. I have a list of items (each has a title, a region, a dept and amount).
I have a view grouped by a field (region, or dept for example) looks right.
Now I want the chart to show me the rolled up view and it is not working!
Nice,
Find the detail notes on the developer dashboard in my point of view, this also may help.
praveenbattula.blogspot.com/.../developer-dashboard-in-sharepoint-2010.html
thanks
-Praveen
Pingback from Life is Just a Bowl of SharePoint ??? Part 11: Creating Web Applications and Site Collections | EndUserSharePoint 2010
I tried this command to install a BCS solution
Install-SPSolution –Identity SharePointProject2.wsp –WebApplication http://sp2010 -GACDeployment
but I gives me the next error "
This solution contains no resources scoped for a Web appli
cation and cannot be deployed to a particular Web application."
I tried with
Install-SPSolution –Identity SharePointProject2.wsp
–GACDeployment and I doesn't do anything. I checked and the solution it's not installed :(,
Can you help me pls with this ?
Thx,
Thank you.
Its really help me to solve the error.
As a complete SharePoint newbie, I needed more detail for your instruction to "start by copying your compiled DLL into the Global Assembly Cache of your SharePoint server".
In order to install my assembly into the GAC, I had to sign it. In Project Properties, on the Signing tab, check the option for Sign the assembly, and enter a filename ending with the .snk file extension. I didn't use the option to enter a password.
Awesome instructions! VS 2008 really did make deployment easier. This is probably the only time I'll deploy the "ghetto" (i.e. manual) way, but I am glad I've done it to help with troubleshooting.
@StephanieDeHart Thanks for the feedback!
You're right, I guess I did make the assumption that the developer has some prior experience doing .NET applications. Thanks for the good comments. I'll probably include that point when I update the post.
Pingback from Twitter Trackbacks for www.dotnetmafia.com/.../intro-to-sharepoint-development-how-to-build-and-deploy-a-web-part.aspx [dotnetmafia.com] on Topsy.com
Pingback from Twitter Trackbacks for Wildcard Search Web Part for SharePoint 2010 - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Hi, is that definition is common to all site colection or may i define the search scopes list for each site dropdown?
in our case there are a few sites under the root and we want to configure the search box of each to display a different list of scopes (so the sites under those sites will inherit from the parent site)
Pingback from Twitter Trackbacks for How to: Create a OpenSearch Provider for SharePoint - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Corey thanks for the post, but my site is still not crawling. I get no messages in the Logs just the error above and this in the event viewer:
The start address <http://mossdev01:55555> cannot be crawled.
Context: Application 'SharedServices1', Catalog 'Portal_Content'
Details:
The object was not found. (0x80041201)
I know my search service is working as external sites are crawling. Any ideas?
Interesting. I assume if you hit http://mossdev01:55555, the site comes up alright? Have you confirmed that your content access account has access to the site? Make sure it is isn't an administrator account.
Thanks Corey. I was looking to do just this and this was a great help. One quick question though, how do you delete any file type. In the ExtensionCollection, I do not see any delete method. But there must be a way to do that.
<style type=text/css>
table table table table b a {display:none;}
</style>
Thank, i was wondering if the only way to use linq to sql is to use visual studio. I don't like to use designer and let it generate the code.
Pingback from VseWSS 1.3 CTP March 09 – Still Buggy
Thanks. Didn't think to edit the file.
Hi Corey Roth,
This a great post and it help me a lot.
I have a requirement to override the Search Action Link Webpart in People Search. I want to add two more managed property to the DropDown so that I can sort on that.
I want to add LastName and FirstName to the dropdown with the existing Relevance,social distance and name
Can you help on that
Thank you very much for this valuable information!!!
This sounds good?
What about ASP.NET applications?
Where we can find Platform Target to change it?
Pingback from Twitter Trackbacks for Using SPMonitoredScope to monitor performance of your code - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Just a suggestion. May it be, that you use SPList.Items unintentionally? You should not use this property, execpt you want to get all items in the list back. This one of many SharePoint API flaws.
This works great thanks! But for some reason when I do a search at the home page with the "all sites" option which has this filter it is not work. But everywhere else it seems to be work. Any ideas?
The only difference I see is the URL gets appended with &s=All+Sites.
Perfect, your was the only site that I found had to the point solution to this problem! Took me hours to find it but eventually got there :-) Cheers - Mithun
Is there an option to use either and both?
Hey there --
Really useful article. How would we do this, for instance, in conjunction with something like Content Type?
--Dave
@Dave - Content Type should be more than doable. Try adding a Category and setting the Mapped Property to ContentType. I'll try it when I get a chance, but if you happen to try it out, let me know if it works. Thanks.
I've tried this feature myself and still facing the same old issue as with MOSS2007 with multi-valued columns. When I add a managed property in the refinement panel it works fine as long as it's not multi-valued. If it is, the list of all the values appears as one element of the facets, all values being separated with ';'
Realle saved me there - thanks a bunch
Dug for 20 minutes before I figured this out. Was trying to figure out what the little arrow was about on the files. Good blog entry.
I have the same issue as above
This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application.
Great web part - thank you for all your effort! We have been using this in our Production environment. Works great except we could not get the relevance to work properly. Is there something we are missing?
To give you an example with SharePoint default functionality if I'm searching for a keyword and there is a site by that name what would come ahead of a document in a library, right? But after installing this solution this is not the case any more. Is anyone else having similar issue?
Thank you for any suggestion.
Bright Sky
Hi!
I have Fast Search SErver for Sharepoint 2010, and I´ve noticed that this phonetic people search just works al Mozilla or Safari, no Internet Explorer!!!
Which Browser do you use???
thanks!!!
Great job man! It's been invaluable for me for use with scoped lists. I drop it just above the scoped list and it works great. Thanks!
Hmm, I've had no issue using IE so far.
Excellent, glad it works for you.
@BrightSky I'm sure this is because wildcard search uses a full text sql query. With SharePoint 2010, I don't think this will be an issue for you.
actually you just need an empty <fieldrefs></fieldrefs> tag, with no fieldrefs in it to work.
Oh my god - I just spent a few hours trying to find this solution! - The german translation of the error speaks of a hostwebsite (ridiculously the error message is in english)
Thank you very much for finally giving me this :)
Pingback from Sharepoint 2010 People Search « Sladescross's Blog
How can I search for both keywords as well as managed properties in keyword query? Is this correct?
keywordQuery.QueryText = string.Concat(keywords + string.Format(" +Color:\"{0}\"","Red"));
where 'keywors' contains the string to be searched in all results where color=red.
I have a set of document libraries which in turn have the same set of folders. Is it possible to display the available folders in the Refinement Web Part under a category?
Hi Corey, great post! I followed your instructions and I can get the page with the feed but the individual list items will not show up. I assumed this was a Firefox thing and tried to use the same url in Internet Explorer 7 but I can't even get the page to load in Internet Explorer. Any suggestions?
Thanks Corey, it helped in preparing for my interview.
I am facing problems adding my new Metadata property into this. I created a site column called "Year", added this to a document lib, entered value for the column in each item and then did a full crawl (in fact did a Crawl index reset too before running the full crawl). Now, I added one more category titled "Year" and set its mapped property to "Year". I made sure that the "Use default.." checkbox is unchecked and set the no of categories to display to 10. I added this category before the "Managed Metadata Columns" category. After done all that, I don't see this category appearing in the Refinement Panel.
Any idea whether I have missed something?
SPWeb.Groups will allow you to pull out only the groups which have some / any kind of permissions defined within the site.
SPWeb.SiteGroups will pull out all the cross-site groups irrespective of any permission defined.
thank you for this, but can you pls explain what each parameter means?
Like
psconfig means re-provision
-cmd upgrade obviously upgrade (but what?), etc...
I'm not familiar with the end "-inplace b2b -wait"
thank you very much
Raphael
help me please my memory card not showing my data
the error is parameter is incorrcert
Thanks Corey, really good article and quite useful. You show me the light XD
Any ideas how to set SPGroup as target audience in the code in this post ???
THanks,
Good walkthrough, covers it all. It looks i have the same issue as Mark. http://<sharepoint-server>/_vti_bin/ListData.svc works!!
But if I go to sp2010/.../Tasks it shows me the RSS feed Tasks without any items.
If I make a list in designer I only get the properties and still no items. Any ideas?
Après quelques longues semaines d’absence, voici le retour du post récurrent “Lien de la semaine”. SharePoint
Introduction With SharePoint 2010 you can now extend the out of the box web parts, which essentially
Excellent. Glad I could help. :-)
@Sid To do a group, I believe you would change the format string to ";;;;{0}" where {0} would be the name of the SPGroup. It might be the Id of the group instead, but I can't remember. Try it out and confirm. Let us know what you get. Thanks.
Good tip! Thanks, Corey!
Pingback from Creating Crawled Properties « i:0#.f|SharePoint|Development
How can I use the Earlier Than and Later Tahn expressions in the KeywordQuery.KeywordQueryText syntax?
@Tom Those are only supported in SharePoint 2010. If you are using SharePoint 2010, you simply use the > or < operators. For example "write < '6/3/0/2010".
That's a bad news!
Is there any way to achieve a similar filter effect in SharePoint 2007? I'm developing a web part that basically creates a property search programmatically - it needs to replicate some of the capability of the advanced search property restrictions - so a typical query would be DocumentDate "Earlier Than" 7/2/2010. (DocumentDate is a custom Managed Property with a datetime data type).
Here is the code I have so far:
using System;
using System.Runtime.InteropServices;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data;
using System.Drawing;
using System.Xml.Serialization;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
using Microsoft.SharePoint.WebPartPages;
using Microsoft.Office.Server;
using Microsoft.Office.Server.Search.Query;
namespace CustomWebParts
[Guid("01482ed3-b90c-428d-bacd-706267645f89")]
public class CustomDateSearch : System.Web.UI.WebControls.WebParts.WebPart
Label lblDateSearch;
Label lblQueryResults;
DropDownList ddlYear;
Button btnSearch;
DateTime dtToday;
DateTime dtPastYear;
DateTime dtPast2Years;
DateTime dtPast5Years;
String strPastYear;
String strPast2Years;
String strPast5Years;
String strSelectedValue;
DataGrid grdResults;
public CustomDateSearch()
protected override void CreateChildControls()
base.CreateChildControls();
//DateTime Variables
dtToday = DateTime.Today;
dtPastYear = dtToday.AddYears(-1);
dtPast2Years = dtToday.AddYears(-2);
dtPast5Years = dtToday.AddYears(-5);
//String Variables
strPastYear = dtPastYear.ToString().Remove(10);
strPast2Years = dtPast2Years.ToString().Remove(10);
strPast5Years = dtPast5Years.ToString().Remove(10);
//Label
lblDateSearch = new Label();
lblDateSearch.Text = "Year Range Search: ";
this.Controls.Add(lblDateSearch);
//Drop Down List
ddlYear = new DropDownList();
ddlYear.Items.Add(new ListItem(" Select a Search Option", "0"));
ddlYear.Items.Add(new ListItem(" Past Year", strPastYear));
ddlYear.Items.Add(new ListItem(" Past 2 Years", strPast2Years));
ddlYear.Items.Add(new ListItem(" Past 5 Years", strPast5Years));
this.Controls.Add(ddlYear);
//Search Button
btnSearch = new Button();
btnSearch.Text = "Search";
btnSearch.Click += new EventHandler(cmdSearch_Click);
this.Controls.Add(btnSearch);
//Test Label
lblQueryResults = new Label();
lblQueryResults.ForeColor = Color.Red;
this.Controls.Add(lblQueryResults);
void cmdSearch_Click(object sender, EventArgs e)
strSelectedValue = ddlYear.SelectedValue.ToString();
if (strSelectedValue != "0")
lblQueryResults.Text = " ";
keywordQueryExecute(strSelectedValue);
else
lblQueryResults.Text = " *You Must Select a Search Option!";
private void keywordQueryExecute(string strQueryText)
KeywordQuery kRequest = new KeywordQuery(ServerContext.Current);
string strQuery = "DocumentDate:" + "6/29/2009";
kRequest.SelectProperties.Add("Title");
kRequest.SelectProperties.Add("SiteName");
kRequest.SelectProperties.Add("HitHighlightedProperties");
kRequest.SelectProperties.Add("Path");
kRequest.SelectProperties.Add("Author");
kRequest.SelectProperties.Add("Write");
kRequest.SelectProperties.Add("DocumentDate");
kRequest.SortList.Add("DocumentDate", Microsoft.Office.Server.Search.Query.SortDirection.Ascending);
kRequest.QueryText = strQuery;
//Configure the query to return relevant results
kRequest.ResultTypes |= ResultType.RelevantResults;
//Execute the query
ResultTableCollection resultsTbls = kRequest.Execute();
if ((int)ResultType.RelevantResults != 0)
ResultTable tblResults = resultsTbls[ResultType.RelevantResults];
if (tblResults.TotalRows == 0)
lblQueryResults.Text = " *No Search Results Returned!";
//lblQueryResults.Text = tblResults.TotalRows.ToString();
ReadResultsTable(tblResults);
void ReadResultsTable(ResultTable rt)
//Create a Data Table
DataTable relResultsTbl = new DataTable();
relResultsTbl.TableName = "Relevant Results";
//Create a Data Set, add the Data Table to the Data Set, Load Data into the Data Table
DataSet ds = new DataSet("resultsset");
ds.Tables.Add(relResultsTbl);
ds.Load(rt, LoadOption.OverwriteChanges, relResultsTbl);
//Add the Data Set to the Data Grid (Display)
fillResultsGrid(ds);
private void fillResultsGrid(DataSet grdDs)
//Create an instance of the DataGrid and set its
//DataSource property to the supplied DataSet
grdResults = new DataGrid();
grdResults.DataSource = grdDs;
//Set the display properties in the data grid
grdResults.GridLines = GridLines.None;
grdResults.CellPadding = 4;
grdResults.Width = Unit.Percentage(100);
grdResults.ItemStyle.ForeColor = Color.Black;
grdResults.ItemStyle.BackColor = Color.White;
grdResults.ItemStyle.Font.Size = FontUnit.Smaller;
grdResults.ItemStyle.Font.Name = "Tahoma";
//Set the display properties in the data grid Header
//grdResults.HeaderStyle.BackColor = Color.Navy;
//grdResults.HeaderStyle.ForeColor = Color.White;
//grdResults.HeaderStyle.Font.Bold = true;
//grdResults.HeaderStyle.Font.Name = "Tahoma";
//grdResults.HeaderStyle.Font.Size = FontUnit.Medium;
//Turn off AutoGenerate for the columns so that not all columns are returned
//grdResults.AutoGenerateColumns = false;
grdResults.AutoGenerateColumns = true;
//DataGrid configured to display only the desired columns
//Site Name
HyperLinkColumn colSite = new HyperLinkColumn();
//colSite.HeaderText = "Site Name";
colSite.DataTextField = "Title";
colSite.DataNavigateUrlField = "SiteName";
grdResults.Columns.Add(colSite);
//***Hit HighlightedProperties is not showing up!!! - Bug Fix
//Highlight
BoundColumn colHighLight = new BoundColumn();
//colHighLight.HeaderText = "HitHighlightedProperties";
colHighLight.DataField = "HitHighlightedProperties";
grdResults.Columns.Add(colHighLight);
//Path
HyperLinkColumn colPath = new HyperLinkColumn();
//colPath.HeaderText = "Path";
colPath.DataTextField = "Path";
colPath.DataNavigateUrlField = "Path";
colPath.ItemStyle.ForeColor = Color.Green;
grdResults.Columns.Add(colPath);
//Author
BoundColumn colAuthor = new BoundColumn();
//colAuthor.HeaderText = "Author";
colAuthor.DataField = "Author";
colAuthor.ItemStyle.ForeColor = Color.Gray;
grdResults.Columns.Add(colAuthor);
//Write - Created Date
BoundColumn colWrite = new BoundColumn();
//colWrite.HeaderText = "Write";
colWrite.DataField = "Write";
colWrite.ItemStyle.ForeColor = Color.Gray;
colWrite.DataFormatString = "{0:d}";
grdResults.Columns.Add(colWrite);
//DocumentDate
BoundColumn colDocDate = new BoundColumn();
//colDocDate.HeaderText = "DocumentDate";
colDocDate.DataField = "DocumentDate";
colDocDate.ItemStyle.ForeColor = Color.Gray;
colDocDate.DataFormatString = "{0:d}";
grdResults.Columns.Add(colDocDate);
//Bound the data to the DataGrid
grdResults.DataBind();
Controls.Add(grdResults);
@Tom Try using a FullTextSqlQuery instead. It allows you to do comparisons, but it may take some trial and error on your part.
www.dotnetmafia.com/.../how-to-use-the-moss-enterprise-search-fulltextsqlquery-class.aspx
Hi, I liked your article as its very informative, I came accross this one as I was looking for a solution to my problem.
So I retried doing my external list and do this your way according to your post as I might have done somthing wrong along the way, everything seems to be fine but I still have my issue which is if I go the my external list now it gives me this error.
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
Do you knwo why its doing this? I hope you could help.
I'm facing with the same issue as Herve; when i use a multi valued column in the refinement webpart, the list of all the values appears as one element of the facets, all values being separated with ';'.
Do you have any idea to fix the problem ?
Same problem as Hervé and Veronique, multichoice fields shows up as value1;value2;value2 in the refinement control.
If i look at the source from the core search webpart i see that my multichoice fields are returned in the xml, but i cant set the refinement control to the those fields fieldname_multivalue.
Anyone got any trix up their sleves?
Is there a way to programmatically invoke your wild card search web part? I was thinking of doing a wild card search - like "DocumentDate: *" and then filtering the results with a for loop before displaying in a Datagrid.
@Tom I don't think you could invoke it that way. I think your best bet for the wildcard search is to use the FullTextSqlQuery and then you can bind it to your datagrid.
@Veronique @Jason @Herve Honestly, I haven't tried it with a multi-valued field yet. I suspect it might be necessary to write a custom filter though. I'll look into it when I get a chance.
Random question.. what made you decide to use VirtualBox for your VMs instead of Microsoft Virtual PC or VMWare?
I'm wondering if I should consider switching.. I currently use Virtual PC on my work laptop and VMWare Fusion at home on my Mac.
Pingback from We Know Nothing » Blog Archive » People search not working in SharePoint 2010
How do you do this in SharePoint 2010?
The function below is obsolete in 2010;
Microsoft.Office.Server.ApplicationRegistry.GetLobSystemInstanceByName("MyInstance");
@Veronique, Jason and Corey. I'm still stuck with this issue. I've tried to implement my own custom filter generator but without any success ... more details on
social.msdn.microsoft.com/.../153190c2-de42-48c6-984c-a952971d5c7d
Pingback from Twitter Trackbacks for Using PowerShell to import test users into Active Directory - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
I had the same error.
After restarting the office sharepoint search service from CA.
I restarted the "Office sharepoint search service" from Control Panel. ,
Asma
They also seem to have changed the default network card to one the Server 2008R2 doesn't seem to know.
It really hasn't taken Oracle very long to trash a brilliant product. I wonder (I don't really as we all know) what there motivation could be for making it not work so well
no matter what STS_* i put i get 0 result .
i have 22000 item crawled.
Boy, am I glad I'm not the only one. I have been receiving the same performance issues on v 3.2.4. I'll download v 3.1.8 and will let you know how it goes.
Hi Corey - I'd reeeaaaaallllly appreciate your help ;-)
2 questions:
1. I'm noticing the wildcard is not working at the beginning of the search term. So if say I type "S29*", I get results, but if I type "*29", I do not get results. Is there a specific property (or even piece of code) I can modify to rectify this?
2. I have a search scope that is all PDF documents. Is there a way to make the wildcard search prioritize a specific column, in this case the document Title, so that matches on the title are prioritized over matches on the document's content?
Thanks much, and thanks for the great web part!
*Mike*
Pingback from | Randomizzzer | Debugging SharePoint 2010 SandBoxed applications created in VS2010 |
You were right, I used the FullTextSQL Query Class along with the DATEADD function and I got the results I wanted. My updated code is below:
String strToday;
String strSelectedItem;
strToday = dtToday.ToString().Remove(9);
strPastYear = dtPastYear.ToString().Remove(9);
strPast2Years = dtPast2Years.ToString().Remove(9);
strPast5Years = dtPast5Years.ToString().Remove(9);
ddlYear.Items.Add(new ListItem("Select a Search Option", "0"));
ddlYear.Items.Add(new ListItem("Past Year", strPastYear));
ddlYear.Items.Add(new ListItem("Past 2 Years", strPast2Years));
ddlYear.Items.Add(new ListItem("Past 5 Years", strPast5Years));
strSelectedItem = ddlYear.SelectedItem.ToString();
fullTextSqlQueryExecute(strSelectedItem);
lblQueryResults.Text = " *You Must Select a Search Option! " + strSelectedItem;
private void fullTextSqlQueryExecute(string strQueryText)
FullTextSqlQuery ftQuery= new FullTextSqlQuery(ServerContext.Current);
if (strQueryText == "Past Year")
ftQuery.QueryText = "SELECT Title, Description, Write, HitHighlightedProperties, Author, Path, DocumentDate FROM SCOPE() WHERE DocumentDate >=DATEADD (Year, -1, GETGMTDATE())";
else if (strQueryText == "Past 2 Years")
ftQuery.QueryText = "SELECT Title, Description, Write, HitHighlightedProperties, Author, Path, DocumentDate FROM SCOPE() WHERE DocumentDate >=DATEADD (Year, -2, GETGMTDATE())";
else if (strQueryText == "Past 5 Years")
ftQuery.QueryText = "SELECT Title, Description, Write, HitHighlightedProperties, Author, Path, DocumentDate FROM SCOPE() WHERE DocumentDate >=DATEADD (Year, -5, GETGMTDATE())";
ftQuery.ResultTypes = ResultType.RelevantResults;
ResultTableCollection oResultCollection = ftQuery.Execute();
lblQueryResults.Text = " Results Returned: ";
lblQueryResults.Text = " No Results Returned ";
// Execute the query and load the results into a datatable //
ResultTable oResult = oResultCollection[ResultType.RelevantResults];
DataTable dtResults = new DataTable();
dtResults.TableName = "Result";
dtResults.Load(oResult, LoadOption.OverwriteChanges);
DataSet ds = new DataSet("All_Results");
ds.Tables.Add(dtResults);
DataGrid datagrid = new DataGrid();
datagrid.DataSource = ds.Tables[0];
//General Datgrid Formatting
datagrid.GridLines = GridLines.None;
datagrid.CellPadding = 4;
datagrid.Width = Unit.Percentage(100);
datagrid.ItemStyle.ForeColor = Color.Black;
datagrid.ItemStyle.Font.Size = FontUnit.Smaller;
datagrid.ItemStyle.Font.Name = "Tahoma";
datagrid.AutoGenerateColumns = false;
//Document Name Link
HyperLinkColumn colDocNameLink = new HyperLinkColumn();
colDocNameLink.DataTextField = "Title";
colDocNameLink.DataNavigateUrlField = "Path";
datagrid.Columns.Add(colDocNameLink);
//Document Name
BoundColumn colDocName = new BoundColumn();
//colSite.HeaderText = "Title";
colDocName.DataField = "Title";
datagrid.Columns.Add(colDocName);
//Highlight (No Data Shows!)
datagrid.Columns.Add(colHighLight);
datagrid.Columns.Add(colPath);
datagrid.Columns.Add(colAuthor);
//Document Date
datagrid.Columns.Add(colDocDate);
//Bind and Add
datagrid.DataBind();
Controls.Add(datagrid);
Thanks Corey!
Tom
@Tom Excellent! Glad I could help.
@Remsal Unfortunately, the wildcard search web part doesn't work well with the Advanced Search web part.
@Mike So unfortunately, SharePoint 2007 doesn't support prefix matching like you are describing. The only way to get that is to use FAST in SharePoint 2010.
As far as your PDF issue. I think you could achieve that, but it would require you make some code changes to the Wildcard Search web part to tweak the Full Text SQL Query.
@Mark After further research, I have noticed performance improve some in 3.1.8. A colleague of mine went all the way back to 2.2 to improve performance. However, the latest thing I have noticed is that emulating one virtual CPU runs much better than emulating multiple.
Do you know how to add the document Icon to the search results\data grid?
Thanks so much for the response, Corey. Seems like we'll have to maybe create a new property with part number that excludes the prefix.
As far as the PDF issue, I'm happy to tweak the code in the web part. ANy suggestions? I know this is like asking for free consulting, so no worries if you don't have time for this ;-p
very best,
Mike
@Mike Get familiar with the Full Text SQL Query syntax. It shouldn't take long, it's very similar to T-SQL. Then, you can edit the code of the WildcardSearchWebPart and change the query so that it just searches the Title field. It shouldn't be too difficult.
@Tom I'm not exactly sure how the CRWP gets it, but it uses a field called imageurl. It's not listed as a managed proeprty but it may be reserved/hidden. Otherwise try PictureThumbnailURL and see if that gets you anywhere.
THANKS!!!!!!
Good article!
Do you know how to do this en vb.net?
ranouf
Sorry, one more question -- can specific custom managed properties or columns be specified in the Full Text SQL Query? So I could specify to search, say, only "Title" and "MyCustomProperty"??
@Mike Yes that is correct. You can specify multiple properties using AND/OR and have the query search just those properties.
Pingback from Twitter Trackbacks for Slides from my talks at NWA TechFest - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Using SearchCoder I can tell that PictureThumbnailURL just returns a null value. This seems to be one of those many unsolved problems with MOSS customization as evidenced by the many unanswered Blogs out there, like these two below:
www.eggheadcafe.com/.../custom-search-document-ic.aspx
www.itweb.co.za/.../index.php
This blog seems to provide an answer, but I'm not sure how to incorporate the answer provided into the datagrid I'm using, here's the blog:
social.msdn.microsoft.com/.../a16429ce-345b-444f-a386-92718675536f
Anyway, I'm still stumped on this one, any code examples would be greatly appreciated.
Hi Corey, thanks so much for this greate web part & article.
But I am searching same soultion for "People Search"; yes as you said people search uses PeopleCoreResultsWebPart instead of CoreResultsWebPart.
And as you said earlier, have you released this feature for People Search at Codeplex? if not, can you please let me know what would be the relatively easy to implement?
once again, thanks for the great web part & article.
Pingback from Twitter Trackbacks for Speaking about PowerShell tonight at Tulsa SharePoint Interest Group - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
@Senthil Unfortunately, People Search can't be inherited and so there is no clear way to implement it in 2007. There may be some hope for 2010, but that is yet to be determined.
I landed on this blog Googling high CPU util in virtualbox. I'm experiencing the same issue described here, but with a twist. i built a fresh Ubuntu 10.04 VM with VirtualBox on XP. At first, performance seemed find. On the third boot or so, cpu utilization spiked. Actually, the whole boot sequence slowed way down, even before getting to OS load.
The Host OS is idle. The only thing using any significant CPU is VirtualBox. There's no resource contention on the Host and I'm only running one VM.
So, to make things even weirder. I tried restarting the guest several times, and on one reboot, it came up speedy. CPU utilization in the guest was fine. I'm talking about a twenty second boot sequence instead of five minutes. I was able to reproduce this once more, but now I'm unable to get it to go fast again.
Very quirky indeed. I'm going to try downgrading to 3.18 and see if that's better.
Thanks, it resolve my issue :)
Right, so I've setup a VM in Virtual box 3.1.8. Emulating one CPU has worked ok but the performance could be better. I can hardly access SharePoint 2010 once I allocate multiple CPUs to the guest.
I then tried VMware Player and have received excellent performance with multiple CPUs. VMware Player is free but can only be used in a personal capacity (i.e. non-commercial)
The reason for not using Virtual PC is that it does not support 64-bit software. The VM I needed to create included Win 2008 R2 Enterprise, SharePoint 2010 Enterprise, SQL 2008 R2 Enterprise, PowerPivot add-ins for SharePoint and MS Office 2010.
@Mark I'm pretty much in the same boat. I never had an issue on my previous VMs hosted on my last computer, but since i have received this new laptop and installed SharePoint on the same base VM as before, performance isn't great.
One CPU is somewhat tolerable, but the CPU still spikes out easily (just by submitting a single page request).
So next on my list is try version 2.2 as my colleague had or try VMWare Player (which I'm not a huge fan of).
@Keren Scope Display Groups are defined at the site collection level. Any sites under them can use those groups that you defined.
I decided to downgrade again to 3.0.14 and can I say the performance difference is significant. 3.0.14 performs way better than anything else I have tried so far. My CPU utilization actually hits 0% at times. I've never seen it below 30% ever on any of the other builds I have tried. I'm hoping it stays that way, but it has been working pretty well so far today.
Pingback from Twitter Trackbacks for Using Visual Studio 2010 SharePoint Templates to deploy a web part in SharePoint 2007 - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Hi folks,
thanks a lot for sharing this. Does anybody know if this webpart allows for the display, in brakets, of the total number of hits per faced value (e.g. Excel (50) )?
@Lorenzo Only if you are using FAST.
Pingback from Twitter Trackbacks for Visual Web Parts in MOSS 2007 - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
I too changed the Service Account for the
Thank you, this is a very good tip!
Really it was a nice article attractive , I will try it .
any way thnx alot amn
Pingback from Twitter Trackbacks for SharePoint Post: How to: Set Default Column Values on a folder programmatically [dotnetmafia.com] on Topsy.com
How would you specify specific doc types from the query? E.g:
<QueryText language='en-US' type='STRING'>sharepoint filetype:'pdf'</QueryText>
This does not work!
Thanks Corey.
I've been spending way too much time on getting my custom master page to apply to my team sites.
I've turned on the publishing feature using feature stapling and that works fine but the master page that I've created (nothing more than a tweaked theme and two images) only ever render on the Site Settings page of my team sites.
If I open SharePoint designer and look at the Master Page gallery for a team site my custom master page isn't in there. Makes sense.
But why, if I go into the master page gallery from the team site (with publishing enabled) do I see the Site Collection master page gallery but can't apply my master page to the site properly.
I'm trying to create a duplicate environment to see if it's a problem with this specific build but I think the fact that I can't see the master page in the team site's local gallery is a big hint.
How do I get it there and how do I get this to propagate to all ne team sites?
Sorry for writing War & Peace.
N03L.
@Ian Enterprise Search does not like single quotes. Replace with a quote (") and you should be good. Since you're dealing with a string you will probably have to use \" to delimit it properly.
@N03L So you are deploying the master page via feature using the module element I assume? That should work. Have you checked the approval status on the page? Maybe for some reason it's not checked in and approved.
Pingback from Twitter Trackbacks for Bringing my PowerShell talk to Oklahoma City next Monday - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Pingback from Twitter Trackbacks for Some handy keywords you might find useful in SharePoint Enterprise Search - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Pingback from Using Visual Studio 2010 SharePoint Templates to deploy a web part … | Learn Visual Studio
Pingback from VentsThoughtsAndIdeas » MOSS 2007: The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress
Pingback from Twitter Trackbacks for SharePoint Buzz - How to: Change your namespace in a Silverlight application without breaking everything [dotnetmafia.com] on Topsy.com
really good post mate
Why not give it the correct name in the first place????
@michaud Well of course you can. However, I've been in scenarios where people want the project folder names a certain way (i.e.: they set up a tree instead of naming it after the namespace). And then again sometimes people just change their minds. :-)
Add-SPSolution can take the solution in the current folder if you specify the $(Get-ChildItem <path>) as the LiteralPath. For example:
Add-SPSolution -LiteralPath $(Get-Childitem mysolution.wsp)
@Martin Good to know. Thanks for the tip.
@Chris @ynuska If your project doesn't have any features scoped for a specific web application, use the -AllWebApplications parameter instead of the -Url parameter.
I'm really happy to found your information, that it is not all about me. My MSFT IW 2010-7a images are working *incredible* slow. 4 cores and 8GB attached :-/
Only reason that I didn't run Hyper-V is that my new HP 8540w seems to have an issue with i7 CPU running Hyper-V.
Throwing BSoD: “A clock interrupt was not received on a secondary processor within an allocated time”
I just need a working virtualization.. sigh
(=PA=)
Is the Central Administration -> Web Application General Settings located on the server box? or can I access it from a non local machine?
You can access it from a remote box if you know the URL and port to your central administration site.
According to the link "technet.microsoft.com/.../cc263093.aspx"
psconfig is for MOSS 2010 but I am facing this error on MOSS 2007 so guys is there any alternative command for MOSS 2007.
Thanks, Corey. This is a help!
After setting this up, however, I'm not receiving any message when no results are found. Any way I can rectify this?
Hello i use SP Foundation 2010.
I have a problem with the search Webservice.
I become no results with this sourcecode
Where is the error?
Can you help me?
thx!
Suche123.QueryService test = new Suche123.QueryService();
test.Credentials = CredentialCache.DefaultCredentials.GetCredential(new Uri(test.Url), "NTLM");
test.PreAuthenticate = true;
if (!test.Status().Equals("ONLINE")) {
return;
StringBuilder queryXml = new StringBuilder();
queryXml.Append("<QueryPacket xmlns=\"urn:Microsoft.Search.Query\" Revision=\"1000\">");
queryXml.Append("<Query domain=\"QDomain\">");
queryXml.Append("<SupportedFormats>");
queryXml.Append("<Format>");
queryXml.Append("urn:Microsoft.Search.Response.Document.Document");
queryXml.Append("</Format>");
queryXml.Append("</SupportedFormats>");
queryXml.Append("<Range>");
queryXml.Append("<Count>50</Count>");
queryXml.Append("</Range>");
queryXml.Append("<Context>");
queryXml.Append("<QueryText language=\"en-US\" type=\"STRING\">");
queryXml.Append("");
queryXml.Append("</QueryText>");
queryXml.Append("</Context>");
queryXml.Append("</Query>");
queryXml.Append("</QueryPacket>");
string resultXml2 = "";
var queryResults = new System.Data.DataSet();
resultXml2 = test.Query(queryXml.ToString());
queryResults = test.QueryEx(queryXml.ToString());
DataGrid1.DataSource = queryResults.Tables[0];
DataGrid1.DataBind();
@Raheel psconfig has been around a long time (including in 2007). I would give it a try. It seems to fix the issue for people a lot.
How can I use master pages to create a template in a wiki site? Do i have to switch to 2010 enterprise? It also seems that the only way I can add to the master pages is to upload a document where should create this document?
I am trying to create a wiki glossary.
Dear All,
I really appriciate the effort of CoreyRoth. I face same problem as you all. I made little chnage in the script and it is now working on version office 2007 as wel as on version office 2003.
<a onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','','0','SharePoint.OpenDocuments','','1','','1','0','0','0x7fffffffffffffff')" onfocus="OnLink(this)" href="{$url}">Edit Document</a>
i'm trying to add a custom property which is a managed metadata. it's named "Product" and in the central admin managed properties i see it as "owstaxIdProduct". what is the syntax to add in the refinement panel web part? i tried to set that name as you did with "Author". what's the difference between "Title" to "Mapped Property"?
Hi Corey, do you know if it 's possible to configure a custom managed property and get that property to appear in the RSS XML-file? Or is RSS too rigid for that? thanks!
I haven't been able to figure out a way to get it to show up in the RSS results. I think it may be possible but I need to look into it more.
@Somesh. Thanks for the update on the script to work in Office 2003;
@keren. I'm not sure if I am understanding your question right or not, but the Refinement Panel already has a managed metadata filter on it by default. The field it uses is ows_MetadataFacetInfo
Pingback from Twitter Trackbacks for Creating Enterprise Search Scopes with PowerShell - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
I've been experiencing the same problem, and came up with a workaround: stop and disable the SharePoint Server Search service. My development doesn't rely on search, so I'm okay for now. CPU utilization and disk read/writes down to such a degree that the VM is actually comfortable to use.
Chris
Pingback from Twitter Trackbacks for Missing Tag Cloud Web Part (and other Social Web Parts) after SharePoint 2010 Upgrade - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Hi Corey, thanks for this blog post, good stuf..
Do you know the powershell command/s to use to update the display groups after successfully creating a search scope?
Pete
@Peter I don't believe there is one. I've got an idea though. Give me a bit and I'll have something for you.
@Peter Ok, you inspired me. I created some cmdlets to create scope display groups. Check out the following post.
www.dotnetmafia.com/.../introducing-the-sharepoint-powershell-community-toolkit.aspx
Pingback from Twitter Trackbacks for Introducing the SharePoint PowerShell Community Toolkit - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Thanks Corey. This looks fantastic. I'll give it a whirl. What a turnaround!
Corey, I downloaded the Codeplex tookit and tried it out, great stuff!
I then went back and read your blog post on creating cmdlet's and had a crack myself at a couple for the toolkit if you'd like (and which have helped me out for my current work)... I saw you noted them as possible Future Commands. I've created : Remove-SPEnterpriseSearchQueryScopeDisplayGroupScope (simply removes a scope from a given display group) and Get-SPEnterpriseSearchQueryScopeDisplayGroup (returns a display group to work with).
@Peter That's excellent. I was actually planning on writing those two commands tonight so thanks for saving me the time. :-)
I don't have the code set up in TFS yet, so if you want to just post the snippets to a discussion on CodePlex or ping me on twitter and I'll shoot you my E-mail address and I'll get them included in the build.
Corey (@coreyroth)
Hi Corey, I've just added the code as a discussion on CodePlex... if you could run your eye over it and make any updates as you wish.
I made another small change to the New-SPEnterpriseSearchQueryScopeDisplayGroupScope cmdlet also, just to check if the scope already exists in the display group first. I'll add this as a discussion item also.
// add the scope to the display group if it hasn't already been added
if(!scopeDisplayGroup.Contains(scope))
scopeDisplayGroup.Add(scope);
Pingback from Twitted by JimPoshible
Has anyone tested 3.2.8 to see if this is fixed. I know you are all dying to leave your reliable 3.0.14 :)
@Nicholas Nope! I haven't tried it yet. Would love to have some of the 3.2.8 features but I am afraid to break what I have that is working. :-) If anyone tries it, please give us a report.
I just tried it and it seems pretty good. Only issue is Oracle seems they can't get their head of their butt on the monitor issues. Only issue I have now is on a second monitor full screen does not work. But it does seem speedy with no thrashing. Woot!!!
@Nicholas Hey, that's good news! Of course I thought that things were working good with specific versions before. :-) I may still give it a try soon. Thanks for the report.
Hello Corey,
Thanx for you article.
i have a requirement where i have to search data across multiple site collections. so thought of creating search scopes.but am facing an issue when defining the search scope for different site collections in our site. it is not showing any item count.
its working fine in my local environment but failed in production.
Do in need to activate any features?
Pls tell me what would be the issue.
@prathima How are you defining each scope? by using a URL to each site? Do search results work normally if you don't use any scope? If you are using alternate access mappings on your server then you may need to change the URL that you specify in the scope.
Pingback from Twitter Trackbacks for Creating a Content Source Scope Rule using PowerShell - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Pingback from Twitter Trackbacks for SharePoint PowerShell Community Toolkit Updated - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
I'm looking in changing max upload file size in SharePoint, but I don't want to set up on global level, but rather on site level or even better on list level. I want only for one list to be able to upload files bigger than 50mb. Is this possible?
Best regards,
Pingback from Sharepoint Security Blog on: Charlie Smith: A simple way to programmatically create SharePoint security groups – Corey Roth – DotNetMafia.com – Tip of… | Social Networking & Digital Collaboration news, tips, guides...
Very good post, thank you for that. But still, you searched for Mike's phone number and didn't find any. Nor does this organization browser show any important information.
Is it possible to show phone numbers in search results or in organization browser somehow?
Allright, I got it. Search results will show phone numbers once they're indexed, but organization browser still doesn't.
Hmm. I don't think there is anything built-in for that. You might be able to write an ItemEventReceiver that checked the file size and reacted accordingly but that would be after the file got uploaded.
@Silver Yes, you should be able to show the phone number in your results after it is indexed as you mentioned. I don't know of any way to customize the organization browser (not saying it isn't possible though).
Cory,
Great article! With the information above I was able to add a new scope for a content source but I can't seem to get a subset of results back for just the specified content source/scope. Instead I get results back from all content sources. It is like it is ignoring my scope when I select it next to the search box in the Fast Search Center site.
I have enabled the scope dropdown in the UI and it shows my new scope. I have verified that ContentSource is a Managed Property/Crawled Property (FAST SearchAdmin >> Managed Properties). Any thoughts? Here is the commands I used to create my scope and rule:
$searchapp = Get-SPEnterpriseSearchServiceApplication "FASTQuerySSA"
$scope = New-SPEnterpriseSearchQueryScope -Name "ContentSrcScope" -Description "A scope for a single content source" -SearchApplication $searchapp -DisplayInAdminUI $true
New-SPEnterpriseSearchQueryScopeRule -RuleType PropertyQuery -ManagedProperty ContentSource -PropertyValue "ContentSrc" -FilterBehavior Include -url http://sp2010.domain.com -scope $scope -SearchApplication $searchapp
So your content source is called ContentSrc correct? What does it look like in the UI, does the scope rule show created. Is there an error next to the scope? If so, does it go away after compiling the scope rules? I haven't tested my script in FAST yet, but it should be the same. I'll try it when I get a chance.
Update: Even though I can see the new scope in my scopes drop down, when I run the command Get-SPEnterpriseSearchQueryScope the CompilationState is still QueryExpanded and it shows that theLastCompilationTime is 1/1/0001. Meaning it hasn't been compiled yet. Could this be my problem? If so how do you force a compile?
@Steve You can compile it through the UI. Look for the start compilation link in your service application. You can also download the SharePoint PowerShell Community Toolkit and execute the command in PowerShell.
To answer your questions, yes my content source is called ContentSrc (I made it generic for this post). There is no error next to the scope in Central Admin. Update Status shows Ready but Items shows 0 (zero).
When I run the command Get-SPEnterpriseSearchQueryScope the CompilationState is QueryExpanded. So, I am guessing it is not compiled and therefore will not return any results. Correct?
So how do you compile a scope? I have been looking for the last hour or so and can't find anything.
I don't have the option to compile the scope from my FASTContentSSA. When I select the drop down for my scope I do not see an option to compile. All I see is Edit Properties and Rules.., Make Copy as Shared, and Delete. I wonder if this is due to FAST and you have to compile a different way?
Also, I see on the command New-SPEnterpriseSearchQueryScope there is an option called -CompilationType but the docs out on TechNet don't give you any clue as to what type of data that parameter expects. I am going to look at that more. I will also take a look at the toolkit.
Pingback from Twitter Trackbacks for How to: Use the SharePoint 2010 Enterprise Search KeywordQuery Class - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Many thanks, this solved my issue.
Pingback from Twitter Trackbacks for How to: Use the QueryManager class to query SharePoint 2010 Enterprise Search - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
I installed 3.2.8 and I still have the problem. Guest is maxed out the whole time. Infact I find it worse then 3.2.6. That damn Oracle logos fault.
I'm also seeing the same issue that spex66 mentioned: "Throwing BSoD: “A clock interrupt was not received on a secondary processor within an allocated time”"
This is on my HP 8540w laptop running Server 2008 R2 and HyperV. Spex (or others) - did anyone resolve the issue with this BSOD or sort out a workaround?
Funk
Thanks for the post. I am setting up the development environment following this post. How about install & setup the mail server? I install smartermail but it seems sharepoint cannot talk to the mail server. Any thoughts?
Pingback from Sharepoint 2010 Blog – Luis Valencia » Using SPMonitoredScope
Here's a how-to post on creating a custom RefinementFilterGenerator
www.chaholl.com/.../creating-a-custom-refinement-filter-generator.aspx
Pingback from Wildcard no SharePoint – Se voc?? ainda n??o precisou, um dia vai precisar. « Blog ValeLigado
I am looking at configuring the CoreSearch results web part for each content type (e.g. People Search, Events Search, News Search, Library Documents Search, Location Search). Apart from this, i would also like to configure the Refinement Panel of Enterprise Search 2010 for each of the above content type. Can you please let me know if it is possible.
ram
I throw the same COM error (file not found) in a 2010 custom protol handler and the crawl log says The object was not found. ( ), but does not say (The item was deleted because it was either not found or the crawler was denied access to it). Any ideas what might be diffrent in the 2010 implimentation of the search protocol handler?
I am learning SP 2010 (specially FAST search part) from last few weeks , This is very helpful ! Thank you so much !
Well done for posting on this - everyone else has gone the UI route. Duly bookmarked! Thanks!
thank you, it solved my problem...
@Ted I'm afraid I don't. I'm still looking into custom index connectors so I haven't discovered all of the differences yet.
@Ram The Refinement Panel is pretty easy to configure. Try this post and see if it helps.
www.dotnetmafia.com/.../get-to-know-the-refinement-web-part-in-sharepoint-2010-enterprise-search.aspx
If the solution has no web application resources it is considered a global solution and does not actually need to target an web applications. Remove the -AllWebApplicaitons and this global solution will be deployed globally to the farm and will be available to all web applications
I cant get this to work with the "Posts" list in a blog site. All of the other lists from the blog site work fine in this manner but when i try adding the "Posts" list i get "the website cannot display the page"
Any idea why whis does not work for blog sites?
@Steve I've had issues with it myself on particular lists, but I haven't tried it on that particular one. I'll give it a try.
Do you know if it is possible to edit the web part in SharePoint Foundation? When I get to the search page there is no Edit Page option. Any ideas?
@Marco SharePoint Foundation uses an application page for search results so its not easily customizable. However, if you install Search Server Express on top of foundation, you get a search center and you can edit it.
I know this is an old post but I have a related question.
Did you notice that when crawling a site outside of Sharepoint the date displayed in the search results is equal to the 'last crawled date'? I am currently looking for a workaround for this and thought I would ask if/how you have dealt with this issue.
Download the .udcx file, delete the sharepoint one and upload the previously downloaded back. You can now specify the Title and do the Check-In (you could also modify the file parameters such as the connection string if necessary).
Like some commented before it's not possible to extend the PeopleCoreResultsWebPart instead of the CoreResultsWebPart because it's sealed but i have made some adjustments by reverse engineering some of the PeopleCoreResultsWebPart functionality's so if you're looking for specific People WildCard Search webpart check out my post at www.moss2007.be/.../MOSS%202007%20People%20wildcard%20search%20webpart%20and%20refine%20your%20results..aspx
Pingback from Adding a link to a document's folder in SharePoint 2010 Enterprise … « xsl
code is placed in the wrong line!!!!
insert it before </span> - 4 lines higher and you will be happy ;)
Thanks for this really helpful article!
I wonder if it is possible to set a sort order and sort direction using the QueryManager approach? Or is this only possible using the KeywordQuery class? I need the results in XML so the QueryManager would be my prefered way...
Regards, Marc
Pingback from SPRoleDefinition Custom Permission Level « Sladescross's Blog
@Mathias
Grrr. The wrong screenshots got posted. I'll get them corrected. Thanks for the catch!
Pingback from Troubleshooting the Unexpected Error has Occurred in Office Web Apps « Experience & Solution 410
do you know how is the 'r' query string parameter created? is it a hash of the property's value we are refining by? i tried urldecode to see what it is but i get a long set of chars, i guess these are guids. do you know more about this param?
Hi Guys,
I have the same problem, on the latest version 3.2.8
Allocated 4 GB RAM,
4 CPU's and a standalone sharepoint environment is 100% CPU all the time.
I will be trying to downgrade.
ORACLE? Do you have anything to report on this issue?
Do you know if you can export an external list out of sharepoint to load onto another sharepoint server. For example, I create a list that displays information from an ERP application and I want to share with one of my sister companies that has its own sharepoint site.
Seems the downgrade to 3.1.8 has not worked, the CPU is still maxing out at 100%. If anyone has a solution please share it with us.
I seem to have the best luck still with 3.0.14. It's still has moments of high CPU spikes but not nearly as bad as the newer versions.
Pingback from Twitter Trackbacks for How to: Use the Chart Web Part with Excel Services - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
I have no Search Service on my site...
How can I access to my _bdc Folder?
How the Profile Page's URL is it built?
Great Post - Do you know of a way to leverage the Chart Web Part with summary data from a SharePoint List? I would like to graph data similar to this post,
www.endusersharepoint.com/.../finally-dynamic-charting-in-wss-no-code-required
but use the OOB Chart Web Part using web part connections.
TIA - Tom
Looking for an easier solution for end users to create their own dynamic dashboards, without the need to modify or write script.
Pingback from Sharepoint 2010 BI – Integrasjon mot fagsystemer « Windjusveen`s blogg
Absolutely Right
reset the password for the service account used to run the services. You have to go to central admin, operations, services on server, click on Off Sharepoint Server Search and enter the new password.
and then restart the "service Office SharePoint Server Search" or simply reboot
cheers Stephanie
@Pogo The profile page URL is built once you configure the URL on your service application. The _bdc folder is autogenerated once you create a profile page.
Great to see this discussion. I have had the exact same problem. Let me add to this already messy issue. I had been using 3.2.8 for a while, with an AMD Athlon 64 x2 with 8GB RAM, it was doing ok actually, CPU keeping at 80%. I got greedy and upgraded the CPU to AMD Phenom II x4, and it bundles with the CPU problem. :( I have tried downgrading to 3.1 version and had no luck. i am now trying 3.0 and moving up the chain. Sometimes i wonder it has to do with the CPU. Any idea?
@EdwardW You know host CPU might have been related for me. I never remember having any issue on my previous laptop which I believe was some kind of Core 2 Duo. When I got my new laptop which is an i5, I have nothing but trouble with the guest CPU.
Yah the problem is intermittent for me, it comes and goes. Corey I also have an a newer processor (i7) 8 cores! Still got issues sometimes!
Pingback from Twitter Trackbacks for How to: Debug a Custom Index Connector - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Does anyone have steps to perform this via powershell?
Pingback from Twitter Trackbacks for How to: Debug a PowerShell Cmdlet - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
This works great for documents but for other items in search results like site or apge is also opening edit mode. Is there way to avoid edit option for site and pages in search results
@Sunny Sure. You can add a check to verify that the file is a document, just put your link inside an xsl:if like this.
<xsl:if test='isdocument = 1'>
</xsl:if>
That is the syntax for SharePoint 2007. If you are using SharePoint 2010, you would use:
<xsl:if test="isdocument = 'True'">
After playing around with different versions, and many hours of trials, I might have found the source of trouble. I now have a pretty stable (at guest CPU Util at 10% when idle, and it does not stay at 100% when hitting SQL. I am even assigning 2-core processors! FYI, i had disabled nested paging, this seems to be giving the 100% cpu. See if it helps you too.
HI
Does it mean if I set up a new Profile Synchronisation connection, the account needs to have rights to SYNC back to Active Directory(AD) ? What if the account does not have rights to SYNC back to AD - does it mean I cannot do 'People search' in Sharepoint 2010 ?
@Belle The account only needs rights to sync back to AD if you want it to do so. People Search does not require that right to be able to search on people.
@EdwardW I guess I need to try turning off nested paging as well on a newer version and see how the performance changes. Thanks for the hard work. I know we're all excited to get VM performance back where it was.
Better Way is to do the following:
web.Lists.Cast<SPList>().Any(list => string.Compare(list.Title, listName, true) == 0)
using extension methods.
very useful article..
Save my lot of time.
Pingback from Deploy SharePoint 2010 Solution « Microsoft Technology, .Net, BizTalk, Sharepoint & etc.
Hi...
I followed the code given in the article and tested it in my SPS 2010 environment.
The line
ResultTableCollection resultsTableCollection = keywordQuery.Execute(); is throwing me an exeption saying "No address available for this application.". what could be the reason...?
...Vishnu
Great job! thanks a lot!!!
created a new ssp and it worked for me!!
Hi
Thanks for the post!
I'm facing an issue, i have a custom ContentType with some fields that are of the type Managed Metadata, these fields doesn't get published in the listdatas.svc how to do this? I've been googling for the past 3hours with no luck :(
thanks for your great post.
I refer to yours in my own blog
Let me add to the voices that stepping the VPUs down from 2 to 1 dramatically reduced the amount of CPU in use with 3.2.8. With 2, its 100% CPU, 100% of the time. Knock that down to one and its usable. Now to downgrade my version of VirtualBox....
Excellent article! I doubt this works for cmdlets written in PowerShell (aka. Advanced Functions), since you're not typically developing those in a Visual Studio environment (unless you're testing out PowerGUI VSX, of course)?
:-)
Trevor
Pingback from Changing The Name of The People Search Scope – Umpossible? | SharePoint Blues
@EdwardW Thanks again for the info on the nested paging fix. I've tried it with 3.2.8 and so far things are looking good. I'm not pronouncing judgement yet since I thought things were better and I've gotten burned. :) However, it definitely seems to be looking better.
great post man. this area very undocumented and a struggle to include into feature deployment. thanks
@Vishnu Hard to say. Verify that the search service application name is correct. Also verify that you can execute queries using the search center as well.
@EdwardW A day later and things are looking great. For those that are not familiar with the setting see this quick post I wrote up on it. Thanks again!
www.dotnetmafia.com/.../fix-high-guest-cpu-utilization-in-virtualbox-by-disabling-nested-paging.aspx
Hi...Thanx for the nice post.
Is the Chart webpart option also available in publishing site template? When I checked, I could find it under BI site template only. Please advise. Thanks
how to set "SortXML" property in CoreResults web part?
this property comes when we inheriting the CoreResults web part ?
@SVB Yes, the Chart Web Part should be there under business data. Is your publishing site upgraded from SharePoint 2007? Check and make sure you see MOSSChartWebPart.webpart in your site collection solution gallery. If it's not there, you may have to manually add it.
Just one thing about the Copy & Paste. You do not have to use the menu for Copy & Paste, you can simply use the mouse buttons. You use the left button to mark, then you right-click to copy it, and finally another right-click to paste it. This works in either Powershell and Command Prompt. But first, you need to enable the QuickEdit Mode. So, go to the menu, and open Properties, and check QuickEdit Mode under the Options tab.
Luis
Just did a google search for this and you came up first. Small world. Thanks! :)
Pingback from Twitter Trackbacks for How to: Execute FAST Query Language (FQL) Queries using the KeywordQuery Class - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com
Pingback from Twitter Trackbacks for Fix High Guest CPU Utilization in VirtualBox by disabling Nested Paging - Corey Roth [dotnetmafia.com] on Topsy.com
@Josh Indeed. I hope it helped!
Pingback from Twitter Trackbacks for Useful tips for Command Prompt and PowerShell Noobs - Corey Roth [dotnetmafia.com] on Topsy.com
Thanks for sharing the knowledge Corey.
Pingback from SharePoint 2010: Die Standard-Suche « SharePoint and relevant Technologies
Where to put that code ?
would you please post a step by step instruction on how to use it to search a specific document library with custom columns ? i installed it ,activated the feature ,created a scope ,added the webpart to the page ,then ,it doesn't show anything ,not even a search box,what am i missing?
Thanks. Saved my day too.
@ShareNew You can put it wherever you like such as in a console application.
Please find details on the PS steps to create the profile page.
Add-PsSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
# Create the profile page
$url = "http://gr06"
$context = Get-SPSite $url | Get-SPServiceContext
# Do not use these commented out constructors. There is currently a bug in the BdcServiceApplicationProxy contstructor where the AppId is not set.
# Therefore, the ProfileProvisioner constructor doesn't get called with a valid bdcproxy object. It's not obvious that there was a problem until the CreateProfilePage call.
# At which point there is an error message: Exception calling "CreateProfilePage" with "2" argument(s): "Object reference not set to an instance of an object."
#$bdcproxy = New-Object Microsoft.sharePoint.BusinessData.SharedService.BdcServiceApplicationProxy
#$profileProvisioner = New-Object Microsoft.SharePoint.Portal.WebControls.ProfileProvisioner($bdcproxy, $MetadataStore)
$profileProvisioner = New-Object Microsoft.SharePoint.Portal.WebControls.ProfileProvisioner($context)
$res = $profileProvisioner.CreateProfilePage("Microsoft.Lobi.OracleModel","employee")
Hi - i had this problem and this is pretty much the only post out there about it! I found that although I hadn't added a new query server any time recently, the propagation of the index file was failing, and this was the cause of the issue. Check propagation settings, fix that and this error should go away.
Hey,
Can we retrieve the PropertyBag object of a web via sharepoint web serivces (out of the box).
Pingback from Twitter Trackbacks for Guest post on the Scripting Guys PowerShell Blog - Corey Roth [dotnetmafia.com] on Topsy.com
thnx for this great article. i followed your instructions to the letter but i am having challenges when it comes to displaying the contents of the database table in the sharepoint list. all i see is the column headings from the external data source without the actual cotents.
Any help?
Nice article. I could deploy the list. Plus I have a custom xslt. I tried replacing the path on both the places. It seems that the custom.xslt has no effect whatsoever.
I just replaces main.xsl with custom.xsl.
Is this correct?
Zia
This webpart does not work for me
Consider a custom list of projects.
Title Quarter Cost
Project1 Q1 15,000
Project2 Q2 10,000
Project3 Q4 20,000
Project4 Q4 30,000
Project5 Q4 40,000
Could not configure the following charts
1) A chart showing me the number (count) of projects per quarter. In this example: Q4 should show 3 projects.
2)A chart showing the total cost per quarter. In this example Q4 should show 90,000$
I noticed that bars for Q4 appears 3 times in the above example instead of aggregating and showing just once.
This is an excellent post, really helpful. Cheers!
I am provisioning a CoreResultsWebPart as part of a feature. How do i configure the SearchOptions? In other words, how do I set this in my site definition / elements.xml:
<Properties>
<Property Name="LastName" ManagedName="LastName" ProfileURI="urn:schemas-microsoft-com:sharepoint:portal:profile:LastName"/>
<Property Name="FirstName" ManagedName="FirstName" ProfileURI="urn:schemas-microsoft-com:sharepoint:portal:profile:FirstName"/>
...
To obtain the GUID of a solution...
use powershell cmdlet
get-SPSolution
you shouldnt be wrapping "SPContext.Current.Web" in a using block.
Ack. Good catch. I can't believe I did that. I updated the post. Thanks.
Pingback from Twitter Trackbacks for Displaying Social Ratings in Search Results - Corey Roth [dotnetmafia.com] on Topsy.com
I want to set up the filename
<udc:FileName>Specify a filename or formula</udc:FileName>
as value of my control in infopath,
i am deploying the infopath form through central admin,
Looks like you beat me on the publish. Funny how we were both working on the same topic...Check out my post: todd-carter.com/.../Pimp-Document-Ratings-within-SharePoint-Search-Results.aspx
@ToddCarter Wow, what are the odds. You implemented the stars in the search results. Very nice.
This is a really helpful article. I do have a small question though. I am a little stuck at the URL section for Module in ProvisionedFiles.xml. I have to deploy the page to the /Pages/Forms directory in sharepoint. I am using the below URL - <Module Name="Pages" Url="$Resources:cmscore,List_Pages_UrlName;" Path="Pages" RootWebOnly="False">
This can deploy the page to the pages directory. Can you tell me how to deploy to the Pages/Forms directory.
On your Url attribute just change it to Pages/Forms and it will deploy to that folder.
Is it possible to display Scopes in the refinement box ?
@jorge I think it depends on what is being refined. For simple managed properties it is the same syntax as the keyword query. If you are seeing guids, I think that is how managed metadata shows up (and a few other things).
@Norman There is nothing out of the box. Once you execute a query, I don't think there is a way to tell from the results what scope each result came from when multiple scopes are returned. You could always write a custom web part to allow the users to click on a scope and requery.
Thanks Corey for the quick reply. Unfortunately I dont have the skill set to create a custom Webpart.
When the results comes in (All site includes all the scope , File server as well as Intranet ) . In the refinement box there is section Called Site. whic displays Any Site and the server name. I wanted to give them a user friendly name. Anyway thanks for your help.
We upgraded from MOSS 2007 to sarepoint 2010. When are successful applying the master page and keep the old site's look and feel same as the old one. But when ev
I tried it but theer a new site is created they are having the new look and feel,
Can I get the newly created sites too get the older version.
Or is there something I am missing?
Is there a script I can use? or is there any other solution
I think there may be a problem with the project you attached. The package.package as well as the feature seems to be basically an empty schema, so I don't get the SharePoint version attribute and other things.
Thus the feature is empty and when deploying to the server the feature does not appear as per your screenshot above.
Can you please re-post the attachment? I don't have SP 2010 on my dev box which is one reason this was such a good post!
Paul.
This didnt work for me. It complains about the format of GUID.
Also I observed this worked for you because to have <udc:Name>list_2f9fb67e-ab7d-44b7-accc-d9f6c9ca37f9</udc:Name> and
<udc:ListId>MyCustomList</udc:ListId>
SO in a way you have provided GUID already. In my case my UDCX looks like
<udc:Name>MyListName</udc:Name>
<udc:ListId>{cd0dc49f-6a57-4eab-8d59-4458773bc271}</udc:ListId>
Replacing ListId with Name doenst work for me.
Can some post a reply I need to move my form template from development to production. And I donot know List ID in advance.
Pingback from Sharepoint 2010 Subsites webpart | www.SharePoint247.com
I face the issue trying to add to infopath gives me:
Could not open listdata.svc
Not enough storage space
please help!
Thanks alot for the post. Here I have placed all possibilities as discussed:praveenbattula.blogspot.com/.../infopath-form-cannot-save-following.html
Hello Si, hello CoreyRoth,
can you please tell me why you removed the using statement for "SPWeb currentSite = SPContext.Current.Web;" as that's the way I'm working right now.
Also topic related, is there a way to activate the Enterprise Site Collection Features at once instead of activating the 10-15 features which are part of the enterprise features?
thanks, another question:
in my coreresults webpart, i have an 'append query string' (webpart property) that limits results to a specific spsiteurl, but the refiner seems to ignore this and i get refinments from other sites also, the search results work as expected. do i have to set this query in the refiner as well somewhere?
Thanks for posting this article. I found it very helpful in creating 30+ metadata properties that I thought I was going to have to do through the GUI.
The one parameter I still don't understand how to set is the one to check the option for "Add managed property to custom results set retrieved on each query".
Pingback from SharePoint 2007 Workflow wont autostart when using IP address « David Heath
Pingback from Root Level Site Collections « SharePoint From Scratch
The problem remainded after I disabled the nested paging. However later on I installed the 3.2.10 Virtual Box version and the problem went away. HTH Vojtech.
thank you very much. your suggestion is live saving
Are you sure that updating the schema.xml file do have an effect on the creation of list.
I tried removing a few fields from the <views> tag but they are still appearing in the list.
I tried modifying the xsllink value they are still refering main.xsl
It would be really great if you could ponder a few point over the same.
Its sometimes the simplest things - this had me stumped till I read this - any ideas how I link the search center in with all of the search boxes in the v4 template? lol.
Pingback from ways to access Sharepoint object model « Alen Ziver Malhasoglu's Microsoft Commerce Server Blog
Pingback from Deploying WSP solution files in Sharepoint 2010 « Alen Ziver Malhasoglu's Microsoft Commerce Server Blog
Starting the SharePoint service in Central Administration also enables and starts the SPUserCodeV4 Windows service. Moreover, this also silently changes the logon user and password for the SPUserCodeV4 service. Woe is you if that user or password is incorrect -- there isn't even an error code in Event Viewer.
How do you disable Phonetic Search? Is there a way to do this through PowerShell or through Central Admin configuration?
The phonetic search is an option at the per query level, so PowerShell is not an option. This isn't an option on the PeopleCoreResultsWebPart so that means if you want to disable it you are going to have to write your own search code using the UI.
Why do you want to disable it? Most people want it to be easier to find people not more difficult. :)
I followed the steps. Its working fine. Great. Thanks.
I use it for resource files common between a server project and a client project. Very handy!
This doesn't work. Entities do not have a "Properties" section except for their methods. I did exactly this, to the T, and it still creates the profile page.
@Kyle.
You must have done something wrong, because they do in fact have a Properties section. Here is an example of one of mine I am using in production today.
<Entity EstimatedInstanceCount="0" Name="Product">
<Property Name="Title" Type="System.String">ProductName</Property>
<Property Name="DefaultAction" Type="System.String">Default</Property>
</Properties>
Do you know how to make it automatically cumulate data for the chart. In your example, what if you had red toy trucks on one line and orange toy trucks on the another. How do you get it to add the toy trucks together? Actually, I just noticed it's the same questions as Abhishek.
Problem cleared up for me too, but only with upgrade to 3.2.10.
host: ubuntu 10.04.1 AMD64
guest: win7, 2010 Enterprise
My question is: if file share have ntfs permissions for diferent sharepoint users, search result will be considerd?
I'm getting the same error but even after rebooting my "development machine" I'm still getting the same error and cannot upgrade to enterprise.
Grate article. I am going to use XML feed in XML viewer with xslt..
When SharePoint indexes a file share, it will pick up the permissions and automatically security trim results for users who do not have access to the files. For this to work, your crawl account must be an account with read permissions only (not an administrator).
I've tried most of the solutions offered on this page and your previous blog ... no go.
Guest:
VB 3.2.10, Windows SRV 2008 R2, SQL SRV 2008, Dynamics AX 2009
Host: Windows 7 i970 16GB
Searching old virtual box threads I found a suggestion of creating a second dummy VM (i.e. minimum hd, memory etc -- no os). Start the dummy VM first and then your primary VM.
Now this solution worked great - I'm able to see 0% guest utilization where as before it would never get below 36%.
I like this, but it is not working for lists. Do you have some idea why ?
BR,
Pingback from Twitter Trackbacks for Slides from my BCS talk at Houston TechFest posted - Corey Roth [dotnetmafia.com] on Topsy.com
Pingback from Custom List Definition « Sladescross's Blog
Do not worry, I have encountered this issue before.
Unfortunately you will find that sometimes Properties is more reliable than using the default accesor. Why? The default accesor sometimes simply fails.
It is still a pain in the ass for me, because you can not query if your operation will perform well or not, so you might have to do some try catches sometimes.
And dont get me started while copying data from an Item in another List.
Can we make this as a dropdown what we see i.e. Title with edit menus?
so, i've created the standard display/edit/new forms on an external content type list. i've also created a profile page as a default action on the ect in question. i am trying to accomplish two things with this setup:
1.) have the default link from the readlist be to the profile page, rather than the display form - i do not want to use the display form at all. i'd like all content type interactions to occur from the profile page, as it displays all pertinent data (i.e. associations, attributes, etc.)
2.) from the profile page, have two links for both editing the current content type instance and a link for creating a new instance of the content type in question. i want the two links i just described to use the standard edit/new forms already created for the ect list.
how can i accomplish either one of these goals? i'm finding that editing default webparts (specifically the readlist) is quite difficult and not at all straightforward. any help would be greatly appreciated on this. thanks.
Andreas, he removed the using block because he wasn't the owner of the object. SharePoint instantiated that particular object, SharePoint is responsible for disposing of it - if you instantiate an SPWeb using the constructor then you own it, so you dispose of it (likewise if you use SPSite.OpenWeb(url) for instance).
If you dispose of SPContext.Current.Web then anything later in the page lifecycle that tries to access the object will not be able to find it and will throw an exception.
Roger Lamb's "SharePoint 2007 and WSS 3.0 Dispose Patterns by Example" blog really helped me get my head round this:
blogs.msdn.com/.../sharepoint-2007-and-wss-3-0-dispose-patterns-by-example.aspx
You may also want to look up "stack heap c#" - garbage collection makes it all to easy to develop in c# without understanding memory management!
If you haven't figured it out, the rules are here msdn.microsoft.com/.../ee557925.aspx
Likely you used Office 2007. It will works with Office 2010.
Comment:
When you do not use the asterix wildcard the refinement panel is not filtered. So this makes this solution limited in use.
Question:
We want to modify the WildcardSearchCoreResultsWebPart to change the look of the results web part. But whatever we do in Designer is not displayed in the browser.
Do you know why?
Kind regards,
Mario
m.vandeneijnde@on-l-i-n-e.com
Pingback from Copy source as Html in Visual Studio 2010 « Philippsen's Blog
Pingback from Twitter Trackbacks for Slides from my SharePoint 2010 Development talk at Tyson Devcon and NWA CodeCamp - Corey Roth [dotnetmafia.com] on Topsy.com
Hi ,
I have created a chart webpart ,but i need different color for each bar in the webpart ,i have searched but i could not find it..i have changed in the series in advance properties..please tell me the way to achieve it........
Chart web part gives me an error if i try view it anonymously - Object reference not set to an instance of an object.
LOgged in i see it perfectly.
Not working
Good post. Really helpful! Thanks for sharing!
Thanks a lot for your helpful article.
I'm trying to figure out how to the same as Raj & Abhishek too - any pointers?
I am real beginner at SharePoint developing, so I am sorry for this post but I need to solve it.
I don´t understand this part of instructions :
"When this is complete, you can browse the file system and find your .wsp file in the bin folder. Copy the .wsp file to the SharePoint 2007 server if you aren’t already on it. Then add and deploy the package with stsadm. At this point, you will have a feature that you can activate on your SharePoint 2007 server. Go to site collection features and activate it."
I really would appreciate if somebody will write me an explanation or just send a link where it has been already explained.
Thank you a lot
d4_david@centrum.cz
I've run into this error myself, but my solution was to use the fqd and not the short name when specifying the account.
enterprise.com\username
instead of
internaldomain\username
Thank you! I was writing the wrong case (<eq> </eq>) in my CAML query. It's actually <Eq> </Eq>...
Thanks again! It saved my day!
I can't get this to work on a migrated 2007 list (works fine on a brand new 2010 list) - any ideas why? or more importantly how to fix it?
Do you have any idea why this webpart won't work against the FAST SSA? Against the built-in search it works just fine, but if you point it to use FAST results it shows nothing at all.
I believe in majic. Thanks for the psconfig!
Hi, i have worked with other graph web parts before ex (dundras) and they did have an option to enter C# code to modify your chart. Is this the case with the chart web part of share point 2010, if it is so, can you tell me where exactly to go for this feature
Pingback from custom permission in list
I have the same problem as DaveSam's comments that the solutions shows up in central admin, but does not show up as a feature on my site collection. I read your post and the solution is not showing in my features folder in the 12 hive....what can I do?
@santosh I'm not sure if I have seen a way to do that. @George I haven't figured out how to get it cumulate either.
@d4_david The wsp file in the bin folder contains your code in a single deployable package.
See the bottom of this post for instructions on how to deploy the .wsp with stsadm.
www.dotnetmafia.com/.../intro-to-sharepoint-development-how-to-build-and-deploy-a-web-part.aspx
@George - Migrated List. Now that is interesting. My guess as to the reason is that the underlying schema for deploying lists has changed. I'm surprised it doesn't work. I want to research this more.
@Mikael I'm surprised it doesn't work. The syntax should be the same. I'll try this out when I get a chance.
@Fab To my knowledge, there is no code option with this web part.
I get weird behavior by the Contains prediacte. using Contains(ColumnName,'test') would return "btesting" (part of word results) etc. why would I need then the wild card * in this case? and how do I get results like "this is a test", removing part of words results?
Is it possible to use the fql capabilities of the KeywordQuery class somehow with the QueryManager?
Getting xml is in many cases nicer than a datatable and if I can skip rendering xml myself from the datatable that's less code and complexity :)
i am getting this error, i have done every single thing in this blog and other but i continew to get the same error when i try to go to search setting in under administration/ sharedservices1.
all services are runing but i keep getting this error and my search still does not work
(The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.)
@Mikael It should be (since we know that is how CoreResultsWebPart) does it. It's actually on my list of topic for future blog posts but I haven't gotten to it yet.
This is a great solution.
It does work for fast for SharePoint 2010.
But when I use it does not returns the "Did you mean ?" or as mentioned before it does not return any message when no results are found.
Do you know why, or how to solve it?
Thanks'
Yael.
Do you have any suggestions on how to delete the Service Application manually? I've been sitting at the deletion page for the last hour now.
You can also do it with PowerShell, but I don't remember the syntax off the top of my head. However, you would probably still be waiting.
Pingback from Search Sharepoint with keyword Query | Bruce Chao: Sharepoint Learning Blog
When I do the People Search, I get the results but cannot see their picture. It seems that it is looking for something instead of the User Photo directory where the thumbnails are saved. Is it /_Layouts/images/ folder. How do I get pictures to show up when doing a Peopel search in Sharepoint 2010?
Pingback from forex webs » Office Tip of the Day
Can we somehow , anyhow connect this chart web part with performance point report. Because to be honest Performance point chart options are good but this is EXCELLENT !!!!! for example
Legend Location:
Performance point : only top or right
Chart webpart : out of 8 or 10 locations well placed as dial pad for location idea is awesome!!!!
I came here finding how to add a legend on performancepoint pie chart.
@Ikram Did you do an upgrade to SharePoint 2010? If so, did you run the PowerShell command to migrate your photo store?
Is that aplicable to SharePoint 2010?!
@Kostadinnm Yes, it should work in SharePoint 2010 as well.
How cane we combine this solution with your 2007 document link handler?
I have a question - we are crawling several file shares but the users in SharePoint 2010 are unable to edit the documents when they do a search in SP. They are only able to open the docs in Read Only mode (they aren't asked, it's automatically happening). Is there something I can do to change this? They want to be able to edit the docs when they pull them from the file share via SP.
Thanks!!!!!!!!!!!
Hello Roth.
I installed your web part on MOSS 2007, add to the page results. It works only with advanced search and without wildcards. In simple search no results are displayed. Any Idea?
Pingback from Twitter Trackbacks for How to: Start over with SharePoint 2010 Enterprise Search - Corey Roth [dotnetmafia.com] on Topsy.com
Very helpful. Thanks!
Hello Corey.
A problem with web part. It doesn't work setting properties in weba part task pane. For example I i set the scope or change xml nothinh happens. Is it by design?
Alberto
Pingback from Twitter Trackbacks for Slides from my talk at Tulsa TechFest 2010 - Corey Roth [dotnetmafia.com] on Topsy.com
first of all, thanks for the posting it was of great help.
Like Zia, I have tried to change the XslLink within the schema.xml file and redeploying but it does not appear to take effect. If I change it manually throught he UI by editing the webpart then it works. Anyone has any idea why it would not work throught he schema.xml ?
hmmm.... this sound slike it could be my problem - I don't even have the "Microsoft SharePoint Foundation User Code Service" in my list of services, so am unable to restart it! - any ideas?
This is great. Thanks.
I can not beleive Microsoft haven't fixed this in SharePoint 2010.
Problem solved. Thank you very much :)
Host Ubuntu 10.10 x64
Guest Windows XP
VirtualBox 3.2.10
CPU Intel DualCore (HP 6530)
Corey: Very informative. But the URL syntax used in the Sharepoint 2010 search centre seems to be different -- it seems to want &s= for scopes, and there's an &r= for refinements.
Any idea where the URL syntax for 2010 is documented?
After years of trying to fight to good fight (of sticking up for Virtual PC and Hyper-V) this was the straw that broke the camels back.
VMWare is the solution. Simple as that.
Microsoft has dropped the ball.
"Developers, Developers, Developers"
perhaps not
Hi,am trying like Abhishek.Any idea?
Same problem here with the DIP and default metadata values. And I am using Office 2010.
On the plus side, I have successfully used an event receiver to implement cascading defaults - as Corey wished for in the last paragraph. That's not too hard, at least.
I was wondering what one can do if the error does not go away with a full crawl.
I keep getting the same error unless I restart the SQL and the Search Server VMs. Then everything crawls fine up to 600K + records. Then the error comes in again. This is definitely not a permission issue and the ADF is published to the correct SSP.
Any guidance would be appreciated.
is it possible to Configure MS Search when we are working in a Workgroup Env...
The data from my lookup fields are not coming through - is there somthing special I need to do when using REST?
@Akshay It may be possible, but I'm not 100% sure. You would definitely need to create a crawl rule and specify an account to use to access that file share.
@Jack Check your ULS logs in your 12 / 14 hive) when you perform a crawl. Look and see if you can find any additional information that might be related to a permissions error accessing the underlying database or web service you are indexing.
@George Interesting. What version of SharePoint are you running? Is this a multiple server environment?
@Josh I haven't been able to find a link on it. It's basically the same except the addition of r. There may be another new parameter I am not thinking of though.
Pingback from Twitter Trackbacks for Spice up your ECM with Ratings in SharePoint 2010! - Corey Roth [dotnetmafia.com] on Topsy.com
Pingback from Is SharePoint good for ECM?
this article saved my day..
Pingback from wordpress blackle template - Wordpress 201
I am trying to instantiate these classes{ SearchQueryAndSiteSettingsServiceProxy and SearchServiceApplicationProxy proxy } in my application which is not a sharepoint application but a web application, they are giving me loadtype Exception, any idea of this exception
Hi Corey, thank you for this very helpful article! Is it possible to limit search to specific document types i.e. images?
@ You could use the FileType keyword to return specific file types. See this post for more information.
www.dotnetmafia.com/.../some-handy-keywords-you-might-find-useful-in-sharepoint-enterprise-search.aspx
I was facing the same error. My Farm consist of total 5 servers with Farm size reaching 900 + GB.
Restarting Search Services [Office sharePoint Server Search and Windows SharePoint Services Search ] from services.msc did the trick for me.
Thanks for the helpful info! You got me really close, bu there is one thing preventing me from scripting all of my Search Server crawling setup. I'm hoping you can help me to conquer the remaining item.
I cannot figure out how to script Crawl Rules that use forms authentication (FormRuleAccess). How can I supply the Form URL, username, and password via PowerShell script?
Nice.. Great Post. Wonder if it’s possible to show results from SharePoint search site from different farm in to new SharePoint farm using fed location url . How can one create a url that can be pasted in to the fed location and see result in new farm.
Pingback from Build and Deploy A User Control In Sharepoint « Sladescross's Blog
Pingback from Code Access Security « Sladescross's Blog
Pingback from Is SharePoint good for ECM? | EndUserSharePoint.com
Just what I needed. Thanks, Corey!
Pingback from Twitter Trackbacks for Adding a link to a document???s folder in SharePoint 2010 Enterprise Search - Corey Roth [dotnetmafia.com] on Topsy.com
This good post for first hello world.
Thanks !!
@Umar Yes, you can federate to other farms just by using the RSS link. Just do a search on your farm and note the URL that the RSS link uses. Follow the steps in this post to set up a federated location with that URL.
@Joy Great! Glad it was helpful.
@Lee that's a good question. I suspect, you will have to create the crawl rule and get an object back and then look in the API to see how to set the rest of those properties. I'll try to take a look when I get a chance.
First of all, let me tell u, all the posts in this site are really helpful.. I have a query.
Is this "AppendTextToQuery" field can be used only for users who are having "Full control" access? I'm currently working with the same, and not able to get the filtered result for Users having access below "Full control".. Could you please let me know if I'm wrong?? Or let me know how to make it work for Users having below "Ful control" access..
If I could find it in the API documentation I would not have asked for help. :] This is the only API doc I have found:
download.microsoft.com/.../SharePtServTechRef.doc
Do you know of a better one?
I was having this problem yesterday. None of the recommended fixes worked for me. I ultimately addressed it by deleting the Content Source and all related items (Crawl Rules, Scopes, etc.), then crecreated everything e-x-a-c-t-l-y as before. This seems to be the unfortunate "solution" to several issues I'm experiencing. Accordingly, I've scripted as much of it as possible.
How to get the best bet result using SPS2010 & keywordQuery?
@TheGenius set the ResultTypes property on the KeywordQuery class to ResultType.SpecialTermResults to return Best Bets.
@Lee Have you looked at the details of Net-SPEnterpriseSearchCrawlRule?
technet.microsoft.com/.../ff608119.aspx
@Monisha well it should work for any user. When you are crawling, make sure your default content access account does not have administrator permissions as that might cause issues in your search results.
It is really a nice article. Corey I have one question. I couldnt see any place where to delete the value of the Sharepoint 2010 from the property window so that it can delete from the attribute. The problem is I dont see any schema like that. Please help
Thanks a bunch! You just saved my day!
Hi Corey have you ever encountered this?
I tried to connect a chart with an External List but the SP only allows one column to be selected for the Y-Axis. All columns are available for the X-Axis.
Have you ever encountered this? Incidentally, that lone column is the only date/time column. I'm looking at your example chart with two non-time valued axes with envy!
Thanks for this great article Corey, saved me lots of time.
The only thing I would add is to do a Scope Update from the CA: Search Service app main screen, so that the scope can be used straightaway rather than waiting for the schedule to kick in.
Great read!
How would you best go about to provide a link on the search center which takes you back to where your search originated from? And is there a way to display which context your are searching in without doing custom development on the search result page?
Great Post - Just the information I needed.
@Lukito That is odd. Are they different column types or something?
Just installed 3.2.12 and no longer need the dummy VM and testing with nested paging works fine.
This PowerShell concept is really different and very interesting to read. The tips gave me many useful things. But i have one doubt that is this resource has no web application can you explain about it? Thanks...
godwinsblog.cdtech.in/.../sharepoint-2010-root-of-certificate.html
Pingback from Adding deploying solutions using powershell + sharepoint 2010 « Nathasha88's Blog
Pingback from Twitter Trackbacks for Slides from my talks at SharePoint Saturday Kansas City 2010 - Corey Roth [dotnetmafia.com] on Topsy.com
Can someone post a version of this for SharePoint 2010. It will be greatly appreciated.
Nice Article Corey.. !! Liked the one to one comparison of PowerShell with STSADM commands..
Here's a blog I wrote noting steps for other deployment approaches with snapshots..
rahul-vartak.blogspot.com/.../deploying-sharepoint-2010-sites-using.html
You're a life saver (F) (F)
Pingback from Twitter Trackbacks for Should you automatically map crawled properties to managed properties in SharePoint Enterprise Search? - Corey Roth [dotnetmafia.com] on Topsy.com
Thanks for the information. Can a property be set and then assigned a value via PowerShell?
What I need to do is create 8000 site collections and need the sites to have custom properties that are pulled and from .csv files and assigned as the site collection top level site is created.
The site creation I can do with PowerShell. But can I assign the property bag property values with PS?
@David Have you tried it with 2010 yet? I'm not sure how much the JavaScript has changed or not so I am curious. If it doesn't work, I'll start seeing if I can find a solution.
@Kevin I am thinking the answer is yes. When you retrieve the site you effectively get a SPWeb object. I think once you have that you can set the values you need to set. I'd have to test it because I'm not quite sure of the syntax it would require.
Pingback from java script code for writing api for microsoft serach | ??????
Pingback from Wildcard no SharePoint ??? Se voc?? ainda n??o precisou, um dia vai precisar. | ValeLigado
This article is simply great, I am learning about custom document sets and you explained it very well. Thanks
Y-Axis will only show columns with numerical data.
If you have a column that contains numbers, but Sharepoint views it as text, it will not allow the column on the y-Axis
Absolutely great article. One of the best on the internet for Webpart building and deployment. Thanks a ton!
Pingback from System.IO.FileNotFoundException on "SPSite = new SPSite(url/IP)" « Ammar's IT Blog
Pingback from Twitter Trackbacks for Use Keyword Query Syntax instead of SQL Syntax for SharePoint 2010 Search Queries - Corey Roth [dotnetmafia.com] on Topsy.com
Pingback from EXAM PREP « Kollipara's space
I use VS 2008. I created a C# Console application and target framework is 3.5. I try to open the web of a MOSS 2007 server url and get the same error. Any idea what should be changed??
This blog is very helpful for me. Thank you so much:)
Can you do this in VS 2010 and SharePoint 2010?
@Brad Yes you should be able to. However, VS2010 does do some cleanup and conflict resolution for you when it deploys and retracts solutions.
Pingback from Twitter Trackbacks for Are you getting the most out of SharePoint Search? - Corey Roth [dotnetmafia.com] on Topsy.com
Great introduction for people wanting to do search, and I see the same problems with meta data quality for our customers. I´ll point them to this post :)
A quick two comments.
Using a drop-down for scope or even advanced search is poor usability in my opinion. Most people don´t understand advanced search, and drop downs tend to be too long. Getting people to actually understand navigators is hard, until you tell them how to use them. I´ve found that using tabs for the most used navigator/scope-selector is more efficient, and something users understand.
The other comment is about "default values" on meta data selections. This is a very very bad idea (unless you have som logic which chooses the value based on the content) as it gives default values to a lot of documents. Systems like Hummigbird DM has had meta-data for ages, and when you look at the documents they are often tagged as "General". Either you make the user pick the right value, or you let it be empty/not-set (which is no good). Creating systems which helps you pick a correct value is the way to go, but you have to confirm it.
@Mikael You're right the drop-down on the scopes list only provides limited usability but I find it good if there are just a handful of options allowing users to pick between very large search scopes. I've had quite a bit of success with developing custom advanced search pages. I've built user controls and Silverlight applications and my users were very receptive to the options it provided them.
I think the default values are great when you can use them to inherit values from folders that have good values in them. Especially when everything in the folder has known information (such as all files in this folder are associated with a particular product, division, or other classification). Unfortunately, it still seems like a bit of code is necessary here sometimes.
Adding a bit of code to improve the quality of meta date is a small price to pay, and there´s no fun in a search project if there is no custom code :)
Pingback from Deploying an External List via Feature using CAML #sp2010 – Corey Roth « Jimblog
Pingback from Buzz Lightyear is here » Blog Archive » links for 2011-01-06
Pingback from Chart Web Part in SharePoint Server 2010 « SharePoint and relevant Technologies
I'm trying to use the FullTextSqlQuery to execute a search from inside a timer job... but it is not returning anything... the equivalent webpart does return results... Strange… and I’m not sure how to impersonate for the search…
This is the information I was searching.
I'm also having this issue where I receive an empty list with only the column headings. It seems to be related to the setting of filters, which you haven't covered in this article.
I can set a Limit without issue, however a comparssion or Wildcard filter results in the following error:
Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
Pingback from Twitter Trackbacks for Slides from my SharePoint Search talk at Tulsa SharePoint Interest Group - Corey Roth [dotnetmafia.com] on Topsy.com
Great post, thank you!
You reference SPUtility, but i can't seem to find it. Is this something that was part of 2007 but has been removed for 2010?
I finally have people results, thanks for the blog!! seems my problem was the "Retrieve People Data for Search Crawlers" step.
Thank you. Great work.
Pingback from Twitter Trackbacks for Free up some resources on your FAST Search Development Environment - Corey Roth [dotnetmafia.com] on Topsy.com
Pingback from How to set default columns values against a list or library. @ The Buzz Blog
This is the shortest syntax I've found to add a solution from the current folder:
add-spsolution "$(gl)\SharePointProject2.wsp"
Reference: blog.mastykarz.nl/easy-installing-sharepoint-2010-solutions-powershell
HTH, Alex.
Is it possible to build and deploy a SP2010 application using C# code.
The idea behind this task is providing an SDK to client to build and deploy application through code. Is here any class available in ASP.Net to build and deploy a Sharepoint application through C# code.
Please help me its urgent and needs experts advice.
I would like to invite you to take a look at Nevron Chart for SharePoint. The web part comes with the Nevron Pivot data aggregation engine and it can help you solve very complex data analytical tasks in SharePoint.
The Chart web part is available for SharePoint 2007 and 2010.
Pingback from How to I setup search on SharePoint Farm A to use the query server on Farm B? | baasaa
As Josh, I ended up on your blog following a google search for this feature. straight to the point, thanks :)
It worked but my SSP kept disappearing/corrupting so I took the code out...
Do you have any updated insight into using AllProperties within the context of a SharePoint 2010 Sandboxed Solution?
<Todd />
  In this post I list some developer resources for learning about sandboxed solutions in SharePoint
Nope...still no go. Updated to 3.2.12, turned off nested paging as well as creating a Dummy VM. Utilisation of guest @100%
Win2k8R2 64 as Host. Win732b as guest.
My other VMs (Ubuntu, XP) work fine and no abnormal CPU utilization.
Pingback from Bug When Adding CAS Permissions to WSP Package « Amr Attia's Blog
Thank You, it's ver very useful.
Pingback from Search Programmatically Call « Sladescross's Blog
I tried using this to add a list item with a lookup field (multiple allowed). But i failed get values added to the lookup field on the list. Also when I retrieve the list for items that have manually added lookup values, the REST service returned nothing.
Any idea how I can get this to work ?
I'm looking for a way to reset the ratings on a document when a new major version is published. Is there any way to do this with the current rating system?
I'm trying to use the Append Text To Query to filter on a datefield like - ItemExpiryDate>DateTime.Today where "ItemExpiryDate" is metadata property mapped to the site column. I want to get only those items which have an expiry date greater than today's date. I get an error like "Property doesn't exist or is used in a manner inconsistent with schema settings"
If I give a date directly, like ItemExpiryDate>"1/1/2011" it works
Pingback from deploy web part as a feature code « Dot Net Solutions
@Rajner I'm afraid the Append Text To Query property doesn't allow you to use code in it such as DateTime.Now. What you could do is inherit from CoreResultsWebPart and override the property that way though.
Thanks for the reply. I didn't get your reply clearly. Can I extend and expose that as a toolpart filter very similar to append text to query?
Currently I'm doing the filter in XSLT. Is that ok?
CoreyRoth:
I did what you say but not able to retrieve the result in case of fast search.
Do we need to do anything extra for fast search?
Thank you for this list of keyword querys.
René
Hi, I always see NO result in contextual search... any news ?? thanks
Pingback from Twitter Trackbacks for How to: Programmatically Activate a Feature - Corey Roth [dotnetmafia.com] on Topsy.com
@TheGenius Make sure that you have the name of your FAST Search Query application correct when you set up the SearchProxy.
@Rajner I think you'll need to write a new C# class that inherits from CoreResultsWebPart to achieve what you want. I don't think XSLT will help.
@svet If contextual search is not working I would go back and verify your alternate access mappings first. I would also try testing results on your site using the site keyword and a URL. If it works correctly, you should see results. If you have a bigger issue, it won't return results.
@Mikael Sorry for the late reply, I didn't see your comment come through. Yes, you identified the two common issues with putting your results through the search center. I think both are going to require a bit of customization to the search center master page (or at the least adding a web part).
Very nice post, Corey! It is indeed a great way to exclude sections you don't want to be crawled when you have control over the website's content.
I'm glad to have shared this trick with you and even more that you tested in SharePoint 2010 and it works there too. You are now the expert on this :)
Leo
@Leo thanks again for sharing the trick!
Its correct when i give it chance it returns blank tables for the best bets and the visual best bet.
Can you provide me sample code which work in case of FAST search?
So, i Can try the same on my end.
Thnaks for your support.
thank you for this post, it solved my problem
is there any way by which i can set a user (individual user) as target audience???
Thanks in Advance,
Pingback from Creating a Solution Package in Windows SharePoint Services 3.0 « Dot Net Solutions
Pingback from Intro to SharePoint 2010 Development: How to Build and Deploy a Web Part « Dot Net Solutions
I think you would have to create a new audience for each individual user and target to that audience.
Pingback from Twitter Trackbacks for How to: Deploy Metadata Navigation without using code - Corey Roth [dotnetmafia.com] on Topsy.com
Maybe it's just me, but this looks like code to me. Where is the schema.xml located btw?
What if the excel file is on a server and not using a URL? When I plug in the server name and path, I get Exception has been thrown by the target of an invocation error. What am I doing wrong? I believe the error is coming from the server path and not the sheet/range name...
@Matt. Well one could argue XML is code but in this case I am comparing to using the API with C#. The schema.xml is what you use to built a custom list using CAML. If you are looking at an existing list, you can get the site column id by going to list settings, clicking on the column of interest and grab it from the URL.
@Bob like on a file server? I don't think it will work there. Yes, you will get that error when there is an issue finding your spreadsheet. It's too bad a more friendly error isn't given.
Pingback from Deploy Metadata Navigation Using CAML « Sladescross's Blog
hi,
I have set up my search service on sharepoint site.now i am trying to access it from .net code.My All site scope is workign fine but when i use people scope its saying"errror no reslut found".Even its working in sharepoint configuration.Please help ...below is my code.
PeopleSearch.QueryService queryPeople = new PeopleSearch.QueryService();
queryPeople.Credentials = System.Net.CredentialCache.DefaultCredentials;
string a= queryPeople.GetPortalSearchInfo();
queryPeople.Url = "abbottppdviz/.../search.asmx";
queryPeople.PreAuthenticate = true;
string query = @"<?xml version=""1.0"" encoding=""utf-8""?>
<QueryPacket xmlns=""urn:Microsoft.Search.Query"" Revision=""1000"">
<Query domain=""QDomain"">
<SupportedFormats>
<Format>
urn:Microsoft.Search.Response.Document.Document
</Format>
</SupportedFormats>
<Context>
<QueryText language=""en-US"" type=""MSSQLFT"">SELECT Title, WorkPhone, Department, Path, Description, Write, Rank, Size FROM Scope() WHERE ""Scope"" = 'People' </QueryText>
</Context>
</Query>
</QueryPacket>";
string resultString = queryPeople.Query(query);
DataSet ds = queryPeople.QueryEx(query);
Thaks in advance...
Thank you so much for sharing. But my environment is VS2005 and SP2007, is it working in this way?
@Dave Yes, VS2005 will work pretty much the same way. However, I would point out that there is absolutely no excuse to be still running VS2005. The product is now 6 years old.
www.dotnetmafia.com/.../people-it-s-time-to-upgrade-to-visual-studio-2008.aspx
@Dinesh You do not want to use Full Text SQL Queries here as they are considered deprecated. You a keyword query instead.
www.dotnetmafia.com/.../use-keyword-query-syntax-instead-of-sql-syntax-for-sharepoint-2010-search-queries.aspx
I didn't have the Add As Link Option, I just have the standard Add and the "Show previous versions" options... anybody knows why?
I'm using VS 2010 Professional....
Thanks for taking time to post this Corey. Solved a problem I've had for a couple of days. Worked perfectly first time
Finally a chance to post this question! We already spoke on the msdn forum about a ToolPart thingy.
The other problem I am having is the following: I want to use the QueryManager to take full control of my CustomCoreResultsWebPart and fire my query to our FAST server via the QueryManager rather than setting the FixedQuery property for the Web Part. I have prepared a string to be used as a search query and followed your code in the article. In my case I want to output the results of the query directly to the screen (customization with templates and so on will be implemented later), so I am overwriting the RenderWebPart method. Now I am not sure if I should be issuing the query in the QueryManager (GetResults) in this method, but well.. Anyway, the XmlDocument keeps on coming back empty, and I don't understand why. My location is there, my querystring is set, but queryManager.Getresults(locationList) does not seem to give anything back.. what could I be doing wrong? Thanks in advance!
Why the price field is not displayed in the list view?
Following your code example, the xmlDocument = queryManager.GetResults(locationList) keeps on getting back empty. Location and Querymanager are initialised ok, and setting the query as FixedQuery (which is what I don't want to do) is working just fine. Any idea what I could be doing wrong? Trying to do this all in an override of the RenderWebPart method.
Roel
"Deploy Metadata Navigation without using code". I thought how it is possible? But after seeing your blog only i came to know how simple it is.. Good job Mr.Corey. Thanks for your different blog post. keep posting different posts always. Simply by placing controls itself you deployed Metadate Navigation. This idea is simply great.
@RoelBss Start by verifying that you have the location name and search service application names correct. Then verify inside SharePoint itself that your query works if you haven't already. Also try a query that returns the entire content source (i.e.: ContentSource:"Local SharePoint Sites").
Great article. Just an FYI the -name should be -filename when adding a solution.
stsadm –o addsolution –filename sharePointProject2.wsp
Ok, done that! location name is the standard location for fast search: "FASTSearch" and I'm getting the search proxy like this: SearchServiceApplicationProxy searchProxy = (SearchServiceApplicationProxy)SearchServiceApplicationProxy.GetProxy(SPServiceContext.GetContext(SPContext.Current.Site));, which gives me back the correct SSA name.
I may have to add that I am overwriting the datasource and datsourceview to enable some extra searchproperties (like fql). In which method should I put the QueryManager code?
debugging now: I am getting a "Property doesn't exist or is used in a manner inconsistent with schema settings" exception in the FastSearchRuntime method "GetResults", where the xml is filled with the command: queryResult = this.GetQueryResult(query);
Is this the result of bad initialization of my Querymanager?
Thanks for the nice post. I appreciate if you can provide the same with progrmatic approach.(not CAML but object model)
solved: one needs to specify a different set of properties for a FAST search location for the querymanager to be able to get the results. So now I have the XmlDocument containing the results of my search, how can I display them in a nice way? If I just write out the innerxml it looks terrible, I would like the "normal" xml markup as my output.
thanks!
@Roel probably the easiest way is with an XSL transformation. It will allow you to take the XML and transform it into usable HTML.
nope, that's one of my requirements, to do this without xslt. but no matter, I've figured it out. I get my xmlResultDoc in the GetXPathNavigator override, and then override the RenderWebParts method to write out just my xmlResultDoc with some extra info (xml open and close/xmp tag). Now it's just the same output as if if put an xslt transformation over the results that would output pure xml! thanks so much for all the help!!
hi i am triying to filter only list items and documents, where can i find the text to query?, e.g. you used IsDocument:”1” how did you get that one? thanks :)
@lili This post has some more handy search keywords you might want be interested in.
Pingback from Twitter Trackbacks for Hiring a consultant is not a replacement for SharePoint training - Corey Roth [dotnetmafia.com] on Topsy.com
Here! Here! I'd also mention that an engagement goes faster (and therefore cheaper) when you have an educated admin behind the mouse wheel.
for me impersonate="true" does not work.
I thought I was finished with this topic, but a question still remains: I want to integrate my Custom Web Part that uses the Querymanager to get xml results with the standard Search Web Parts, like Search Paging. Now I am instantiating my QueryManager like so: QueryManager queryManager = SharedQueryManager.GetInstance(Page, base.QueryNumber).QueryManager, so that I have an instance for a specific QueryID of the Querymanager. When I add the SearchPagingWebPart however, and set it to the same ID (2 in my example case is the QueryID for the base Web Part) it doesn't show me any paging options. Anything I am forgetting here?
@Roel I'm not sure there. I think it should work as long as the QueryID is the same, but there may be something else as you suspect.
The weird thing is, it seems to work when my searchlocation is "InternetSearchResults", at least the Search Paging Web Part appears. The paging doesn't work though, it keeps on showing the same page when I click the link for "next" or a page number. For locations other than "InternetSearchResults" it doesn't show at all. Not really understanding this..
Thanks for your explanation Corey but I'm getting this error and I've check twice all the steps. Does someone know another issue regarding WebPartImporter?
Excellent article. Making full use of this for re-deploying an existing site into sharepoint.
My problem is I also want to set meta data for the pages (additional fields in the document definition). I have created <Data> section in the list defition that creates the new library but the information contained is not populated? The pages are available however and are listed
@CoxianUK Do you by chance happen to be using SharePoint 2010? If so you can try using the PropertyBag element to set the properties you need.
Good post.
sharepoint-2010-world.blogspot.com/.../solution-to-access-denied-by-business.html
Nice article ,Remote Debugging was the single most feature which convinced me to migrate from Netbeans to Eclipse.
Javin
<a href="javarevisited.blogspot.com/.../how-to-setup-remote-debugging-in.html">How to setup remote debugging in Eclipse </a>
Thanks for the post, I was also confused by how to load a SPWeb object directly from the URL.
I was already thinking of complex mechanisms to compare urls after loading the SPSite object etc.
Your post saved me a lot of time ! :)
Pingback from How to: Troubleshoot error message “This control does not allow connection strings with the following keywords: ???Integrated Security???, ???Trusted_Connection???.”
Good post and thanks for sharing. I guess, it's time for you to upgrade to SharePoint 2010 version.
I have a question here in regards to the phonetic People Search, which is just not working from my-end. My environment is based up on en-AU culture, so I guess, this might be the cause of it.
Would you be able to shed me some light on, in order to get this issue fixed?
all best
Eric
Thanks Cory. However I finding the same from a new install, no upgrade in sight.
Pingback from People Search 0 | AllGraphicsOnline.com
Cheers for this post.
I documented a similar experience I faced only this week over at www.benjaminathawes.com/.../Post.aspx.
Fortunately, in my case I did NOT have to recreate the search service - I just had to wait for a full crawl to finish :-).
Ben
You saved me a lot of time. Thanks!
@Donal Interesting. Did running the PowerShell command work? Do you see any of the web parts in the gallery?
@Eric I haven't tried it with other cultures, but my understanding is that search does understand them, but it does vary by language. Is it just not working at all?
TagClound web part not found after upgrade to SharePoint 2010
Thanks for that very userful peace of information!
So did I miss something or do I need to upgrade to Enterprise just to get a people search functionality in Sharpoint 2010. Seems expensive.
Great writeup. Do you know if you can access other .NET assemblies through this .webpart? For example, setting the type to:
System.Web.UI.WebControls,System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
And accessing something from there?
I installed your Doc Link handler. Edit is working fine, but on click on any other option (History, Properties and etc.) I am getting "File not found" message.
I re-checked and handler is there (layouts/tempaltes/dotnetmafia folder). Any ideas?
10x
Sir
we have done the same setting in sharepoint 2007 for Enterprise library 5.0 . For .net applications we haven't faced any problem, but if we are using infopath forms, it is showing in preview but , We are not able to deploy We are getting this error.
<pre lang="xml">Unable to cast object of type 'Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSyntheticConfigSettings'
to type 'Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.ITypeRegistrationsProvider'.
System.InvalidCastException: Unable to cast object of type 'Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSyntheticConfigSettings'
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.TypeLoadingLocator.GetRegistrationsInternal(IConfigurationSource configurationSource, Func`3 registrationAccessor)
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.TypeLoadingLocator.GetRegistrations(IConfigurationSource configurationSource)
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.CompositeTypeRegistrationsProviderLocator.<GetRegistrations>b__0(ITypeRegistrationsProvider l, IConfigurationSource cs)
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.CompositeTypeRegistrationsProviderLocator.<>c__DisplayClass5.<GetRegistrationsInternal>b__4(ITypeRegistrationsProvider l)
at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.Unity.UnityContainerConfigurator.RegisterAllCore(IConfigurationSource configurationSource, ITypeRegistrationsProvider rootProvider)
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.ChangeTrackingContainerConfigurator.RegisterAll(IConfigurationSource configurationSource, ITypeRegistrationsProvider rootProvider)
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.EnterpriseLibraryContainer.ConfigureContainer(ITypeRegistrationsProvider locator, IContainerConfigurator configurator, IConfigurationSource configSource)
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.EnterpriseLibraryContainer.ConfigureContainer(IContainerConfigurator configurator, IConfigurationSource configSource)
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.EnterpriseLibraryContainer.CreateDefaultContainer(IConfigurationSource configurationSource)
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.EnterpriseLibraryContainer.SetCurrentContainerIfNotSet()
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.EnterpriseLibraryContainer.get_Current()
at Microsoft.Practices.EnterpriseLibrary.Data.DatabaseFactory.InnerCreateDatabase(String name)
at Microsoft.Practices.EnterpriseLibrary.Data.DatabaseFactory.CreateDatabase()
at global_config_ip.FormCode.FormEvents_Loading(Object sender, LoadingEventArgs e) in E:\SharePoint Programmes\Infopath\global_config_ip\global_config_ip\FormCode.cs:line 73
at Microsoft.Office.InfoPath.Server.SolutionLifetime.FormEventsHost.<>c__DisplayClass6.<>c__DisplayClassa.<add_Loading>b__3()
at Microsoft.Office.InfoPath.Server.Util.DocumentReliability.InvokeBusinessLogic(Thunk thunk)
at Microsoft.Office.InfoPath.Server.SolutionLifetime.FormEventsHost.<>c__DisplayClass6.<add_Loading>b__2(Object sender, LoadingEventArgs e)
at Microsoft.Office.InfoPath.Server.SolutionLifetime.FormEventsHost.<>c__DisplayClass34.<FireLoadingEvent>b__30()
at Microsoft.Office.InfoPath.Server.DocumentLifetime.OMExceptionManager.CallFormCodeWithExceptionHandling(UserMessages userMessages, OMCall d)
An entry has been added to the Windows event log of the server.
Log ID:5337</pre>
Can you help us
Thank u in advance
I ran the command to install the wsp but it gives me no output, so i don't know if the command had any effect or not. I browse the site and i can't find my webpart anywhere. Am i missing something?
I have troubles to get NOT working, any help on that?
e.g not(mp:('value'))
I want to add sortKeys and few other parameters, How to I do this?
I have posted similar query here: social.msdn.microsoft.com/.../457c98de-504c-4263-b977-3e5d3ae42900
Shamshad Ali.
Thanks for the sample solution. It builds fine, but when I try and package the project, I get "Package Failed". There are no other errors apart from "Error: Object reference not set to an instance of an object.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========" in the output window.
Any idea why this might happen? I have made no adjustments to the downloaded solution.
Tomas
Thanks for the solution. I have the same problem and I think your solution will solve it. But I didnt' understand where I must put the XML code you give in your post ?
I have a VS 2010 solutions with two projects.
Thanks a lot
This is a good article but I tried one thing that doesn't work properly. If you want to assign some crawled properties don't follow what the article says because you'll get an error.
When you select Pie Chart, in Step 2 one of the theme options is Cusom. Where do you define the custom theme?
Would it be feasible to set the root with a wildcard inclusion, create a http://moss-server/RootContent site collection, then use something like UrlRewrite or a 404 handler/redirector to serve the "root" content? What would be the best implementation to maintain full function and performance?
What you could do is set the global file limit to something higher then use quotas to control the overall size of your sites.
Hii corey,
I wanted to know how to access the custom refiners using the keywordQyery class
I am doing like this
KeywordQuery keywordQuery = new KeywordQuery(searchProxy);
keywordQuery .refiners="managed property1,managedproperty2";//i have even tried like keywordQuery .Refiners="managedProperty1"
It is not returning any results.
Can you please help regarding this.
Thanks..
You have to put more guides up! This is great stuff.
halvat lennot. This is just what I needed for my Sharepoint site.
Pingback from Use Keyword Query Syntax instead of SQL Syntax for SharePoint 2010 Search Queries
How to: Query Search using the Web Service
@Steve I think I have tried an approach like that before, but I ran into issues. It's been a while so I can't remember the details though.
@jalopo what error are you receiving?
@Baptiste In vs2010, go to the solution editor and click on the middle tab which shows you the raw XML of your solution manifest. You can add your XML there to have it injected into your solution manifest when it is deployed.
@Tomas I have seen this when there are issues with what is going into the solution package. Double check all of your features. You may need to exclude items from your project and add them back one at a time to get the package to work.
@Leo Check your solution gallery in Central Administration to verify that the solution was installed. You won't see your web part anywhere until you activate the site collection feature associated with it. You can use a separate PowerShell command to activate features (more info can be found on this site).
Pingback from SharePoint 2010 Enterprise Search KeywordQuery Class, KeywordQuery Class
Sorry about my comment. It can be deleted if you want beacuse the powershell sentence really works. I apologize about the comment but I took the previous command.
Pingback from SharePoint 2010: Pasos para instalar una solución! « Pasi??n por la tecnolog??a…
A la hora de instalar soluciones de SharePoint (más conocidas como WSPs), tenemos tres o cuatro
So I've got SP2010 up and running (did DB attach upgrade from SP2007), and I have an Enterprise search center that seems to work great. However, there is a search box on my landing page that does not work.
Let's see if I can explain better. My site is cleverly answering on http://sharepoint.
If I go to http://sharepoint, it automatically redirects me to http://sharepoint/default.aspx
On that page I have "My Newsfeed" - with My Colleagues, my Interests, etc" At the top of that page is a search box that says "Find People" - if I try to search in that box, it gives me a 404, and redirects me to:
http://sharepoint/SearchCenter/Pages/PeopleResults.aspx?k=Smith
If I search for Smith. And it errors out, tells me the link is broken, etc.
Now - I have an Enterprise Seach center site located here:
http://sharepoint/sites/search/Pages/default.aspx
If I go there, I can search "all Sites" or "People", and it works like a charm. I've set up scopes and such, but I have to be missing something. And I'm pretty sure it's something stupid on my part.
Pingback from SharePoint from Scratch » SharePoint 2010 Chart Web Parts
Question: The part of the article where you search by using nick names is it not just that it search and finds results by surname and you could in fact just write somename Jackson and you would find Richard Jackson?
The phonetic search is that using soundex in sql server or is it some new feature from the FAST search solution?
Soundex in sql only supports English phonetics and that may not always work so great in other languages.
Can the rating be sorted in search results?
I built an app to help remember powershell commands http://sppower.codeplex.com/
Sometimes you see parts of pages being tagged with Robots, noindex, nofollow in a iFrame. Would that work in the same way or will the crawler reject the whole page then?
Thanks Corey. Although I have previously developed webparts, your blog comes in handy when I have to brush up the steps once in a while. A well composed quick guide.
@Joakim That's a good question. I would have to try it out. My initial guess is that it wouldn't follow the contents of the IFRAME, but I could be wrong.
@Eric Not with SharePoint Search. I think it should be possible with FAST, but I would have to test it.
@Marten Phonetic Search gives search the ability to break a part the names. As another example, with a foreign name such as "Binh Le". I could actually type in "Ben Lee" and it would return results even though it is a Vietnamese name.
@Matt The URL to your search center can be set in two ways. The default setting is set on your Site Collection under Search Settings. However, it can also be overridden at the Scope level as well. You can find these settings in your Search Service Application under Scopes.
This post is somewhat related and shows some of the screens involved.
www.dotnetmafia.com/.../configuring-contextual-search-to-use-search-center.aspx
Nice one i liked it and its easy to be used.
@ Todd, simply use the AddProperty method.
E.g., SPContext.Current.Site.RootWeb.AddProperty("ABC_test", "ABC test");
Best, jennifer
Nice article for beginners!! Thanks for the good work.. keep posting such nice articles...
Pingback from People Search Name | AllGraphicsOnline.com
Pingback from Issues creating SharePoint 2010 search scopes programmatically at SharePoint Config
Good stuff, Corey. I'm glad to see a step by step walkthrough on this before it's generally available. I'm sure we'll be seeing a lot more Sandboxed Development projects after Office365 is released and catches on.
-Tom
@Tom Thanks! Yes, it's time for people to get comfortable with sandboxed solutions if they have been avoiding them. :)
Pingback from Creating SharePoint 2010 search scopes programmatically at SharePoint Config
Pingback from Study Guide and Tips n Tricks for Passing MS SharePoint Application Development 070-573 « Dani's Blog
I have a cuatom issue management list which is as follows.
ID Title AssignedTo IssueStatus Description Priority Duedate
1 TestIssue1 TestUser1 Open Test1 High TestDate1
2 TestIssue2 TestUser2 Open Test2 Normal TestDate2
3 TestIssue3 TestUser2 Closed Test3 Medium TestDate3
4 TestIssue4 TestUser2 In Progress Test4 Medium TestDate4
Where :
ID - Single Line of Text
Title - Single Line of Text
AssignedTo - Person or Group
IssueStatus - Choice
Description - Multiple Line of Text
Priority - Choice
DueDate - Date and Time
I want to create a Chart using the SharePoint 2010 "Chart Web Part" which will show a graphical report of issue status (i.e. - How many issues are Open,Close e.t.c.).
But not able to figure out how to get the exact data from my list. Tried the steps you specified in your post but it is not working. Need your kind help to get the exact data for this senario.
I wrote a web service and written custom search as you mentioned above. I hosted this web service on IIS7 where my sharepoint2010 is also hosted.
But I am not getting the results when i use.
ResultTableCollection resultsTableCollection = keywordQuery.Execute(); This is happening when i host on webserver.(IIS),
If i write the same code in windows or any console application, I am getting the results.
I have chacked all the sttings in IIS but no use.
Couls you please help me?
Thanks in Adbvance.
I am having similar issue in navigation, when I save site as template, for the navigation, i selected - Display the same navigation items as the parent site , when i create a test site using the same template, it resets the navigation to Display the navigation items below the current site .. any ideas how to work around
Thank you
Neel
Cool! Thanks for reminding me about this! I've seen this behavior in other add-ins in the past and fixed it for them - just forgot how to do it though...
@Kaylan Are you able to select the list at all? Can you see the columns that are available? Is the Chart Web Part on the same site or somewhere else?
@Karuna Most likely your results are getting security trimmed. It's going to call the search API using the account that your application pool has. If that account does not have access to SharePoint, it won't have any results. Try changing your application pool account to an account with the appropriate access.
@Rocky Let me look into that.
@Neel I haven't ran into that myself. I assume that setting gets set in the property bag, but I would have to look further into it.
Hi.
Can I use PowerShell to copy all Shared Scopes from a Search Service App to another?
Thx
Unfortunately, there isn't really a very direct way of copying scopes from one application to another using PowerShell.
I have an XML file that is a settings file that is used as part of my web part. It is mapped to the layouts folder. When I update this settings file and redeploy the solution the settings do not change on the page where the web part is deployed. I have all caching turned off including browsers. This issues is driving me batty and holding up my project. Can anyone provide any insight?
=(
Did you do that? I don't know if I try a C# app or PowerShell or whatever =D
I just don't want to rewrite all those rules =/
Thx Roth
Unfortunately, deploying a new XML file will have no effect on anything that has already been deployed. You'll probably have to look for a solution involving code.
I heard you. I usually create scopes and property mappings with PowerShell to begin with so I can deploy them later. Take a look at the SharePoint Enterprise Search migration tool to move scopes.
msdn.microsoft.com/.../ff828776.aspx
Pingback from Anpassa s??ktr??ffen med Visual Studios XSLT-debugging « Sharepointkaos
Pingback from edit SharePoint Search Result with Visual Studio xslt-debugging « Sharepointkaos
Pingback from Search Results Hidden Object | My Insights
@Stefam, have you tried to switch to "Kerberos" for the authentication provider rather than "NTLM" on SharePoint 2010 Foundation server?
It might work for you.
All best
Great article.
What in case, I want to reference other assembly within project with webparts? Deploy is ok, but while loading the page on Sharepoint I got IO exception: System.IO.FileNotFoundException: Could not load file or assembly ' ...... ' etc.
It's suprising, that deploy doesn't include publishing referenced assemblies. Now, where to manually copy referenced assemblies? I have access to file system of server.
Thanx for reply.
@Zewl Did you add the referenced assembly in the Package Editor as well? Just referencing it in your project isn't enough. Open your package file and click on the references tab I believe. There you can add your other assemblies for deployment.
thank you Corey, It was helpfull for me.
Don't forget to reset IIS after granting the permission!
Office 365 Office 365 How to: Build and Deploy a Web Part with SharePoint Online Office 365 How to: Create
Thanks for the reply CoreyRoth. I ended up putting the XML file in the assets folder. That took care of the issue I was having. I think this is where it should have been in the first place.
I agree completely. It's not that I don't think Reflector is a great product, and it's definitely worth the $35 they're asking for it. The issue is one of integrity, and I feel that Red Gate has lied to us, duped us, and is now trying to extort us.
If they'd bought Reflector, and said up front they were going to charge for it, that would have been fine. Instead, they committed to keeping it free (that was their word, commited.. i am not infering anything here). How can we trust them to be comitted to anything else?
I would even be (mostly) happy if they just took the time bomb out of the last free version, and left it available for free download. True, this will eventually go out of date when new versions of the languages are released, but at least they aren't extorting us to pay for something they committed
I'd rather upgrade to Resharper 6 which will have decompiling built-in, than pay Red Gates extortion attempts.
@arshad It almost always has something to do with the contents of the xlsx file. Start with a simpler file and see if it works and then paste things back into it and see if you get the error.
I have a managed metadata field which I use to tag the documents. The metadata field is hierarchical having categories and subcategories. for eg., Finance can be the main category and Tax, PayRoll can be the subcategory. Document can be tagged to Tax or Payroll.
I see that refinement panel provides a flat view of the metadata. Is it possible show all the categories and then the subcategories beneath those categories
Pingback from SharePoint 2010 New Enterprise Search Center Site – Unexpected Error Has Occurred « AndrewMilsark.com
@Rajesh nothing out of the box I am afraid. Although, you could always implement your own refiner.
Do you have to do this for every content database, or is there a way for the whole farm to be activated, and when a new content database is brought into the fold, the webparts will automatically appear?
@Ben you would have to do this for every site collection in each content database that you upgraded. However, it's quite easy to write a PowerShell script to iterate through all sites and activate it.
Just wondering what you mean by FIS ??
Thanks for sharing this post. I guess we can create our own refining webpart to satisfy some of the criterias like allowing multivalue columns and others. I was wondering if there is any articles published on this regard.
Thanks man! This post was very Useful!
@Yesh there may be but I haven't stumbled upon any yet.
@Warren FIS = SharePoint for Internet Sites. The current public facing SKU of SharePoint 2010. Sorry, I shouldn't use so many acronyms. :)
But why does it happen in the first place? It's really annoying....
<p> </p>
I am attempting to get the RecordClick to work. I am attempting to use the search from a non-sharepoint site using the available web services and there is no documentation out there on how to make this work. Without RecordClick all sorts of functionality is broken.
-Cam
Pingback from TIP – Office365 as public facing website platform … « Roel Gyd?? …
I found this to work for getting the int value of the managed property type
[Microsoft.Office.Server.Search.Administration.Manag
edDataType]::YesNo.value__
I am getting following error --
Error message -- sps3://domainname
The object was not found. ( HttpStatusCode NotFound The request failed with HTTP status 404: Not Found. )
Please advice.
I am able to crawl other url's starting with http://domain name
How to: Deploy a Page using a Feature - Corey Roth [MVP] (tags: sharepoint develop article tips 2011 2011.04) SharePoint Content Deployment Wizard (tags: sharepoint develop tools 2011 2011.04)...
@Amit for sps3 i typically use the server name and not a custom domain name. Make sure that the name you are using is listed in the alternate access mappings page as well.
I have tried by doing the same but got the error saying
Error message -- sps3://netbiosname
I have modified the AAM accordingly
Amit
Pingback from SharePoint Content Type Lifecycle Management « <CharlieDigital />
Примерно пару недель назад был сделан анонс Office 365 beta и некоторые счастливчики уже получили приглашение поучаствовать в тестировании. Российским представительством Microsoft по этому поводу даже был выпущен пресс релиз в котором заявлено что Office
Pingback from ???????? ???????????????? Microsoft / ???????????????? ?????????????????????????? ?????? Office 365 | News From Earth
Just a quick note: Remember quotes if the feature folder contains spaces. Alternatively, you can specify the feature ID.
if all you need to do is to add the asterisk to the query, then it's possible to add it in the confuguration of the federated location you are using. Since even local searches are routed through the federation layer, as documented here: msdn.microsoft.com/.../ee558338.aspx - “The search result Web Parts in SharePoint Enterprise Search are built on top of the federated search object model.” - then you can add the asterisk to the query template of the "Local Search Results" location, like so: {searchTerms}* . It seems to me you'll achieve pretty much the same, no programming needed.
Thanks for explanation with screenshots.
I have the same requirement that Sathish who wrote "How to override the Search Action Link Webpart, I want to add two more managed property to the DropDown so that I can sort on that."
Could You help me?
PEPE
joseluisolivarez@hotmail.com
Hi friend for this problem in my machine i am start following
Service. that is
"Microsoft SharePoint Foundation Sandboxed Code Service".
path=
Central Administration -> System Settings -> Manage services on server -> Microsoft SharePoint Foundation Sandboxed Code Service -> start
Awesome, thanks so much!
Pingback from One Cause for “The creator of this fault did not specify a Reason.” « Paul Galvin's SharePoint Space
SharePoint 2010 Chart Webpart to sharepoint list, it's all good but anonymous can't see the chart and I get this error: Object reference not set to an instance of an …
Pingback from My resource to learn on 70-573 « martinbodocky
Absolutely! As someone who was on the other end (they didn't want to pay for training but thought just having me sit and watch), this is absolutely not enough for the IT person (and I did take notes :)).
I no longer work for that organization and things like this are one of the reasons I left. Where is the logic in investing literally tens or hundreds of thousands of dollars into an application/project and then being to cheap to invest a couple thousand to ensure your organization can maintain and support the app.
This is one reason why these types of projects fail and then the blame is eventually laid upon either the product itself or the consultant who initially set it up.
Thanks much for the post. However whenever I try to filter on Write column for a specific datetime, the time value is ignored. So the query below will return all documents with Write > ''2011-03-11 00:00:00' NOT
'2011-03-11 11:07:24'.
Please let me know if there is any way to address this issue.
Kanja
<QueryText language="en-US" type="MSSQLFT">SELECT Title, Path, Description, Write, Rank, Size FROM Scope() WHERE CONTAINS('Accounting') AND "Scope" = 'Corporate Documents' and "Write" > '2011-03-11 11:07:24'</QueryText>
The SharePointGuys (blogs.sharepointguys.com/.../portallayoutsfeature) give information on which features activate/deactivate these web parts (the SharePoint Server Standard Site Collection feature and the SharePoint Server Enterprise Site Collection feature). Knowing that makes it much more comfortable to deactivate and re-activate the features to get these web parts.
Great article,
I am having a strange issue here. Some time results are showing and sometime not. I have to refresh several time if results are not coming. some time navigators are coming but no result and vice versa. what may be reason?
When talking about O365, the plan type should always be specified. This article refers to the E3 enterprise plan only. The set up for the more common P1 Small Business plan public web site is completely different. ( the site is ready to go as soon as you configure 365).
And the link to create a public site in E3 plans was always there. It isn't something new as suggested in the article.
@chitta Hard to say. Are you getting any errors when it occurs? Does it occur when searching from a particular site or list?
I created a fulltextsqlquery in timerjob..it doesnot return anything..but when i did the same in console application i get the data..why this is so?
Here in the below site I have tried to explain the deployment process
www.fewlines4biju.com/.../deploy-wsp-file-in-sharepoint-2010.html
This Thursday and Friday SharePoint Fest moves to Denver and Bob Young will be there to answer all your
Pingback from SharePoint Daily » Blog Archive » Tech-Ed: Day 1; Microsoft is Winning… and Losing; Microsoft Buying Nokia?
@Nehal When you run as a timer job you are running under a different account (the farm account). This account should return results although you want to be careful because it may return results that you do not want.
Great article...it helped me a lot. However, when I go into any of the sub-sites and do a search using "This Site: test", no results show up.
On the other hand, doing a search using "All Sites" works perfect.
Any ideas? :-S
I made some minor changes, did a build, followed your readme and it all work just peachy. Exactly what I wanted. Thanks Corey.
Step by step to create a Sandbox Solution WebPart for SharePoint Online (Từng bước cách tạo một SharePoint WebPart sao cho có thể chạy trên SharePoint Online) sharepointtaskmaster.blogspot.com/.../step-by-step-to-create-sandbox-solution.html
One useful post related to this error:
sharepoint-server-recovery.blogspot.com/.../how-to-resolved-unexpected-error-has.html
I changed the QueryManager.UserQuery in GetXPathNavigator() method. But it seems that though user query is getting updated. Results fetched are not getting changed as per the new query. ApprovedCountries is the custom managed property.
Here is the code:
[ToolboxItemAttribute(false)]
public class CMSCoreResultsWebPart : CoreResultsWebPart
private QueryManager queryManager;
private KeywordQuery keyQuery;
protected override void OnInit(EventArgs e)
queryManager = SharedQueryManager.GetInstance(this.Page).QueryManager;
base.OnInit(e);
protected override System.Xml.XPath.XPathNavigator GetXPathNavigator(string viewPath)
try
Page.ClientScript.RegisterStartupScript(this.GetType(), "AlertPartNumbe1r", "<script type='text/javascript'>alert(' " + queryManager.UserQuery + "');</script>");
queryManager.UserQuery = queryManager.UserQuery + " ApprovedCountries:India";
Page.ClientScript.RegisterStartupScript(this.GetType(), "AlertPartNum33be1r", "<script type='text/javascript'>alert(' " + queryManager.UserQuery + "');</script>");
catch (Exception ex)
Page.ClientScript.RegisterStartupScript(this.GetType(), "AlertPartNumber",
"<script type='text/javascript'>alert('" + ex.GetBaseException().ToString() + "');</script>");
return base.GetXPathNavigator(viewPath);
If the contextual scope (this site) doesn't work I would start by verifying that your alternate access mappings are correct. If they are not configured, it can prevent contextual search from working.
@Manisha your code looks like it should work. You can download the source code to the web part I did from codeplex if you need something to compare against but it is pretty simple.
I added the astriks like Cecilie Widsteen said and it seems to work without needing this webpart...
Thanks Cecilie Widsteen!
That technique does work but you may run into issues if you start creating custom queries using managed properties as it will render the syntax invalid.
Well, I thought everything was peachy after installing this solution. My problem is with the View/Edit Properties. Sometimes it works, sometimes the browser throws a 404-page not found error. If I look at the link for the redirect, it looks fine and I can input this link in the browser and it opens the document of reference. There is no rhyme or reason that I can detect as to why some work and some don't. The go to folder and version history links work 100%, just the view properties fails most of the time(but not all). I am stumped. Any suggestions?
@Bill Maybe there is an issue with the way I am parsing the URL on those documents. You rebuilt it on your own correct? Have you tried debugging it and seeing if there is an exception.
Corey, thanks for the reply. I will need to wait till after hours to really mess around with de-bugging, and this is my first stab at any SharePoint C# stuff, I mostly write form applications. So to be honest, and to admit my stupidity, I have no idea how to debug a web application. I looked at your code, it looks solid to me when parsing/building the URL. This is not a show stopper, the business insisted on a way to get to the parent folder and that works perfect, this would just be an added bonus. Any advice on de-bugging would be much appreciated.
Again, thanks for the reply.
I wrote a propertyBag to the elements.xml of a webPart.
but i can't find it in the code.
i use that line inside the code:
control.Path = SPContext.Current.Web.Properties["XmlPath"];
and that line in the elements.xml file:
<PropertyBag ParentType="Web">
<Property Name="XmlPath" Type="string" Value="c:\Users\tag6k\Desktop\engStat.xml"></Property>
</PropertyBag>
Hi Corey - I'm struggling to activate the feature - what's the syntax? I've been trying:
Enable-SPFeature –Identity WildCardSearchCoreResultsWebPart –url http://sharepoint/
And I'm getting the error:
The feature is not a farm level feature and is not found in a site level defined by the url http://sharepoint/
What have I done wrong?
@AJ Your syntax looks correct. Are you sure the solution package installed correctly. Verify that it's there and deployed in Central Administration. You can also activate the feature through the UI in Site Collection features.
Easily converted to PowerShell - nice job Corey
Top News Stories Jive Buys OffiSync to Deepen Links with Microsoft Apps (CIO) Jive Software has acquired
Amit,
Try to use SPS3S:// you must be using SSL.
I really hate to drop out of the internet and beg for help, but I've exhausted google search and my real world contacts. I did a brand new install of sharepoint 2010 std. All my normal Webparts catagories are there but the Miscellaneous category is missing! Can you direct me? Please please say you are too busy if you are, I truly will understand! (it looks like I can upload a file that will import the webpart if someone could export it?)
This assumes that the script is executed on the same same server which has a Sharepoint installation. However how do you tackle this when you want to deploy to a SP Server remotely e.g. from a CI Server?
Assume that I auto-build my solution on Server 1 and would like to deploy this solution to multiple environments (test, pre-prod, prod). Is it possible to give the URL parameter to the AddSPSolution cmdlet (and other subsequent cmdlets) so that I can deploy this to multiple environments without necessarily copying all the WSP's and the script to deploy to each individual environment?
Many thanks for any help here.
Very simple to change maximum upload file size with SharePoint 2010 / Rất đơn giản để thay đổi kích cỡ tối đa của file tải lên với SharePoint 2010 sharepointtaskmaster.blogspot.com/.../very-simple-to-change-maximum-upload.html
Hi, I followed your defined steps, when i am going to deploy WebPart i got this error msg "Error occurred in deployment step 'Add Solution': Property set method not found." Please sugest me resolution. One more thing i am developing Visual WebPart 2010 in control page i used Ajax TabPannel for making form in this TabPannel when i placed SharePoint:PeoplePicker control, then i got this error msg "Request for the permission of type 'Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePoint.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' failed." Any idea about this msg
I absolutely agree with Corey - this could have side effects that you haven't thought of and you need to be aware of what you're doing :) like, I presume what you mean by custom queries using managed properties is when you do a fielded search? Like this: keyword1 fieldname:keyword2 - you'll acheive nothing here, because the asterisk will be added towards the end of the expression... and a fielded search is by default a wildcard search. Thing is, if you don't have users that are likely to be aware of the possibility to do fielded searches, then you'll risk little. And you could always create another location without the asterisk added under the hood and let experienced users perform their search towards this other location. But if you for instance use append to query on your web part, you'll actually get the asterisk appended after the appended text AND a space. So you should also be aware of this and check if this is something that renders this solution useless to you.
@Iftikhar Check your manifest.xml. Verify that the assembly name is correct. The following line in your manifest should grant you the permissions you need.
<IPermission class="Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePoint.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
version="1" ObjectModel="True" />
@Anumpam That is correct. To my knowledge, the solution packages always need to be on the target machine. It is possible to execute these commands using PowerShell remoting though, but I haven't looked into the details.
@Brett This required Enterprise Edition. Do you have the Enterprise features enabled? If you have standard edition you won't have these web parts. Also, did you upgrade from SharePoint 2007 or is this a new installation.
Pingback from Set up People Search « lmgtfyi
Editor's Note: The following is a guest post by SharePoint Server MVP Corey Roth as part of the MVP Award Program Blog's "MVPs for SharePoint" series. Corey Roth is a solutions architect at Stonebridge specializing in SharePoint solutions in the Oil &
Pingback from MVPs for SharePoint 2010: Debugging Techniques for SharePoint Online Applications - MSDN Blogs
Pingback from MVPs for SharePoint 2010: Debugging Techniques for SharePoint Online Applications - Bilim-Teknoloji | Positive Pozitive.NeT
Once deployed, how do I add the new custom document library?
Is there any documentation of th efeatures of this web part.
@John Once you have your solution deployed, you then need to activate the feature on your site (if you haven't already). You can then add that new document library just like you would add a builtin document library.
Can we setup a crawl rule to perform indexing on historic versions of documents in SharePoint. SharePoint runs crawl on only last approved version of a document and accordingly it display only latest versions in search result and skip all historic version having matching search criteria. One of my client have requirement that each piece of matching content should appear in search result no matter it is latest or historic.
From there business need there point is very reasonable. I explored possibility of custom solution to implement this but not found any help available. Although I have found a product which enables version search in SharePoint 2010 and FAST. Demo at their site stoictech.sharepoint.com/.../VersionSearch.aspx looks promising. Do you know about any other better solution or product which can enable version search.
Thanks for your help.
Vikas
@Vikas Indexing previous and unapproved versions is not included by design. You are definitely looking at a custom solution. I have not looked at the product you mentioned yet, but I have heard of it.
This has something to do with the need to reference:
System.Web.Extensions
Pingback from 24×7 Tech reports » application error
SIr...you just save a greenhorn like me from getting kicked out his job...wonderful article...thanks :)
I wish to thank you for this article. A great one at that.
Here I face a small problem. I followed all the steps exactly as in here. And the solution on deploy gives me the same message but somehow i am unable to see the webpart in the gallery and therefore no custom folder in the webpart categories. What could be the possible issue with it not showing up?
Deepa
Thanks so much, this was driving us crazy!
@Chas SPUtility is in Microsoft.SharePoint.Utilities I believe.
coooool :) thanks
I had this problem after re-running stsadm on my wfe's to put the propogation locations in a new directory. Alos, on on eo fmy wfe's the Windows Sharepoint Services Administration service was not turned on. After switching that on I was able to get the full crawl to go on one of my content sources by going through the edit screen as you suggested. Thanks!
Corey - Can you provide any details or references to resolving the issue Mikael Svenson brought up? That's the number one reason I don't use a search center. The users get lost and the back button has some strange results sometimes. Thanks.
Just wanna ask you a small question, on the dilogue box(edit form) of the drop off library where you choose a content type when uploading a document to a recod center, would it be possible to change the dropdown field name from "Content Type" to something else ? When users are choosing a content type to route thier records, I don't want it to say "Content Type", I want it to display whatever I changed it to.
Sharepoint {anonymous|create public website}
Make a Public Site in SharePoint
Yes you can make a public site in SharePoint, and it is actually not too confusing.
On SharePoint you want to create web application in central administration.
Next find authentication providers, followed by selecting enable anonymous,
and save.
Find web application management, select site, under anonymous policy, check deny write.
Simple orders to follow to Navigate to Site:
1. Choose Site Action
2. Select Site Setting
3. Select Site Permissions
4. And then click Anonymous Access, followed by Entire Website, then OK.
Now close all browsers and go back into the website again. Once back in if you did everything correctly you will be browsing as anonymous!
Shawn Zernik
www.internetworkconsulting.net
Pingback from FAST Search Scopes « Sladescross's Blog
Does anyone tried to change the profile page url? Does it work?
For example, instead of having:
dsglespbr-s4019/.../Articles_DEV_2.aspx{0}
change it for:
dsglespbr-s4019/.../Articles.aspx{0}
How to deploy this chart webpart without manual configuration
How about explaining how to fix a Web Part that is listed in the gallary but when you click on the text to edit it, you get a "Cannot import this Web Part."
The Grid is full of Office 365 experts that are brimming with great information. The Grid pulls in the latest blog posts from all Grid users. The Grid User Post blog series will expose some of The Grid's best content to the entire Office 365 Community
When i try to use the command:
i am getting an error at searchProxy saying something about overloaded method ..
i am newbie , cant make it out what the error says
can u please help me..
Awesome post Corey - with the architecture of social feature in 2010 - I am so sure most developers are going to bump into this.
Awesome this helped me see it I had the exact same problem. However, I still get an error when I try to add the template.
Name=Request (POST:sharepointapp/.../newsbweb.aspx) 473386f9-90d6-487b-94ba-fefdee4f586f
06/17/2011 14:33:34.26 w3wp.exe (0x0E00) 0x0698 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 473386f9-90d6-487b-94ba-fefdee4f586f
06/17/2011 14:33:34.33 w3wp.exe (0x0E00) 0x0698 SharePoint Foundation Fields 88y1 Medium No document templates uploaded for list "$Resources:core,MasterPageGallery;" -- none found for list template "100". 473386f9-90d6-487b-94ba-fefdee4f586f
06/17/2011 14:33:34.55 w3wp.exe (0x0E00) 0x0698 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Creating Web s). Execution Time=236.965591995631 473386f9-90d6-487b-94ba-fefdee4f586f
06/17/2011 14:33:34.55 w3wp.exe (0x0E00) 0x0698 SharePoint Foundation General 85m6 Medium Applying web template 'SRCHCENTERFAST#0' on web url 'http://sharepointapp/s' 473386f9-90d6-487b-94ba-fefdee4f586f
06/17/2011 14:33:34.55 w3wp.exe (0x0E00) 0x0698 SharePoint Foundation General 85m7 Medium Actual web template to apply to Url 'http://sharepointapp/s' is 'SRCHCENTERFAST#0' 473386f9-90d6-487b-94ba-fefdee4f586f
06/17/2011 14:33:34.55 w3wp.exe (0x0E00) 0x0698 SharePoint Foundation General 72h7 Medium Applying template "SRCHCENTERFAST#0" to web at URL "http://sharepointapp/s". 473386f9-90d6-487b-94ba-fefdee4f586f
06/17/2011 14:33:34.58 w3wp.exe (0x0E00) 0x0698 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'Publishing' (ID: '22a9ef51-737b-4ff2-9346-694633fe4416') at URL http://sharepointapp/s. 473386f9-90d6-487b-94ba-fefdee4f586f
06/17/2011 14:33:34.58 w3wp.exe (0x0E00) 0x0698 SharePoint Foundation General 75fb Medium Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'Publishing' (ID: '22a9ef51-737b-4ff2-9346-694633fe4416'). 473386f9-90d6-487b-94ba-fefdee4f586f
06/17/2011 14:33:34.58 w3wp.exe (0x0E00) 0x0698 Web Content Management Publishing Provisioning 1ght High Publishing Feature activation event handled. 473386f9-90d6-487b-94ba-fefdee4f586f
Can you find it in a rule too?
I'm having the same problem as Neel! But it seems like this is standard SharePoint behaviour. Testing in another SP2010 environment ended in the same annoying result.
It seems like you should be able to. However, you may have to write the value into a field first and then use that field's value in the rule.
@Paul Verify the GUID of the FeatureVisibilityDependency and make sure it is activated on your site collection.
@Ketan The architecture of the social features in SharePoint 2010 will require its own post. Too much to discuss in a comment.
@Leamer What is the exacty error? Make sure that you have the name matched up exactly to the name of your Search Service Application.
@Jeff It's actually the same issue. It means it cannot find the web part given the specified assembly path. Instead of clicking on the link to the web part, click the icon next to it so that you can view properties, review the .webpart file and make corrections is necessary.
@Swati You can always save the web part using the export web part functionality.
@Josep I think that should work.
@Matt Most people tend to just re-implement the branding they apply to v4.master to a form that actually works with minimal.master. This gives the user the ability to click elsewhere on the site.
I think you are stuck with whatever the content type's name is in this case.
@Deepa It sounds like there is an issue with your manifest.xml file. Double check the module element in this file and verify that it's going to the correct folder and it's going to the solutions gallery. You can verify the file by looking at an old 2007 solution such as in my previous post.
Hi, is it possible to create a search connector for sharepoint 2010 to point google....in spanish???..., i mean, all of the search connectors are in english but my customer wants them in spanish....is there a way to achieve this or is absolutly imposible??
thankssss
This one has solved the problem for me (after opening a ticket at MS support):
Create a new group on the FAST server named “FASTSearchKeywordAdministrators”.
Add the SP (the user running the OSearch14 service) & FAST admin to it.
Excellent tip
I skipped December 2010 CU and went straight to February 2011 CU.
I thought wouldn't reboot... or delete my User Profile Service App... Attempted to create connection.
Hey presto and to my surprise...I now have a connection to my AD.
Daniel
I did everything that you mentioned in your post but i keep getting an error regarding assembly:
'Microsoft.Office.Server.Search.Administration.SearchQueryAndSiteSettingsServiceProxy' from assembly 'Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.
Pingback from MVPs for SharePoint 2010: Debugging Techniques for SharePoint Online Applications - Akl??ma Tak??lanlar | Zeytin.Net
Como sabéis, con SharePoint 2010 se introduce el concepto de solución sandbox o lo que
Pingback from SharePoint 2010: Recursos para la creación de soluciones SandBox! « Pasi??n por la tecnolog??a…
Account names for separate dev & test environments
Could you use
UPNs that have two parts to the name
- name@name_suffix
and somehow use the
- name_suffix to indicate dev or test
I activated the feature and am having trouble with making it the default search engine.
What exactly do you mean by: "The Wildcard Search Core Results Web Part can then be added to your Search Center's results.aspx page.
Simply add this web part to the bottom zone and remove your existing Core Results Web Part."
I guess that starts with:
"Now, go edit any search center results.aspx page you have and use the add web part button on the bottom zone." but I'm confused how to get there.
Thanks in advance!
Phonetic search just wont work on IE8. If you want to see how it works, you have to use another browser like Firefox. You may view my blog regarding this issue here.
chienyiing.blogspot.com/.../fast-phonetic-searching-for-names-is.html
any way to make the sps3 url point to an external url name?
I have the same issue. When I execute the fultextquery through my webpart it works fine and get results. But when I run the FullTextQuery through a webservice call or httphandler, no results are returned. I have verified the query and its the same in both cases. Also there are no exceptions in both cases.
Looks like a security trimming issue. Is there a way to override security trimming?
Dear gurus,
I faced unexpected behaviour with sharepoint 2010 crawling which i have custom .net webparts with <div class="noindex"> for all my .net webparts then reset the indexing form center administration then run the full crawling but the search result come with 2 result unexpected as i explained into this image please zoom in inside the image to see my comment
www.flickr.com/.../5880124663
any help will be appreciated
Qassem
--------------------------------------------------------------------------------
@Qassem Hard to say why this might occur. You may consider opening a support ticket with Microsoft.
fabulous, clean and clear guide, Thanks
i have .net 3.5 sp1 installed on the server. The deployment of the wsp file is successful. But when I add the web part to a page, I get this error message:
Could not load file or assembly "DotNetMafia.Office.Server.Search.WildcardSearch, Version= 1.0.0.0, Culture=neutral" or one of its dependencies. Access is denied.
Please help...
Great Article and nice and easy for most people to understand.
I wonder how many SharePoint will be adding the 'built in Office 365' strap line to their sites
* I will probably do this :-)
@Ankit Confirm that the assembly actually got deployed to the bin folder of your web application.
Corrected!
Well you need to look at the account executing the actual API call. If you created a new application pool and it is running as local system or something like that it is not going to work. Instead you need to run it with a different account that has access to SharePoint. Keep in mind that you may not have proper security trimming if you use an account with full access to SharePoint though.
@Andreas you know I've never tried to use sps3 with a remote server. I would think it would work but you never know.
Pingback from MCTS SharePoint 2010 Application Development 70-573 Prep – Part 1 « SharePoint Thoughts
i would like to suggest this url for adding and creating a public sharepoint site at office 365.
ashrafhossain.wordpress.com
Thank you for answering. The dll exists in the bin folder of web application but there is no reference to it in Assembly.
Could this be the issue?
Excellent idea . Helped me a lot.
Not able to see this option for Web Site
There is a problem with content organizer. I have 2 rules - 1 for image conent type and other for video content type. Now say I upload a video file but I do not change Content Type drop down value then by default it will apply rule for Image Content Type. I mean it is not able to identify what is the content type of file based on extension. Is there any solution to this problem
@Jigar I don't think so. If you pick the content type after you upload the file it should work. Otherwise, you may consider writing an event receiver.
@Ankit Hmmm, go into your solutions gallery in Central Administration and see if there were any issues deploying the .wsp file.
@Rahul what error are you getting?
I would think it's possible. You just have to find the right URL to use with google that can provide those results in an OpenSearch format.
Wow, what a difference from WSS 3.0! Thanks for the Post!
Just a quick question. If I enabled the "EnableFQL" flag to true?
Do the FAST synonym search still working?
I just found a case that if I enable the flag to true, the synonym search is not working anymore.
Hi Cory, thank you for answering but there were no issues in deploying the .wsp file. I have retracted and redeployed it, but no use...
This also occurs when your account password is expired :) www.spmcm.me/.../Post.aspx
Using SP2010, I found that I had to include a call to SPWeb.Update() after setting the value with SPWeb.AllProperties[currentPropName] = currentPropValue; to commit the change to the dbase.
@Andy Hmm it may not, I'd have to check to confirm.
Hi Corey, I deployed it on other farm and it worked like a charm. Thank you for sharing such a wonderful web part.
Could you provide more information about Full Text search enable/disable option?
Great article, made some tweeks to allow the owner to be a SharePoint group and to set other attributes of the SPGroup.
If the EnableFQL = true; the Keyword query complains on Malformed query error - in my case it didn't work, but, maybe it depends on complicity of your queries.
I do know, that FQL queries have very certain syntax.
Just an addendum to this solution.
If you want to use another user to execute the cmdlets and you have checked the KB article and still is not working, be sure that the user is also included in the local group FASTSearchAdministrators.
Hey Thanks a ton!
Its resolved my issue.
awesome article .thanks
I didn't get the "nice" error message. Just the "unexpected error". Configuring Sharepoint 2010 Enterprise.
Thank for this post I solved without reinstalling SSP.
I had this problem after I tried to "reset all conten crwal.
Just a note:
IMPORTANT
if you have a multi server farm run the magic script on all server of the farm!
I have created a fulltextsqlquery and it is bringing data on the site.It is a sitecollection feature.I checked the permissions on all levels and also checked the bdc permissions.Seems to be ok.But still my query is returning Zero rows.Although when i do the same in console application i get the result.I am trying this from a long time but havent reached the solution.I want to know the permissions required to run the fulltextsqlquery.please help
Tip: making changes to the FASTSearch group requires the user to logoff and login again. Otherwise the made changes are not effective.
Tried this code (with the xsl document test) on Sharepoint 2010 and works nice! Thanks!
Hi Corey, I downloaded this web part and it's working fine if we search for documents starting with name "ML0611*". But if we search for "*0611*", it's not returning any results. Any idea?
Is this method available for Office 365? Thanks
I have found an extra check for when the 'could not import web part' error occurs.
I did have the same problems as mentioned in your post, so I looked for all mentioned possible mistakes but could not find the solution. In the end it turned out I forgot to make the (persisted) properties of my web part 'Public'.
Thanks for such a nicepost.
But how can i pre query suggestions and post query suggestions using this query webservice.
Trying to figure it out since soem days....Please help me ASAP..
Sudheer
Yes, the only option currently with Office 365 is sandboxed solutions.
@sudheer You can use jQuery to call the web service as users type in their search terms. There are a few solutions out there already with "search as you type" implementations.
@shansd I think it should be. You may have issue with the managed metadata fields, but the rest should work since it doesn't rely on code.
@Yasu I'm afraid SharePoint search doesn't support prefix wildcards like the one you described.
@Petr Excellent! Glad to know it works on 2010 as well. Thanks for trying it out.
@Nehal The FullTextSqlQuery object will use whatever permissions the current user has. It does this to apply security trimming. If the current user does not have access then you won't get results. However, another thing to note is that if the default content access account your crawl with has administrator privileges, it can mess up security trimming.
Another famous trick is to omit "public" from your webpart class declaration. Happens on Monday sometimes.
@Ankit Excellent. The basic premise there is that it will force the query to only look at the title field when querying. I see this functionality asked for from time to time in the forums so I thought it would be good to add.
Hi Corey,Thanks for sharing Knowledge on your blog.i am just wondering if you able to Deploy Visual webpart in Bin Directory using CAS.i also read thread started by you on MSDN but didn't find a solution i think its not possible right ?
Ronak
Pingback from SharePoint Daily » Blog Archive » Microsoft 4Q Earnings Reports; New Bing UI on the Way; Gaming in the Cloud
When it is this hot outside, is it OK to have ice-cream for breakfast? --Chris Top News Stories Microsoft
No Words... i am searching this type of post from a long time...
Absolutely amazing...!! Marvelous...I am very thankful you shared such a important knowledge...
Thanks Again...
Kishan
Thanks, works for me also !
The out-of-the-box Visual Web Part does not support sandboxed solutions. However, take a look at what is available in the Community Kit for SharePoint. There is a Sandbox Visual Web Part there. cksdev.codeplex.com/documentation
Pingback from Unexpected error when creating Fast Search Center | SharePoint Malarkey
The Grid is full of Office 365 experts that are brimming with great information. The Grid User Post blog series will expose some of The Grid's best content to the entire Office 365 Community. Are you interested in contributing to The Grid? Click here
Tried to use but keep getting error, any ideas?
Add-SPSolution : This solution contains one or more assemblies targeted for the
global assembly cache. You should use a strong name for any assembly that will
be in the global assembly cache.
At line:1 char:15
+ Add-SPSolution <<<< -LiteralPath "C:\Projects\Deployment\file.wsp"
+ CategoryInfo : InvalidData: (
Pingback from Downgrade a SharePoint 2010 Visual Web Part to SharePoint 2007 | E. Struyf 's Blog
@ThinLizzy7 This means that the assembly you built is not strongly named. You can specify a strong name key in the properties of your project in Visual Studio. Rebuild the package and then you should be able to deploy it.
your solution worked for me but I have a machine in the Farm in which it doesn't work.
I noticed that also when I try to edit a document from document Library it doesn't work. The window ReadOnly/Edit mode doesn't appear, SP opens the doc in read-only mode.
Any Idea?
Thanks for your support
Can an argument to the javascript be changed so that the document opens up without the dialog asking "Read-only" or "Edit"?
Excellent! I was looking for a good use for property bags generated when importing site template (WSP).
Like you I was convinced there must be a way using CAML for my site definition - much more elegant than using code.
Hi Corey, any pointers on how to instantiate and use the RefinementManager, so that I could add custom refiners to the query I am issueing?
Can I host more than one website?
@CoreyRoth, I uploaded an application template to my SharePoint environment but could not "Activate" it. The Activate menu is greyed out. Any idea what to do?
This post was a big help, once I installed the chart I ran into @lukito issue with the Y axis. Thanks to @BobbyOutlaw for the help.
have you considered creating a Search Scope for "Doc ID"? That seems like a good way to cater to your "power ECM users"
Pingback from SharePoint Daily » Blog Archive » Reduce Application Backlog with SharePoint; Making the Move to Office 365; Was .NET a Mistake?
Top News Stories Essential SharePoint Sandbox Solutions (CMSWire) The release of SharePoint 2010 introduced
@RoelBSS I'm afraid I haven't worked with it much yet. It's on my to-do list of things to figure out.
@Geoff I think it's possible but I think it depends on your version of SharePoint and Office to make it actually happen. I'd have to dig more into it.
@Kaizn Unfortunately you only get one web site. Let me see if I can reproduce the other issue you have.
@Paul I'm not understanding how a scope would work here. What kind of scope rules did you have in mind?
Pingback from Document ID « Sladescross's Blog
Many thanks for your post. I was trying to set some key filters for record library. When I used this approach through a feature it gave me error that folder not found. here is the elements file.
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="schemas.microsoft.com/.../">
<PropertyBag Url="Record Library" ParentType="Folder" RootWebOnly="FALSE">
<Property Name="client_MOSS_MetadataNavigationSettings"
Value="<MetadataNavigationSettings SchemaVersion="1" IsEnabled="True" AutoIndex="True">
<KeyFilters>
<MetadataField FieldID="f9a44731-84eb-43a4-9973-cd2953ad8646" FieldType="DateTime" CachedName="_vti_ItemDeclaredRecord" CachedDisplayName="Declared Record" />
<MetadataField FieldID="1df5e554-ec7e-46a6-901d-d85a3881cb18" FieldType="User" CachedName="Author" CachedDisplayName="Created By" />
<MetadataField FieldID="c042a256-787d-4a6f-8a8a-cf6ab767f12d" FieldType="Computed" CachedName="ContentType" CachedDisplayName="Content Type" />
</KeyFilters>
</MetadataNavigationSettings>">
</Property>
</Elements>
and this is the logs error message, Can you please let me know what I have done wrong here.
"Adding properties to the folder with url Record Library failed while activating feature, the folder does not exist."
I would appreciate your help.
Can we have a OR condition in the refinement "r" parameter???
In my case I was recieving this error because I have an exception thrown inside the webpart code... althougt it was being handle by a try catch block....
On the sharepoint server, in the system32\driver\etc\hosts, add
127.0.0.1 crl.microsoft.com
Problem sovled
How to display display name of "Person or Group" type field through jQuery Template?
@Rocky Hmm, good question. I don't believe so.
can you upload these to office 365 public sites? Seems not possible.
@Matt I haven't tried it but it seems like you should be able to. Remember you can just add t /_layouts/settings.aspx to your public URL. From there you can get to the solutions gallery at /_catalogs/solutions/Forms/AllItems.aspx.
I also like this feature. Pretty cool from Microsoft :)
I believe you get the first 50 for free, after that you have to pay to get more.
If you are mapping DateTime fields, VariantType should be 64. 31 wont work.
Could I add to the people search results , another groups of people that are not present on AD?
Suppose I have a Contact list or an Excel file or an XML File with Customers. I 'd like to include them on search results. Could it be done? How?
The settings are in a slightly different place on our Microsoft O365 Hosted Exchange / Sharepoint, but after a bit of banging around the we did find and make these changes.
That said, people get their invitiations, but we cant seem to get them logged in, even if they have a Windows Live ID. Will be buying a test account to see if that will get us by the issue
i have a problem. any solution?
My List
--------
month, work, goal
My Data
-------
Jan, 10, 20
Feb, 8, 23
Mar, 18, 15
Apr, 8, 9
etc....
how can i filter the data in first 3 months, second 3 months,
thirth 3 months and etc....
to create this chart:
My Chart
X axis: first 3 months, second 3 months, ......
Y axis: work and goal
Pingback from Office 365: Links Worth a Look for Friday, August 12th, 2011 « My Central Admin
Hy Corey,
One MAIN Point you did not mention and it is quite pivotal is that the assembly goes the webApplicaiton bin folder, but it is SIGNED! In SharePoint 2007 you could deploy an assembly to the bin without signing it, you can in SharePoint 2010 as well, but Visual Studio 2010 does not let you package a webpart with an unsigned assembly. There seems to be no way around this other than to sign it. This can be very problematic when considering references to other unsigned assemblies in the bin. Key point you did not mention.
Juan
Excellent work. Thanks lot for your help.
Hi Corey, I am assuming this is the same in SP2010? i.e. there is no powershell you can use to delete a specific crawled property you have created, like you say in development id like to quickly be able to remove a crawled property as the delete unmapped does not always appear to work..
When you create a crawled property you do have the option in SP2010 of creating its category of type People or of Type Sharepoint. I made this mistake when playing around in code, so I had 2 indetically named crawled properties that look the same just different PropSets. I think a problem will then occur when you try to map the crawled property mapping to a managed property as sharepoint does not know which of the 2 identically named crawled properties to use and i get an error.
New-SPEnterpriseSearchMetadataMapping -SearchApplication $searchapp -ManagedProperty $pManagedProp -CrawledProperty $pcrawledproperty
i.e. how can you be more specific on the crawled property, the help says you can use a GUID but this cannot be the propset as several crawled props can have the same one.
fqd works for me too... Thanks Mikael
That was a great help. I found I also had to grant Log on as a Batch Job to the sp_Farm account as well. Otherwise the Central Admin app pool wouldn't start.
Does SharePoint Search support OR operand for keyword text and property restrictor combination? example:
microsoft OR title:sharepoint
I got query is malformed error message.
It works with AND operator.
It also works if both are property restrictions, ie propertyA OR propertyB
Thx for this neat 3 lines of code. Just what I'm looking for. Im deploying a Farm Feature, which create the file extension by this mentioned way, but the question is. Is there a way to check whether an extension is already created and only create if not already exists. In some situations I also need to delete some extensions, how to do that?
I also went through the same exercise, trying everything possible and suggested on forums... disable nested paging worked good but after that the performance of the guest was so so so so so so bad that I couldn't beat with it.... enable it back again....
windows 7 host windows 7 guest virtual box 4.1 is the version....
and the laptop is sony vaio i7 720 with 8 gb ram
Pingback from Implementing Metadata Inheritance using an ItemEventReceiver « Jimblog
Can I add a Blog to the public website ?
@Ale this is not technically supported currently.
Pingback from How to I setup search on SharePoint Farm A to use the query server on Farm B? - Admins Goodies
I just moved my mysites to their own web app, and re-created the search site on that same web app. Doing a search from the main site works fine, and it pulls from the new web app. However, the seach box on the mysites pages still tries to pull search results from the old (nonexistant) search site. How do I change where the search box is looking for results?
@Marshall Go into your User Profile Service Application and edit the My Site settings. There is a URL there where you specify which search center to use on your My Site host.
Adding the webpart to a page from a client machine throws the error.
Works like a charm when I add the web part to the page from the server box.
Great work ! Thanks for sharing !
Nice...I am looking for it.
When I brought up the ECB for the folder I saw a new item that said something to the effect of Set Default Values on this Folder. Here I was able to set values on my site columns. I then uploaded a document to the folder and viewed the properties and sure enough it had the default values I specified.
Do you an more detailed documentation on how this works, especially how does the DOCUMENT get the FOLDER defautl values.
"i'm trying to use this and it is launching a dialog "What do you want to do with xxx.docx" with options Open (this file won't be saved automatically), Save or Save as. Is this a problem with IE9 or Sharepoint 2010? I can't get the edit dialog to come up. When you click open on the dialog i mentioned above it opens the doc read only which is no good....
you can ignore my previous comment, here is my revised working version, filtering out pdfs (which you can't edit anyways) and files that reside on the file share (start with servername rather than http) our search crawls file share and sharepoint, the edit link doesn't work for file share type files
<xsl:if test="not(contains($url,'.pdf'))">
<xsl:if test="contains($url,'http')">
<a href="{$url}" onclick="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','0','SharePoint.OpenDocuments','','','','3','0','0','0x7fffffffffffffff','','')">Edit Document</a>
@Kami you're right. That syntax does not appear to be sorted. I've tried several different ways that I thought the query might go through and none worked.
@Brad Exactly the same unfortunately.
@Jaun that is a good point. It seems like you should be able to get around it but you can't.
@Fernando No, people search results really won't work there. Your best bet is to look at implementing some type of custom solution using the BCS. It won't let you create results that look exactly like People Search but should come close.
@Pagial thanks for the clarification.
Well - you cannot perform complex filtering, sorting and grouping with the MS Chart web part - it just displays tables and has no built-in data analisys.
The only chart that I know of which can do that is Nevron Chart for SharePoint - see this link for examples:
www.nevron.com/spvisionexamples.htm
Excellent write up on ListData.svc. Here's a link to a post that I've done on accessing search via REST, may be useful.
www.chaholl.com/.../sharepoint-2010-search-via-rest.aspx
One thing I have left out is that you have to force the admin services jobs to run still just like in 2007. To do so, use the following after any install / uninstall command.
Stop-Service SPAdminV4
Start-SPAdminJob
Start-Service SPAdminV4
Corey, I want to deploy a new version of a Web Part that is already deployed as version 1.1.0.0. So I want version 1.0.0.0 to still exist and I want the new version 1.1.0.0 to also be in the GAC. If I do an Update-SPSolution it overwrites the version that is on the application and breaks it. How can I do deploy a new revision and not break what I have already deployed?
Dave
Seems to be because SP1 for Server 2008R2 is already installed and supersedes the hotfix.
@Dave If you are going to keep the original version, you will have to build a new solution package that has a different name and guid. Since you are using Update, it's going to replace whatever is out there. Now you could also possibly get around this by just creating a new .webpart file with a different name.
Just updating / supplying solution to my earlier quetion on August 17th, What i needed to do to fix this was first of all specify the category as "people" and then use this category again when i retrieved the crawled property. Without specifying category sharepoint got confused as it hit 2 properties of the same name, one for people, one for sharepoint.
thanks for the great blogs.
Brad
$cat = Get-SPEnterpriseSearchMetadataCategory -SearchApplication $searchapp -Identity People
$crawledproperty = Get-SPEnterpriseSearchMetadataCrawledProperty -SearchApplication $psearchapp -Name $pcrawledprop -Category $cat
Pingback from Office 365: Links Worth a Look for Friday, September 2nd, 2011 « My Central Admin
Can I use SharePoint Designer to edit the pages? The web-based editor for SharePoint is pretty lame. I used Expression Web 3 to build my current site but would like to move the public site to my O365 instance so I can retarget the public URL for mail as well (i.e. no longer have the xxxxxxx.onmicrosoft.com domain name). Thanks for any advice on editing these - also seems like a great 3rd party opportunity to build a public web site for you - but I don't see anyone doing this.
I am using KeyWordQuery class for retrieving results from FS4SP.
But while searching for chinese characters it doesn't return any results if I don't set the culture.
<<keywordQuery.Culture = new CultureInfo("zh-cn");">>
Is thare any way the class auto detect the query texts language and returns results.
Pingback from Instrumentação com SharePoint 2010 « Fabian Andr?? Gehrke
Pingback from Instrumentação com SharePoint 2010 « SharePointersBR
@Santa not that i know of. Thanks for the code snippet as it may prove useful to others who are querying using other cultures.
@Mike you can definitely open the site in SharePoint Designer but editing the pages may prove to be an issue. You can find them in the Pages folder under All Files, but when you go to edit them the designer really doesn't work right. It looks like you can manipulate the HTML directly though.
Hello
thanks for the explanation.
It all works in my case, except of the DefaultAction. When i create an external list of a external content type having the default action defined, it still opens the "View Item" dialog when i click on the link directy. The action is available in the context menu but it does not seem to be the default action.
Any idea?
Thanks, kind regards
Tschuege
Can you let us know how you use CAML to create content organizer rules?
Pingback from Led to Slaughter» Blog Archive » Debugging SharePoint
I want to get search results from one webApplication only.
I've put multiple webApplication names while creating my seach Service. I don't want to create Search Service for each Web Application.
Is there anything i can do with keywordQuery .refiners? How?
You can disable the alerts by following this post - blogs.technet.com/.../common-problem-with-sharepoint-2010-system-security-cryptography-cryptographicexception-keyset-does-not-exist.aspx
@Nelip I ran into a snag when it comes to deploying the rules successfully with CAML. I need to look at it again and see if I can get past the original issue.
@Alok There are a couple of ways to handle this. First, you can create scopes that limit the results to each web application and then just query by scope. You can also use the Site keyword to limit results under a particular URL. This post has some examples of that.
Pingback from How to develop custom workflow actions in SharePoint 2010 | eabsoft
Is there anyway to use jQuery to support o365 internet facing site? Thx
In my project, Profile Page is enabled for search and search result page gives the list items with ...\profilepage url. Now client does not want search to be displayed in profilepage, instead wants these search URLs to point to EditForm web part. I have used custom web part developed in silverlight for Edit.
How can I do this in 2010?
Missing Search Refinement Webpart in SP2010 Site Collection
Does the UpgradeActions, or more specifically the AddContentTypeField parameter requires the usage of a feature receiver?
I'm to add a field to a pre-deployed content type, but my deployment feature (site collection feature) doesn't have a receiver (to avoid gac deployment).
This looks perfect, but when i try to add the webpart to some page, it gives me an error "exception in the method 'execute' of the sanbox-codewrapper" (sorry, my error message is in german). Any ideas?
Pingback from Moss this week in pictures
if the current user has permission on document item level then only i have to open document in edit mode..or edit link should be visible..then what should do...plz guide...
Hello Corey, It's great solution, but I want this funtionallity with "Check User Permission".
Means, If current logged in user has Edit permission on that perticular document then only "Edit Document" link appear. Other wise not.
Thank You !! U are a Life Saver !!
I try to use ROW_NUMBER() function inside my MSSQLFT query and I getting error: "ERROR_BAD_QUERY Your query is malformed. Please rephrase your query.". Here is my code:
'<QueryText type="MSSQLFT" language="en-US">'
+ 'SELECT ROW_NUMBER() OVER(ORDER BY Write DESC) AS ro, '
+ 'Title, Path, Description, Write, Rank, Size, Author, SiteName,
+ 'FROM Scope() '
+ '</QueryText>'
I'm calling ws from jQuery. If I remove Row_number part everything is working ok.
Is anyone know why this isn't working?
THanks for the post. Is somewhat useful but would be more so if the code wasn't cut off.
it was very useful and thnx
Thanks for the great post, Corey. I have one question: Once we create a web part, we can add that web part in the Web part gallery in the Share Point 2010. Now we can able to insert that web part on any page on the Share Point Server.
Let's say I added that web part on 5 different pages on the same Share Point server. I modified the web part for some reason and imported again in the gallery; does it supposed to update all the other pages with the same web part automatically or I have to update each page separately?
For some reason it does not work for me, please advise.
@colin although I haven't tried it myself with Office 365, you should be able to make use of Office 365 in web parts or by modifying the master page to include the reference.
@Chintu go to your BCS service application, edit the bcs connection and you will be able to create a custom action. Create a new action with a URL that points to your Silverlight edit page. Make sure it is the default action and then recrawl.
@Unknown I don't believe a feature receiver should be required.
@thommy there may be some unsupported code in the sandbox web part. You might try starting over with a basic web part or removing any code that looks like it may require more permissions that allowed with SharePoint Online.
@Keyur I would push back on that requirement as it will not easily be achieved. In order to accomplish that, you would have to make a call to the API for every result returned and see if the user has edit permission or not. This would be hard to implement, require heavy use of the client API and would not likely perform well.
Glad I could help.
@Gosia ROW_NUMBER() is a T-SQL statement. It does not exist in the Full Text SQL Query language to my knowledge.
@Pam Sorry about that. I reformatted the text and you should be able to see it now.
@Paul If you update the code to the web part itself, then yes, all pages will call the new code and you will see the results. However, if you make changes to one of the properties on the web part file, you will not see those changes necessarily on each individual deployed page.
Pingback from Fresh From SharePoint – Google Blog Search=facebook - Women Meet Solutions
Hi corey,
Is there any poossiblity that we can put the above keyword class with all the functionalities in WCF web service????
Our latest Grid user post is from Corey Roth . At this point, SharePoint 2010 has been out about a year and a half more or less and you might have forgotten some of those new features that came along with it. Since I am often one to talk about SharePoint
@Altaf You can use the KeywordQuery class in a WCF service if the service is hosted on the SharePoint server. If you need to access it remotely then you will have to call Search.asmx to make the query.
Pingback from Open Document with the DispEx function in Sharepoint | spindia
When i try and add the web part i get the following error
"A web part or web form contol on this page cannot be displayed or imported. The type could not be found or it is not registered as safe." Any idea how to resolve this?
I get below error when Chart webpart is configured
"An unexpected error has occurred.
Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator. "
So can you tell me what is the matter and are there any specific features or services to be run on servers
Please help me out.
Thanks and Regards,
Awesome troubleshooting tip for finding missing templates. Thanks!
@Dani see this post for troubleshooting techniques.
www.dotnetmafia.com/.../troubleshooting-cannot-import-web-part-error.aspx
Sir, your blog articles are very, very helpful...thank you so much, may GOD always bless you with prosperity and healthiness..
If the feature has event receiver attached, shouldn't it also fire during activation?
I've managed to do this only via UI feature activation so far
Is there a way to do the reverse? I have the site collection ID's and list ID's, and need to come up with the name of the list quickly, when I need it.
I have the Sharepoint 2010 installed to begin with. But some webparts that are supposedly out of the box included, are missing.(e.g. the rss viewer web part) Am I facing a similar problem? Is your solution gonna work for me too?
I have worked out the Int32 values for the -Type attribute when creating new Managed Properties. They are on my blog here:
www.sharepointstudio.com/.../Post.aspx
Hope this helps.
@MarkStokes
Thanks, this helped. I had only 1 mssdmn,.exe so it was easier for me.
Do you know if there's a way to access more information about the content source other than the Start Addresses? Like the name of the content source, the schedule information for full and incremental updates, the SSA it belongs to, etc.?
@Eric you may need to put your event receiver in a separate assembly in this case. I've seen issues with this before.
@David if you have the IDs, then you can use the SPListItem class. To get the list name, use the ParentList property.
msdn.microsoft.com/.../microsoft.sharepoint.splistitem_properties.aspx
@Doros That might just be a feature instead. Go make sure that your SharePoint Standard Web Parts feature is activated. If you have Enterprise, be sure and activate that feature as well on your site collection.
Good work Mark! That's helpful!
@Erkan I have to think that there is but I haven't tried myself. Might take some creative use of the object model. I would love to hear what you find out.
Pingback from Sharepoint Update Sep-27-2011 | SDavara's Knowledge Center
Pingback from SharePoint Daily » Blog Archive » SharePoint Thought Leaders in Social Business; The Good and Bad of Windows 8; Can Windows Phone 7.5 Compete?
I'd like to thank the folks over at harmon.ie for mentioning me in their SharePoint Thought Leaders
I'm trying to find out whether the user initiated a full or incremental update. I'll let you know if I find out.
Pingback from SharePoint 2011 conference connections .. « SharePoint Magic
Great Post.
This method returns null for me and i am not getting any value for searchResultsHiddenObjectField
FieldInfo searchResultsHiddenObjectField = coreResultsWebPartType.BaseType.GetField("srho", BindingFlags.NonPublic | BindingFlags.Instance);
Do i need to use some other string instead of "srho"???
Great post, it helped a lot !!
@Neeraj is this with SharePoint 2007? srho is what the field is called internally.
Thanks for the list! And good call on hashtagging the individual sessions--I hadn't thought of that!
Pingback from New ECM Features in SharePoint 2010 « Dot Net Solutions
Thanks for sharing. I used the information you provided in conjunction with this article spmasters.blogspot.com/.../how-to-deploy-udcx-file-to-data.html to deploy the udcx file and then update the contents with the appropriate ListId and WebUrl.
No Corey.I am using SharePoint 2010 standard environment.Even I have used this query:
object queryObject = HttpContext.Current.Items["WSSSRHDC_0"];
Type valType = queryObject.GetType();
but I didn't find any value for query object.
This web part only works in SharePoint 2007. For SharePoint 2010, see this web part instead.
wildcardsearch2010.codeplex.com
Pingback from How to: Enable Clip Art with PowerPoint Web App SP1 – Corey Roth … | CATALOG WEB - INDEX OF THE WEB
Awesome! Congratulations
Great Post! , what I am exactly looking for ..
Any idea if it's possible to remove the "Member Login" navigation item?
I am trying to move a site from a 2007 SharePoint in Domain A to a 2010 SharePoint in Domain B using STSADM. Microsoft says it can be done. But I am noticing a different behavior in 2010. How can I make this work?
It worked...thanks
Corey I have my alternate access mapping correct and get the right results for All Sites Search using search center and the same for this site gives no results. I also tried for this list, same results are not popping up. Custom Search scopes are working but Contextual searches are not working and we need both for our project. Please let me know if ou ever faced the same situation. Thanks in advance...
Not sure why, but I don't appear to have the option of "Retrieve People Data for Search Crawlers" availble.
Turning on "Service application proxy for user profile related data." or "User Profile Application" seems to have resolved it however.
Thanks Corey.I am trying to do the multilingual metadata search by extending the core result web part.
The GetXPathNavigator method solves my purpose.
Pingback from Sharepoint Update Oct-06-2011 | SDavara's Sharepoint Knowledge Center
Thanks for Excellent Article. I have a question. I have a .wsp file. What are the steps to be taken while handing over .wsp file to be run on production by system administrator. And also steps to roll back if the .wsp fails.
This is the one of the few places I found that explains the document set caml easy thank you. Do you have anything on missing checkout prompt in word for library instances that uses theese custom document set? Checkout prompt are missing in mine when checkout required is set to true. The user opens a document and only gets read only. It is sharepoint and office 2010 seen on several environments.
Thank you for a great blog, have read many other things that has been helful.
Regards Nina
I figured out my question I wrote here earlier, I was way of. The different behavior seen in Word was because for some reason the libraries was placed under the lists url. And this makes word behave differently.
Pingback from Castle include WCF hosting - Programmers Goodies
More on add
Great article Corey. Thanks for the insight. :)
I need to configure my search results to show the actual file name at the top of the result. I have read you can do this by editing the XSL but I have no idea about this. Can you help?
Nice blog here.. I am trying to use custom managed properties using keyword API.. I have tried using this code but it seems like some of the OOB properties returns blank.. Any idea?
e.g. I have custom managed property called - DocumentType and I would like to return some of the OOB ones like SiteName or HitHighlightedProperties. It seems like using SelectProperties, these properties returns blank.. Have you came acroos this?
keywordQuery.SelectProperties.Add("Title");
keywordQuery.SelectProperties.Add("SiteName");
keywordQuery.SelectProperties.Add("DocumentType");
Nik
Can we use SQL Server 2005 Table/View as Datasource to this charts?
thanks for sharing this Post......Keep posting ...
Your post got me started a few weeks ago and I now have a collection of custom webparts that contain multiple webcontrols and database access and so on. So thanks!
My problem now is that IE grows to immense proportions when I use my web part pages. So clearly I should be disposing more than I am. Simple question to start with: your example adds a Label control. A Label control has a dispose method. Should you be calling it at some point and if so where?
Alan
Corey:
The Workspace product is indeed interesting, but there are some material limitations related to column types supported in the tool, as well as collision resolution. It was also a little disappointing that this product didn't really move all that much further forward from the previous version (2007 era). Further, Microsoft has curiously not yet gone far enough with integration into Office (e.g. Outlook) and still relies on two very different models for "offline" usage of SharePoint-hosted data (Outlook sync vs. Workspace).
There are competing products that are far better integrated (which you probably know) and more usable in the real world than Workspace. What are your thoughts?
Shawn
Hi, this Blog is a real help for us, I have a issue with my share point web part application, every thing works fine as you said, but when i try to deploy , it fails in recyle IIS step , It says i don't have sufficient Rights, But strangly, i am Adminstrator in this machine, is there any setting i am missing ??
Pingback from SharePoint Daily » Blog Archive » SharePoint Records Governance Plan; Cloud Computing can Transform Business; Microsoft Closes $8.5 Billion Skype Deal
I am sorry to say that Waffles the Panda will not be able to attend the European SharePoint Conference
SharePoint 2010 and PowerShell guide for wsp deployment
Pingback from Sharepoint Updates Oct-14-2011 | SDavara's Sharepoint Knowledge Center
@vipin The issue for me almost always seems to be related to the AAM. You may want to look at how you have them set up. Typically, I set the FQDN to the default AAM and then crawl that same URL. You can add other mappings for the server name, etc.
@Neville I'm afraid I haven't tried that particular scenario.
@Robert Hmm, I am thinking that may not be possible. I haven't seen a way to create a custom login page in SharePoint Online.
@John when you are ready to go, your system administrator can install the solution package using PowerShell. Just give your admin a copy of the .wsp file. I have more details in the post below.
www.dotnetmafia.com/.../adding-and-deploying-solutions-with-powershell-in-sharepoint-2010.aspx
@Nina Thanks! I'm afraid I'm not sure what might be causing that behavior.
@Oldwizard46 This can be done by manipulating managed properties and some XSL. See this post. chris.gg/.../display-filename-instead-of-document-title-in-sharepoint-search
@Nik that is the way I always do it. Be sure and specify every property you want in the SelectProperties collection.
@Garnesh Yes, you can if you bring the data into SharePoint using an external list. www.dotnetmafia.com/.../it-s-easy-to-configure-an-external-list-with-business-connectivity-services-bcs-in-sharepoint-foundation-2010.aspx
@Alan No, you shouldn't have to dispose of the control. You may try disabling ViewState on controls that do not require it.
@Sailash This is a common issue. If I remember right the cause of the issue is not having sufficient permissions in the SQL Server content databases for the given web application. I think you can resolve it by granting db_owner, but I could be remembering incorrectly.
Thanks Cory for your reply.
It seems like KeywordQuery API applies security trimming by default when you access the Search Data using API.
Is there anyway we can override and remove the security trimming? I have requirements which would require data access by users who don't have source data access crawled in search.
first of all great post.
I have a situation where i want to exclude the <head> section as well. Do you know how this can be done?
I have tried and failed with <head class="noindex">
and there is no way i can put a <div> tag inside <head>.
thanks in advanced for your answer.
thanks, that's really helpful.
I always struggle when it comes to debugging a feature-EventReceiver.
The System.Diagnostics.Debugger.Launch() works like a charm!
How about retracting two solutions back to back? If I issue a batch command to remove all my solutions how can I accomplish it without getting the 'A deployment or retraction is already under way for the solution' error?
smw
Nice post. Thank you.
So I keep getting the •Exception has been thrown by the target of an invocation. Any ideas on how to fix this?
This worked great. Thanks!
Pingback from Erfahrung mit meiner erste Win2k8-Serverinstallation... - MCSEboard.de MCSE Forum
Thanks Steve,
SPWeb.Update() was indeed required when updating the property value. Note that calling Properties.Update() before SPWeb.UpdatE() does not work. I got it working like this:
using (var site = new SPSite(url))
SPWeb rootWeb = site.RootWeb;
rootWeb.AllowUnsafeUpdates = true;
var keyExists = rootWeb.AllProperties.ContainsKey(key);
if (!keyExists)
WriteEventLog("WriteWebConfig key does not exist in PropertyBag. Adding it. " + key + " " + value, EventSeverity.Information);
rootWeb.Properties.Add(key, value);
rootWeb.Properties.Update();
WriteEventLog("WriteWebConfig keyPair already exists. Updating it.. " + Environment.NewLine +
"Previous keyPair: " + key + ", " + rootWeb.AllProperties[key] + Environment.NewLine +
"New keyPair: " + key + ", " + value, EventSeverity.Information);
rootWeb.AllProperties[key] = value;
rootWeb.Update();
rootWeb.AllowUnsafeUpdates = false;
result = "Success: KeyPair successfully written to PropertyBag. Key: " + key + ", Value: " + rootWeb.AllProperties[key];
@Robert:
yes, you will find this under Design->Setup->Display Options->Display "Member Login" button in navigation
Thanks much for the article - made my day after multiple hours of trying figuring it out
How can I get the chart web part to display more dates? I have an excel file from 9/1/2011 - present but I only see 4 dates on the chart.
Pingback from $.getJSON, jQuery.tmpl and _vti_bin « Sharepoint. Sharing the knowledge
Tim Boothby solved my memory problem its a bug with Sharepoint 2010 when using IE8
I can give you slightly more specific informaiton. The problem is associated with an IE addin NameCtrl Class which is a part of SharePoint that handles presence information. You can workaround this issue either by disabling just this addon in IE or by turning off presence information at the SharePoint site level. To do this go to Central Administration -> Application Management -> Manage Web Applications -> Select your site -> General Settings -> Enable additional actions and Online Status for members -> No
More information in this thread -
social.msdn.microsoft.com/.../87ced99d-8a1a-42b1-9513-1ffa59c8fd8d
Tim
Pingback from Programmatically create SharePoint security groups using configuration « Thinking out Aloud
Una pregunta habitual cuando se comienza a desarrollar en plataforma SharePoint es la relativa a como
Pingback from SharePoint 2010: Desarrollo y depuración contra sitios remotos (I)! « Pasi??n por la tecnolog??a…
Thanks for posting the article,it is very much helpful
The Solution did not work for FAST Search, It opens the site but not the document's folder. Is there workaroun or other solution?
Does it have a limit? For example, is it going to work if I add about 2 thousand groups?
Corey- i have the same problem what Vipin has mentioned. but on the server windows foundation search service is not running.Is because of that the site scope will not resturn results?
Is this also easily done in SharePoint Standard 2010 Search? I have been looking, without luck, for this exact kind of answer (only with an additional link to "E-Mail a Link" with those other actions).
Pingback from Wildcard Search Sharepoint 2010 | Code ??ffle Blog
Pingback from Searching by Document Id in SharePoint 2010 – Corey Roth [MVP] | Code ??ffle Blog
Pingback from How to: Enable Clip Art with PowerPoint Web App SP1 – Corey Roth [MVP] | Code ??ffle Blog
Check that you don't have conflicting alternate access mappings.
Hi Cory, great article - and thanks for pointing me in the right direction.
I modified your code for some pseudo PowerShell (and SP2010 object model) code :)
$searchApp = Get-SPEnterpriseSearchServiceApplication "MySearchApp"
$schema = New-Object Microsoft.Office.Server.Search.Administration.Schema –ArgumentList $searchApp
$category = $schema.AllCategories["SharePoint"];
$category.DeleteUnmappedProperties();
$category.Update();
Pingback from SharePoint 2010 Accessing Lists the RESTful way « DotNetAdil
How can i use refiners with KeywordQuery ? I'm getting refinement from sharepoint default refinement panel.
Hi why these fields are added?
<FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType" />
<FieldRef ID="{b824e17e-a1b3-426e-aecf-f0184d900485}" Name="ItemChildCount" />
<FieldRef ID="{960ff01f-2b6d-4f1b-9c3f-e19ad8927341}" Name="FolderChildCount" />
<FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="FALSE" Hidden="TRUE" />
<FieldRef ID="{8553196d-ec8d-4564-9861-3dbe931050c8}" Name="FileLeafRef" Required="TRUE" Hidden="FALSE" />
<FieldRef ID="{cbb92da4-fd46-4c7d-af6c-3128c2a5576e}" Name="Description" ShowInNewForm="TRUE" ShowInEditForm="TRUE" />
Thanks ....
Thanks :)
How do i deploy pages into sub sites' page library
Link to Document Library did not work for FAST Search. Is there any workaround to get it working?
Hey my scenario is somewhat similar to you but still could not figure out the solution. I have a webpart that can be placed on the Portal Home Page or some where else viz other site pages of the portal or subsite's home page or subsite's pages.
I just want to know if this webpart is on the PORTAL HOME page or some other location. Because this web part is going to be displayed differenly based on where it is placed.
could you please suggest me how can i get the location of the webpart?
Khushi
Hi Cory,
Can this be used to search inside documents?
Neil
Thanks...i was struck into this issue for 3 hrs..
I wanna activate bbm but how
Pingback from Impact of ‘Draft Item Security’ and ‘Security Trimming’ on Search Results in Sharepoint « Extreme Sharepoint
When I attempt to do this the url is always wrong so I get a 404 error on a search query.
I know the full path to the page is myserver.mycompany.com/.../SearchResults.aspx so I change the site collection search results page to /_catalogs/SearchResults.aspx
This results in the url myserver.mycompany.com/.../SearchResults.aspx
When I make the search results page /sites/mysitecollection/_catalogs/masterpage/SearchResults.aspx
This results in myserver.mycompany.com/.../SearchResults.aspx
I just can't win here. What am I missing?
@Nik. I think your best bet would be to put the call to the KeywordQuery class inside a RunWithElevatedPrivileges delegate so that it runs as the application pool account.
@sebngu I'm not sure that it's possible in this case.
@smw Try issuing both commands and then running the admin services job.
@Paul try a different spreadsheet or try removing elements from the one you are trying until it works.
You are correct that it does not work with FAST Search for SharePoint. You can consider the document link handler or another approach that we have used in 2007.
It probably would but you may want to reconsider how many groups you add to a given site.
The search service should not affect it in this case. Check your alternate access mappings and the URl you are using to crawl on the content source.
@Musch thanks for the PowerShell script!
@Yogesh They are there when you create a document set using the UI. I suspect you might be able to drop some of them, but SharePoint includes them by default.
@Ramesh just activate the feature on the subsite instead of the root site.
@Neil Yes, it will search the contents of your documents automatically.
Pingback from Building Sharepoint Silverlight, Visio Diagram | SDavara's Sharepoint Knowledge Center
Check the case all matches of your namespace and class too!
I read your post and it was very helpful but I am trying something else.
I have a solution built in VS 2010 and I have choosen the deploy solution directly to the sharepoint server. Now the issue is I have made few changes and the build was also successful, I want to deploy the solution to the Sharepoint server I am afraid it might crash the site as it is a production environment.
Please guide me in this.
Harshal
SharePoint Workspace 2010 is truly an awesome set of tools - three in the pack: Folder Sharing (like DropBox), Offline SharePoint client and Groove workspaces. The latter two is very distinct (no overlap of content in its workspaces). Groove Workspaces has two .NET APIs - Web Services and AddIn Tools that expand its capabilities (see msdn.microsoft.com/.../ff628442.aspx).
I present on SharePoint Workspace 2010 in SharePoint Saturday events (e.g, www.sharepointsaturday.org/.../SharePointWorkspace2010InAction.aspx) and also at local developer groups (e.g., www.meetup.com/.../29982261 )
SB Chatterjee
MVP - SharePoint Workspace
mvp.support.microsoft.com/.../mvp.aspx
Thanks for this article, this was just what I needed.
There was a question earlier about "Add managed property to custom results set retrieved on each query". I have also try to find out how to set that with Powershell. It's the only thing I'm missing. Have you or anyone found a solution for that?
Matti
Do you know any keyword to filter by Managed Metadata Keywords?
Pingback from Sladescross's Blog
How to find a file is checked out or not using SharePoint Search web service's mehot QueryEx? Please let me know. That would be a great help.
We tested this mostly for the ability to sort search results, and that worked well. However, we found that it doesn't work with searches on managed property values, which is essential for us. I see on CodePlex that this issue has been discussed before; is there a fix for this?
Pingback from Sharepoint Updates November-10-2011 | SDavara's Sharepoint Knowledge Center
Pingback from SharePoint Daily » Blog Archive » All Microsoft Products Lead to the Cloud; Silverlight Exit Strategy; Spellcheck in IE10
Don't forget, SharePoint Saturday Denver starts today. Stop by the Bamboo booth for details on our
Pingback from Br??kdyr caf??mad i Vestjylland og ??vrige nyheder « Dagbog « IHD Blog
Hi, for the advance search, how's the property mean? the document property? My company hope to have a "tagging" solution. I wanted to make use of the property "Description" but i can't get it to work. please reply.
You saved my day - thanks :- )
This is a general fix for this:
Right click on the .exe, go to properties.
Click on Unblock, then run the .exe
Can we meta tag documents from the file share?
Kranthi
Pingback from Sharepoint Updates November-15-2011 | SDavara's Sharepoint Knowledge Center
Can we include xml documents this way and index it ?
I am using sharepoint 2010 Business connectivity service. I need to search an item in the database. So I configured search service. I am able to find the search results but when I clicked on the results , the URL starts from bdc3:// instead of going to profile page. The error showed on the page is "web page cannot be displayed". Please guide me to resolve this problem.
Appreciate your help.
Pingback from SharePoint Daily » Blog Archive » The SharePoint Social Landscape; Not All Clouds Are Created Equal; 2012 Tech Predictions
Sounds like the NCAA needs to work on their SharePoint security . - Dooley Top News Stories Breathing
Pingback from Sharepoint Updates November-17-2011 | SDavara's Sharepoint Knowledge Center
hi Corey,
I have got a question re: Sharepoint 2010 search and file share indexing.
We are trying to crawl and index SVN checkouts located on a network share (WIndows with NTFS) and at the same time leverage SVN path-based access rules. We want to index files and their content but then results should be returned based on permission. Any thought or ideas ? Rgds,Marcin
Good article Corey thanks.
Only thing I'd add is that all url and folder names are case sensitive for this method.
Excellent, concise description, really helped research backups solution troubleshooting with CommVault. Thank you.
the info on the chris.gg site about displaying filenames instead of document titles does not appear to work in Sharepoint 2010. i'm sure with some modification it could be made to work, but the default XSL in SP 2010 is slightly different, so using the mod as shown doesn't work. if anyone knows of a fix for this or another link that shows how to do it in 2010, it would be much appreciated.
Has anyone figure out @Abhishek problem because I'm having the same problem??
And the same problem as @Lukito, so at @BobbyOutlaw or @CoreyRoth can the Y-Axis have Text in them?? and if so how do you go about doing this.
Thanks for the info...clear and concise.
i am using SP 2010 enterprise edition with Enterprise Search center.
But as you shown, i am not getting author<>"corey roth" reasults.
It is simply showing nothing.
Whay this all?
Do i need to install FAST search also.
necessarily.
Any help appriciated :-)
Pingback from Error occurred in deployment step ‘Activate Features’: Cannot start service SPUserCodeV4 | Faister's Blog
Very well cought. It was of great help. Thanks.
Great!...
Thanks Corey, this is very helpful.
Question: What would the QueryText syntax look like if I wanted to get all documents that have both FAST and Search? I've been trying many variations and keep getting Microsoft.Office.Server.Search.Query.QueryMalformedException: Your query is malformed. Please rephrase your query
something like this is what I'm hoping to accomplish:
keywordQuery.QueryText = and("FAST Search)";
Dennis
Really helpful article!
Solves my problem on IDs.
Excellent information,
Configured contextual scope same way as suggested above. But i have a peculiar issue when i redirect my queries to another FAST farm the contextual scope does not display any results. Both the FARMS have same document counts.
Can you let me know , what could be the issue here ?
I really wish I could figure out the title issue. It is not specific to the deployment method described above. I have a connection library that drops the titles regardless of whether you deploy from SharePoint, through a feature receiver, or through elment.xml. I have tried specifying the title in the caml and altering it through code. It just stays blank. You can delete the file and re-upload, but that defeats the purpose of designing a feature. I do not want to have to manually create every connection. The missing title does cause problems because it prevents future updates to the file. I've seen lot's of people with this issue, but no solution. Just the suggested work around of deleting the file and re-uploading it. If anyone has a real solution that will allow me to add udcx files without manual intervention I would be very greatful.
Is there a way to get it to open a library in another web app? We use a resource farm for search, and it tries to go to the library on that farm, which doesn't exist.
Thanks Corey...
Thanks for this blog,
Nice blog.
Unas de las dificultades cuando se desarrolla para SharePoint es la relativa al versionado de ensamblados
Pingback from SharePoint 2010: Versionado de ensamblados y binding redirect! « Pasi??n por la tecnolog??a…
Pingback from SharePoint Daily » Blog Archive » IT Trends that Could Affect SharePoint; Microsoft Discovers Openness; Special Discount for O’Reilly Training Courses
Do we really need a reason to go online ? - Dooley Top News Stories 3 Trends in IT That Could Affect
Is it possible to create custom managed properties in SharePoint Online? . Actually i need to accomplish this on my 0365 app. Can you please help?
@Harshal you should do your development on a different server (other than production) if possible. Once you are ready to deploy to production, you can use the .wsp package that Visual Studio produces to deploy your code to the new server. Since you are in production now, you should only make change during shceduled downtime as deploying the solution will cause a bit of downtime.
@Prashanth SharePoint Search only indexed files that are approved and checked in. I'm afraid you can't use Search to query in that case.
@Todd I'm afraid there has not been an update. I suspect it could be possible but haven't had the time to update the code to produce the right query I am afraid.
@Doreen I'm afraid I'm not understanding what you're trying to do. Can you provide more information?
@Kranthi I'm afraid you can't unless you move the documents into SharePoint or look at a third party solution (i.e.: AvePoint).
@Shashwath yes you can index XML files on a file share as well.
@sireesha If you can search the data, you may just need to reindex after you have created the profile page. If it works correctly, you will see the profile page URL in the crawl logs.
@Marcin That can be done but will take quite a bit of effort. To implement security trimming you basically need to create a search indexing connector. They are pretty difficult to write but if you are really interested this link should help.
msdn.microsoft.com/.../ee556429.aspx
@louis Your content source should be configured to use the default alternate access mapping.
@maf That should work. You don't need FAST Search to issue that query.
Dennis, you need a comma in between terms. For example, and("FAST", "Search")
@Nikhil not sure what the cause would be there.
@Matt so the SiteName parameter doesn't return the URL of the directory, it returns the value of the local farm?
@Abin currently not possible I'm afraid. I wish it was.
Thanks Corey for the Info. I have another issue too while using your sample code, I am getting an Unauthorised exception like " Attempted to perform an unauthorized operation" on line of code
"queryService.QueryEx(queryXml.ToString()); "
@Abin This is with SharePoint Online right? Are you running the Silverlight application locally or from the SharePoint site. Can you execute queries in the search center successfully?
Pingback from Putz! Vou ter que fazer outro Deploy! =S « sharepointgirl
Yes
Pingback from SharePoint Daily » Blog Archive » Measuring the Success of Your SharePoint Implementation; Should Gates Return to Microsoft?; Save 10% on Bamboo Suites
Friends don't let friends text and drive . - Dooley Top News Stories 5 Tips for Measuring the Success
Thanks Corey this Artical helped me a lot
Pingback from Sharepoint Updates December-09-2011 | SDavara's Sharepoint Knowledge Center
Pingback from REST and LINQ | SharePoint 2010 | Sharepoint Sriram
To Create a Enterprise Search Center site, one would require to Enable Publishing Infrastructure feature at Site collection level before starting to proceed with the Enterprise Search Center site.
-Prem
Pingback from Problem with HTTP Handler deployed on Sharepoint 2010 | Q&A System
This DOES NOT work if the feature has a feature receiver for activation. The code does NOT run.
Is there a description of the DispEx parameters?
Also check that the account running the search14 service has the permission to create/write in the \Program Files\Microsoft Office Servers\14.0 tree, else you're in for a lot of woes ;)
Well we are missing those webparts to and Iam a little scared to just shoot at the sitecollection with this command since this thing is the productive sitecollection and has a size of 10 GB. Do you have any idea what could go wrong? Or is it really just that the webparts appear in the catalogue?
Christoph
Pingback from Override Core Results Web Part With Custom Query « Sladescross's Blog
Pingback from Adventures upgrading to SharePoint 2010 | SoftArtisans, Blogged Adventures upgrading to SharePoint 2010 | The Cathedral and the Bizarre
Pingback from Update list items with listdata.svc « Sharepoint…
Pingback from SharePoint 2010: Excluding Navigation Nodes From Search Crawl
How to get multiple sites in refinement panel under site category
It did indeed help a newbie!
Thank you...
This helped me a lot.
Hi Corey, we tried to create a similar page. But we have tried to use response headers as managed properties. We have found no solution to do so. Did you figured out something like this? Best regards. Mario
I did everything you told in the article and no symbols have been loaded.
Oh, and when a try to load symbols manually, I receive the following message: A matching symbol file was not found in this folder.
I'm a newbie. Help, please.
Can I copy and paste this into VS2008?
What else do I need to do implement this?
Thanks in advanced
Another way to give crawl account the Retrieve People Data for Search Crawlers permissions via PowerShell
Get-SPServiceApplication
# DisplayName TypeName Id
# ----------- -------- --
# Secure Store Service Secure Store Serv... 35f29048-82db-4f4c-8654-fc0d40e3d6c8
# State Service App... State Service 75d3d324-2bf5-4be5-918c-cb263c5c38ea
# Managed Metadata ... Managed Metadata ... 2dbaadfb-2ca2-43a0-afa9-0562324caf6f
# Web Analytics Ser... Web Analytics Ser... 9aaf5391-5ae9-4e74-a1b1-7c34a0a1dc51
# ExcelServices Ser... Excel Services Ap... bc501c34-67a1-4e82-8232-4f791577b8d1
# Security Token Se... Security Token Se... 0651920e-f0fd-473f-851f-26d6b1e1e1f1
# Application Disco... Application Disco... 1c397a52-cc6e-42a9-9088-b013637c45c6
# WSS Usage Applica... Usage and Health ... b3b5960e-14fa-4a51-9cb6-e631079947a4
# Search Administra... Search Administra... 8cd38f68-6778-427f-aa72-076da9a080e2
# User Profile Service User Profile Serv... cbfdd920-2026-4d4f-8cb0-1457cfc9b270
# Search Service Ap... Search Service Ap... f252fa85-597a-49cc-83a6-e5a40f9c3a6c
$serviceapp = Get-SPServiceApplication cbfdd920-2026-4d4f-8cb0-1457cfc9b270
$security = Get-SPServiceApplicationSecurity $serviceapp -Admin
$principalUser1 = New-SPClaimsPrincipal -Identity "crawl_account_domain\crawl_account_login" -IdentityType WindowsSamAccountName
Grant-SPObjectSecurity $security -Principal $principalUser1 -Rights "Retrieve People Data for Search Crawlers"
Set-SPServiceApplicationSecurity $serviceapp -ObjectSecurity $security -Admin
This is one of the best articles so far I have read online. No crap, just useful information. Very well presented. Its really helpful for beginner as well as developer. Thanks for sharing with us. Check out this link too its also assist in understanding of sharepoint.
mindstick.com/.../9e1d1fe1-7e51-4d01-86ec-f1f679631a7e
This is one of the best articles so far I have read online. No crap, just useful information. Very well presented. Thanks for sharing with us. Its really helpful for beginner as well as developer. This link also explained very well about how to create and deploy webparts in sharepoint.
Pingback from Drawler blogs | Adventureleap
Great article, some quick and dirty PS to do this in FAST (first powershell i've ever written :)
Replace the URL with your CA address and "JDBC" with whichever category you want.
$site = Get-SPSite "http://localhost:81/"
$serviceContext = [Microsoft.SharePoint.SPServiceContext]::GetContext($site)
$searchProxy = [Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy]::GetProxy($serviceContext)
$schemaContext = $searchProxy.FASTAdminProxy.SchemaContext
$schema = $schemaContext.Schema
$category = $schema.AllCategories["JDBC"]
$category.DeleteUnmappedProperties()
$category.Update()
Thanks Corey. It worked.
What a fantastic idea. Need to make it to the next meeting. Any meetings in 2012? We used Chris Vincent at webadaptions in the past for our company. He does SharePoint portal administration, development, and setup in Oklahoma City.
Thanks for the great tutorial, just one to contribute a little bit that using ADO.NET data services, not only can you retrieve but also create and update data via REST and ListData.svc in SharePoint 2010. Let refer this link (msdn.microsoft.com/.../ff798339.aspx) if you are interested in. :)
Pingback from Sharepoint Updates December-21-2011 | SDavara's Sharepoint Knowledge Center
I am sorry for my poor English.But I have a question about how to limit the SEARCH SCOPE.I am trying to query the FAST Search Server which has crawled a Database File.I plan to crawl the database several times and store the result in different "Collection".Because I can not fill the information into a single table.I want the url will be different when necessary.
Now I find it difficault to explain it to you with English.And maybe it is difficault for you to understand me,too.
However,if you can tell me how to use SEARCH SCOPE,it will be a GREAT HELP.
Thank you very much!
Pingback from [SharePoint 2010 User Profile Service] ??????User Profile Service??????????????? | Ipark's SharePoint Blog
I have a feature which as a event reciever , I have added it to my WebTemplate's Onet.xml when you create a subweb by PowerShell the event reciever will trigged, now I want to debug it when i execute the powershell script, how can i to do it? thanks.
This is a great start.
How do you continue this and set search site collection search scopes and rules with PowerShell?
Pingback from SharePoint 2010 – How to activated and deactivated Features with PowerShell | SharePoint - How To
Pingback from Sharepoint Updates December-28-2011 | SDavara's Sharepoint Knowledge Center
Article is very helpful. Thank you.
Was wondering if I can restrict querying to a particular Content Source given that I have multiple content sources.
Also when fast crawls my site can I detect the crawler perhaps by looking into the Request headers?
Pingback from Sharepoint Updates 29-Dec-2011 | SDavara's Sharepoint Knowledge Center
Pingback from SharePoint Daily » Blog Archive » Using SharePoint to Build Your Website; IE6: You’re Doing It Wrong; Important Microsoft Product Lines
Now I don't have to pay attention to where I am walking . YAY!!! - Dooley Top News Stories 3 Things
@Asif yes, you can restrict queries by content source, by using the ContentSource keyword.
Are you saying you are going to put some code in your site to look for a FAST crawl? I imagine you could identify it by looking at the identify of the user crawling (i.e.: your default content access account).
@Kevin here you go. Setting scopes with PowerShell.
www.dotnetmafia.com/.../creating-enterprise-search-scopes-with-powershell.aspx
@Kourosh Try this technique that I use with cmdlets. It should work. www.dotnetmafia.com/.../how-to-debug-a-powershell-cmdlet.aspx
@John There is a meeting on 1/19. http://okcsug.org/
@Ray, you'll have to create those activities like I did. You can drag them and drop them into the workflow. If you're not familiar with workflows do a search for a more complete tutorial as there are many steps involved.
@Bronno If no symbols are loading. Start over, recompile and try again. Usually, the number one reason is that the DLLs don't match exactly between the client and the server. Either that and Visual Studio is not cooperating and sometimes it just takes multiple attempts. :(
@Mario I haven't tried it before.
@SUSHD you don't have to do anything to get multiple sites to show up. There does have to be enough results. However, I have noticed peculiar behavior with this particular refiner before and sometimes other sites don't appear.
@Christoph well always take a backup if you are unsure of things. I have never seen it cause an issue. If all else fails, you can manually upload the .webpart files to the web part gallery but that is kind of a painful process.
@Markus I don't know that there is. I discovered the use of it simply by inspecting a page.
@Ish it should. Make sure that your event receiver is not in the same assembly (or solution package as the feature you are activating). It also need to be installed to the GAC if you are activating with PowerShell (although it probably already is). Lastly, make sure the account you are using is in the Get-SPShellAdmin group.
@Brian I have had confirmation that this does work in SharePoint 2010 as well (although I haven't tried). I think you could use the same technique for E-mail a link. Although, a bit more work would be involved since you would have to collect the E-mail address to send to.
@Walt. Just edit the results.aspx page of your search center, remove the existing CoreResultsWebPart, and ad this new one in its place.
Not working for me on a SP2010 Enterprise search server, but what does is the query (size>=0). # worked on FAST Search last time I worked on one.
@Erich you're right % and # don't work in SharePoint 2010 but they do work in SharePoint Online and FAST. I've updated the post.
Pingback from WebParts by sithram - Pearltrees
is there a way to add a link to the documents property page?
I noticed "#" working in Office365 a while ago, and thought maybe they had implemented FS4SP. But so far this is not the case, so they must have upgraded the webpart code to support empty searches with oob SP search.
Do you have a way for a large external list (4'000 items)?
the time as the page is completly loaded is mor than 2 minutes...
Thanks for your Help.
You also get this error if your .webpart file attempts to set a property that does not exist in the webpart class.
I can get everything to work fine except for the "First rown contains column names" it pushes through just fine if i dont have it checked but it wont work when it is. It gives me an weird foundation error that i cant look up anywhere. Any Clues?
Is it possible to use custom webpart datasource for chart? and also want to change the X-axis and Y axis
Thanks very useful. I am having an issue with service accounts not being granted the appropriate permissions in local security policy and rather than grant them manually we need to know what is preventing them from being applied during set up. Any tips on how to investigate this would be appreciated.
@Peat It's a total pain, but it's probably some type of group policy preventing those accounts from having those permissions. I've seen it plenty of times before. Sometimes you will see info in the logs in the 14 hive. Occasionally the event log. The service accounts are obvious because when you reboot, the services won't start.
Pingback from How to: Use Visual Studio 11 to publish solutions to SharePoint Online - Grid User Post - Office 365 Technical Blog - Office 365 - Microsoft Office 365 Community
Audience: Office 365 for professionals and small businesses Office 365 for enterprises
Nice post! I have seen in many cases wildcard does-not function properly with people search, for example
willi* or *william it works, But wi*am will not give any results. Is this behaviour default right?... If right how can we overcome?
Pingback from SharePoint Daily » Blog Archive » Selling SharePoint 2010 to Your Enterprise; TechNet Content on Amazon; Windows 8 in October?
My photography skills are severely lacking so I always look forward to seeing what others did in the
Pingback from Programmatically Adding Links to SharePoint My Links « Christian Fleischhacker
I have a different issue. I uninstalled a webparts solution. But not able to retarct it. In Manage farm solutions, I can see the status as "retracting" always. Not sure why this is happening. I want to remove the solution completely from sharepoint.
While clicking that particular webpart, I got the error message as the web.config doest not have the <trust> node.
Pingback from Turning Internet Explorer Automatic Login on for SharePoint Sites on Windows Servers | Ernesto Obieta
Yes, I got this error message when I edited columns on a list & use method that is mention in your post as well as some other methods. But issue did not resolve then I have found this post:
www.sharepoint-server-recovery.blogspot.com/2011_03_01_archive.html
Follow each & every steps mention in the post to get rid of error within few seconds.
@Nikhil Unfortunately, you can't do wildcard operators in the middle of a name. However, you shouldn't need them very often. The phonetic search does a good job recognizing similar names even when you spell them poorly.
@Mikael I am thinking it might have came with SU1. The definitely cleaned some stuff up (like the removal of the FAST links in that update). community.office365.com/.../19687.aspx
Yes, try the use of the Document Link Handler. www.dotnetmafia.com/.../introducing-document-link-handler-for-moss-2007-enterprise-search.aspx
Great list, thanks!
Is there a way to filter by created date instead of modified?
Pingback from SharePoint Daily » Blog Archive » SharePoint Implementation Checklist; The Year Of Social Business; Collaboration: What’s Next?
I think I could get used to a four-day work week . - Dooley Top News Stories SharePoint Implementation
Hi Cory
Thanks for the write up.
We have noticed a very strange behaviour when activating the PublishingSite site collection feature via the gui and via powershell and I'm wondering if you have any ideas or thoughts on it.
What we notice in all of our sharepoint farms that when we manually or via script activate the Publishing Site feature and waited it takes about 2-3 minutes before it shows that its activated.
Thiis is too long for us so we've been trying to understand where the bottleneck is. Lots of perf testing but nothing clear as of yet.
Then, I noticed something very strange and confusion!
If I activate the Publishing Site feature via the gui, wait 3 seconds, refresh the page and then click the activate button again the feature is activated in less then 10 seconds!
I proceed to activate the publishing web feature as well which is done instantly and everything is in place.
Can you explain this? Why does it go blazing fast after a refresh?
I would be very grateful if you had any thoughts to share.
Amir
Pingback from 301 vs 302 Redirects in SharePoint « SPMatt
Works for me! THANKS!
This maybe late. I used Sharepoint Designer 2007 for our WSS3.0 site costumizing webparts and planning to build webpart using VS2010 any tips/tutorial out there how do I start?
Using this template can I start building webparts?
Any help would be very much appreciated!
Brilliant, thanks! Works on my oct-2011 dev box
This is a good post. we can easily understand how to enable and disable features using powershell command
In our Search Centre (Sharepoit Enterprise) we get different results (amount and rank), when using the NOT or the "-" Operator. It is the same problem with the AND and "+" search.
sun NOT rain != sun -rain
Do you have an explanation for that behavior?
Do delete a crawled property, it mustn't be included in the index as well. Edit the property and uncheck the "Include values for this property in the search index", for it to be purged with the above methods.
Pingback from SharePoint 2007 Solution in SharePoint 2010 deployen - SharePointBlog
ANy idea on how retrieve the number of replies in the discussion board?
I am able to search in the topic, but not to get the replies.
Any way you do this exact thing but display only Blogs.
Pingback from The Red Circuit - TFS Build With Octopus Deploy (Part 2)
Nice post. Is it possible for you to give clarity on the various Service Applications that are available in SP2010, for e.g., Excel Services, Managed Metadata Services, Secure Store Services etc
Pingback from BCS Create Profile Page « Sladescross's Blog
Thanks for the article. I just implemented it and it is working.
What if you need to activate a feature (SharePoint Server Publishing Infrastructure) with a less privileged account. Your code works when I run it as a site collection admin but fails even when I put the following code arround it:
SPSecurity.RunWithElevatedPrivileges(delegate(){
SPSite CurrentSite = SPContext.Current.Site;
CurrentSite.AllowUnsafeUpdates = true;
CurrentSite.Features.Add(new Guid("{f6924d36-2fa8-4f0b-b16d-06b7250180fa}"));
CurrentSite.AllowUnsafeUpdates = false; });
The page thows an access denied and I see the following in the logs:
Feature Activation: Activating Feature 'PublishingPrerequisites' (ID: 'a392da98-270b-4e85-9769-04c0fde267aa') at URL
Feature Activation: Threw an exception, attempting to roll back. Feature 'PublishingPrerequisites' (ID: 'a392da98-270b-4e85-9769-04c0fde267aa'). Exception: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at Microsoft.SharePoint.Utilities.SPUtility.Redirect(String url, SPRedirectFlags flags, HttpContext context, String queryString)
at Microsoft.SharePoint.Utilities.SPUtility.RedirectToAccessDeniedPage(HttpContext context)
at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(HttpContext context)
at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(Exception ex)
at Microsoft.SharePoint.SPSecurableObject.CheckPermissions(SPBasePermissions permissionMask)
at Microsoft.SharePoint.SPSecurity.ValidateSecurityOnOperation(SPOperationCode code, SPSecurableObject obj)
at Microsoft.SharePoint.SPFeature.AddRowToFeaturesTable(SPFeaturePropertyCollection props, SPSite site, SPWeb web, Boolean fForce)
at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce)
Cannot find an SPSite object with Id or Url: customer/.../default.aspx.
I have set this up at one of my clients.
The only issue that I see is that if the user changes the search term and resubmits, the context disappears. Is there any way around this?
Pingback from Corey connector | Kerriganmeats
Pingback from SharePoint Daily » Blog Archive » Do SharePoint Right; SOPA vs. ECM; Vote Via the Cloud
There has to be a better way to avoid the snooze button . - Dooley Top News Stories SharePoint Implementation
I have implemented fulltextquery as shown above and searching on contains(Title) column.
when I am searching for a file named
"marketing team collaboration.pdf" with words "team" or "marketing" or "collaboration" I get the result of the mentioned pdf file.
but when I try to search with words like "ketin" or "boratio" or "ea", I dont get any results.
Contains should return for these values too, why it isn't
Please advice me, thanks in advance.
Pingback from SharePoint Daily » Blog Archive » Office 15 Technical Preview Available; Business Case For SharePoint; Microsoft Fights Phishing
Hi. I'm Dooley and I am an Internetaholic . - Dooley Top News Stories Welcome to the Club SharePoint
i'm facing this problem that the web part is not displaying, though i activated the feature in the "Site collection features"...
what should i do
Hi, this works fine.
But if you configure in the search box of the result site under scopes "show and default to contextual scope" only the scope "this site: xxxx" works for the next search. The scope "this list: xxxx" will not works for the next crawl instead of this he put "this site: search site" in the scopes dropdown...Any ideas?
Just learned a good one. Be sure that you're default URL in AAM is the same address defined in your Content Source. If they don't match, you're "This Site" scope doesn't work.
Pingback from Working with SharePoint Foundation Search API « DotNetAdil
Corey, any chance your session SPC348 Extending SharePoint 2010 for your customers and partners is available to download?
I have a almost opposite requirement to show only the document set when the search keyword is contained either in the document set or in any of the documents within that document set. Currently what happens is when a text is contained within in any of the document(s), all those documents are returned. Instead I would want the search to show only the document set, so there will be one result per document set. Is this possible?
Pingback from Error Logging in SharePoint « SPMatt
For sandboxed solutions you will need to add the Sandboxed switch, e.g.: get-spfeature -Sandboxed -Site $siteUrl.
Get-SPFeature doesn't list out the sandboxed features without it.
Pingback from Trials and Tribulations: Migrating My Demos Site to Office365 – Part Two » Marc D Anderson's Blog
@Rajesh Try using the ContentType keyword passing the Document Set content type. I haven't tried it but it might work. www.dotnetmafia.com/.../some-handy-keywords-you-might-find-useful-in-sharepoint-enterprise-search.aspx
@Michael I've uploaded the slide deck to SlideShare. www.slideshare.net/.../extending-sharepoint-2010-to-your-customers-and-partners
@Markus I don't have a good solution for that. The reason it doesn't work is because the site has changed and therefore the context has changed as well.
@Samo It doesn't appear in the web part list? Does it appear in the web part gallery of the site collection?
@Nilesh make sure your account has proper permissions. It should also be in the Shell Admin group visible by running Get-SPShellAdmin.
@Wim activating the publishing infrastructure feature requires pretty hefty permissions. I don't think you'll have much luck activating it with a low-privilege user even if you do delegate.
@Jay try this video for more details on service applications.
@Benjamin I think I tried that before and the syntax doesn't come out to be quite right so it doesn't work. Did it work for you?
@EmilyBen Maybe. However, blog posts aren't one of the standard STS content classes you see in a traditional list. I bet it has a class though. You would need to look it up though. Add the ContentClass managed property to your search results page and then issue a query that has blog posts in it. You can get the value and then reuse it in the query like above.
@Gig I don't believe search picks up that information (but I could be wrong). You would probably have to write some code to look it up for each result.
@Jens Interesting. I have never noticed that before. I'll have to run some tests.
@B@LU I wrote a post on that already actually. See this post for configuring people search.
www.dotnetmafia.com/.../how-to-set-up-people-search-in-sharepoint-2010.aspx
@SPBB There really isn't a good transition strategy to go from one to the other. However, see this post for help on getting started building a web part.
www.dotnetmafia.com/.../intro-to-sharepoint-2010-development-how-to-build-and-deploy-a-web-part.aspx
@Amir I haven't noticed it, but I'll give it a try when I have a chance and see if I can reproduce it.
Pingback from SharePoint Daily » Blog Archive » SharePoint Predictions For 2012; Getting Started with SharePoint; Windows 8 Tablets Bad for Productivity?
As per above step i have created but i am getting the below error. Please help me out...
Error occurred in deployment step 'Activate Features': Unable to cast object of type 'Microsoft.SharePoint.SPSite' to type 'Microsoft.SharePoint.SPWeb'.
I'm not a big gamer but for some reason I am looking forward to Microsoft Flight . Maybe this time
@Venkata this is a scope issue. Your feature is scoped to site and the event receiver is looking for a web. Change the feature scope to web and it will work.
Hi, i cannot use excel file with formulas?
i want to add a chart that will be updated from a list...
Pingback from SharePoint Daily » Blog Archive » SharePoint Information Architecture; ARM Will Run Office 15; Microsoft Ruins Valentine’s Day
Cloud computing could learn a few things from Madonna . - Dooley Top News Stories SharePoint Information
Saludos,
Yo necesito que al hacer una busqueda por nombre solo me traiga las personas que tengan dicho nombre.
Ejemplo: Yo escribo en el cuadro de busqueda "Rosa" y quiero que me traigan las personas que se llamen Rosa.
Hasta ahora cuando hago la busqueda me trae Rosa y personas que no tienen que ver con rosa, que tengo que hacer en este caso ?
Gracias!!
good post.. posted this link on Twitter..
I would like to see an answer to Ivan's & markus's issue, as I have the same (as everyone will the way this works). The context is in fact lost on re-search, which really confuses the user.
I started down the path to edit the target search results page, to retain the contextual scope, which eventually messed up All Sites searching, because it defaulted to the Search Site Scope (hah, one issue for another!).
I then reviewed how the default osss context page works, and discovered I was basically re-building that page!!!
So, I am looking for the best practice here, since this behavior can confuse end-users.
I think the answer here is, you create ANOTHER search page under Search Center, used just for contextual searching. This way, you set the Search Box to use the contextual scope sent to the page, which will be retained, but you will no break SCOPED searches (All Sites, custom) since they target the other page.
Those are my thoughts.
Can anybody faced this issue?
I'm able to get all the "FASTSearchMetadataCrawledProperties" when I use "Get-FASTSearchMetadataCrawledProperties. But When I try to get a single crawled Property by using below command
$value1 = Get-FASTSearchMetadataCrawledProperties -Name ows_Name
then I'm getting "Failed to communicate with the WCF service".
Please help me on this.. Thanks in advance...
Hey Guys. I was following this guide but didn't realize I had Central Admin selected and deleted the root path. Now I can't get into the Central Admin site.
Any suggestions? Ran a stsadm -o repairdatabase but it doesn't help.
This system isn't currently in production but was expected to be live in a few days o.O
Any help is appreciated!
Thanks Corey, I was just checking out if I could load custom webparts to office 365 and I'm happy to hear I can!
I recently built my new site on o365
But it is not showing my site any more when you put it in the address bar??
Please i need some help You can only see it if you enter kalinsauto.com/pages. How do i fix this?
I am guessing this thread is now dead, but I am trying to get this working in SP2010. I have had it working in SP2007 with no problems. However, I just cant get it to work. Has anyone done so and if so, can you post the differences? It compiles just fine on the SP2010 server, deploys fine via stsadm, I have the proper lines in the results.aspx, but it just wont render anything in the search page. I am stumped, I hope someone is still watching this thread and can help. Thanks!
@Yandell No problem buddy! Hope you're doing well.
@Robert I have had a few people tell me that it works in SharePoint 2010 but I haven't had time to verify it myself. If it's not showing up I would look carefully at where you are adding the lines to the XSL as that is likely the problem. Try it in a few spots with just some test text. Once you find the right spot, you can add the code back in. For an example of a good spot, see this post.
www.dotnetmafia.com/.../adding-a-link-to-a-document-s-folder-in-sharepoint-2010-enterprise-search.aspx
@Kalin I took a look at your site and it looks like you figured it out.
@Jason Yikes. You can fix it by running the Configuration Wizard and removing central admin. Then run the wizard again and readd it. If you have a backup of your content database, that will work too.
Can yuou please tell me where do I find the results.aspx page? I';m using sharepoint designer 2010 (and sharepoint 2010) and simply can not find the page to edit.
Hello CoreyRoth,
Your Sharepoint search blogs are really helpful..
I have posted a question to msdn sharepoint forums..
social.msdn.microsoft.com/.../6bd76724-2a0a-4130-b67d-50c760b23dfe
Please give some feedback on this..
Saumil
Pingback from SharePoint Daily » Blog Archive » The SharePoint Elements of User Experience; Office 365 Security; Google Tracking Safari Users?
TGIF! - Dooley Top News Stories SharePoint 2010: "The Elements of User Experience" (CMSWire
Thanks for the reply Corey, I will have a look, but I have tried inserting the code in a few different places, and even threw in some standard HTML that rendered just fine so I "think" I have the correct placement. However, I am not sure the conditional test is working as I have seen a number of different ways to do this via XSL on google searches. I will try removing the conditional and see if the URL's render. Thanks again for the reply, good to see this post is not dead! This really is very handy to have the go to folder when there are multiple associated documents in the same folder.
Corey, the link you provided got the job done. It is working just fine. I was doing 2 things wrong. First, I had my conditional syntax wrong. Second, I was editing the search results web part XSL and not going through the Search Service Application as you suggest in the link provided. All is well and I thank you a MILLION!
Your post helped me a lot!
Pingback from FAST: Open Library/Location in FAST for SharePoint search results « « www.melcher.it www.melcher.it
.dwp and .webpart both are web part and drived from .asp.net webpart. . Both supports for SharePoint Deployment. .dwp won't support for ASP.net deployment.
.dwp process xml Serialization also. if we need to deploy assemblies on LAC instead of GAC. the webpart needs to be on .dwp mode
With little efforts its working with FAST - thanks for the inspiration! melcher.it/.../fast-open-librarylocation-in-fast-for-sharepoint-search-results
Max
@Robert Excellent. Glad it is working for you!
@Saumil I posted some feedback to your forum post.
@PaulJones you will find the results.aspx page in your search center. If you do not have a search center yet you can create one from the new site menu.
Pingback from SharePoint Daily » Blog Archive » Best SharePoint Sites of 2011; The Cloud Over Microsoft; SkyDrive for OS X Client?
What do you expect to happen when you eat at a restaurant called Heart Attack Grill ? - Dooley Top News
@CoreyRoth and @Kalin
I have the same problem -- I can only view my website when I put in deepindiafood.com/pages
but if I put deepindiafood.com it does not work.
How did you fix it @kalin
This article is awesome, it helped me a lot. Thank you.
I am new to search and sharepoint 2010.
I have question, I am using FAST search for SP 2010, I created file share content source and I can search for files in the network, every thing works great, but I can only search files in file share only through file name, but I want to search files depending on the data which is present in that file, How can I achieve this?
If I upload the same file in sharepoint and do indexing through "sharepoint sites" content source then that file is able to search depending on the data present in the file, but it is not working with file share.
Thank you very much for ur help, I appreciate it.
-Kishore
Turned off the nested paging and now IE runs inside of Guest Vista (inside of Ubuntu 11.10 host)
@Kishore FAST Search for SharePoint should index the contents of the files in the file share without any extra configuration.
Hi Corey, this is no longer the case. In the latest releases of the Metalogix migration products, each one can be using a different version of the extensions service. However, they will also share when they can.
We realize with our new pricing that more of our customers will be using multiply products, so we addressed the issue you raised.
Hi Steven. I thought I had the latest version. 5.0.0.20 I believe. In this case I was connecting to a server running 5.0.0.15 and it gave me a 404. Is there a newer version? I thought I had the latest since I downloaded it this week.
Ah, I see what you're getting at. Thanks for the clarification. My previous statement was correct, but I think you're talking about the case where you upgrade the client, but there's a new version of the service and that new service hasn't been installed. Unfortunately, there's nothing we can do about that. We need to update the service from time to time.
Just to be clear to your readers, the service is only required for certain features. Anything that can be done through the native web services or CSOM, we don't require our extensions service.
smw: You need to wait for the job to finish. You can poll something like "stsadm -o enumdeployments" to wait for the job to finish. Once the job is finish, run the second deploy.
Is there a way to set an audience to exclude a single group. We want to target all users except those in a single group.
Is this possible?
I have 10.000 items in external list, I want to search 1 item in list for deleting or updating, but I don't know how to search, please show me !!!!
In order to toggle the ""Add managed property to custom results set retrieved on each query"", you need to set the PutInPropertyBlob to 0 (unchecked) or 1 (checked)
$mp = Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication $searchapp -Identity $name) -ea "silentlycontinue")
$mp.PutInPropertyBlob = 1
$mp.Update()
Its a great post.
I tried it and succeeded half way till creating data connection. However, when i used this for a dropdown control, nothing shows up. I am sure i binded repeating section and fields properly for the dropdown.
any help???
Pingback from C# | Pearltrees
How People Search in SharePoint 2010 handles multi-language metadata in user properties? What defines which language of the term is indexed?
Rao i ran into the same exact issue, but could not figure it out yet...what was the resolution for you ?
Useful Links 169
Great thanks. You post helps me a lot :)
Pingback from T???o và deploy Silverlight Webpart v???i Visual Studio 11 beta (SharePoint 2010) « Huy's space – That's the way it is
Thank you Much...
Though I used Full Trust Proxy , I am getting security Exception error in sandbox solution.
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Help appriciated..!!!
Actually, @Wim's issue is due to the fact he is getting the SPSite object from the context object inside the SPSecurity delegate. This instantiates the object with default permissions - not with elevated ones. Instead, do something like:
using (SPSite currentSiteElevated = new SPSite(CurrentSite.ID))
currentSiteElevated .AllowUnsafeUpdates = true;
currentSiteElevated .Features.Add(new Guid("{f6924d36-2fa8-4f0b-b16d-06b7250180fa}"));
currentSiteElevated .AllowUnsafeUpdates = false; });
対象: Office 365 for Enterprise Grid には、重要な情報を持つ Office 365 の専門家が多数含まれています。 Grid のユーザー投稿ブログ シリーズ
Was having the same problem as several posters with list data requests returning 404 errors. Turns out that the list name is case-sensitive: sp2010/.../Tasks will work but
sp2010/.../tasks will NOT work.
Hope this helps someone...
Pingback from SharePoint Daily » Blog Archive » Hybrid SharePoint Governance; CIO’s Love File Sharing; Computers Just Big Smartphones?
Encyclopedia Britannica will print no more . I haven't used a print encyclopedia in years, but this
I am also seeing the same thing:
"FASTSearchMetadataCrawledProperties" when I use "Get-FASTSearchMetadataCrawledProperties. But When I try to get a single crawled Property by using below command
I created the new group as above and both ID's are SharePoint and FASTUser and same issue and yes I did log off :).
How do you set the Gap Width on a column chart?
Pingback from Building no code solution to consolidate Issues data across Farm « Jimblog
i have a permission problem.
i have follow your steps, it's all ok with an administrator account, but if i use an reader account i don't see the webpart in the webpartzone.
the webpartzone has the permession properties ?
Pingback from How to customise search core results web part Part1 « YBBEST
Your example is ok, but you have to boost with higher score. Try some score higher than 4000. (There is -4000 constant - to ignore smaller numbers). I had same problem. If you use 4500, your final boost will be +500.
You haven't disposed your SPWeb object.
You should use a second "using" block to ensure it is correctly disposed.
Pingback from Technical Tuesday - How to: Use the Silverlight web part with Visual Studio 11 - Grid User Post - The Grid Blog - Office 365 - Microsoft Office 365 Community
Audience : Office 365 for professionals and small businesses Office 365 for enterprises
Hi to all,
what to do if i want to pass results on result.aspx page ?
how can i pass url query string to pass result?
Pingback from Why SharePoint 2010 search does not show some results? | Software
Pingback from SharePoint Saturday – SharePoint Online 2010 de mogelijkheden en beperkingen « SPC NL
@Corey, You made a fairly significant statement in "Make sure that your event receiver is not in the same assembly (or solution package as the feature you are activating)."
We are having endless pain deploying a solution and activating features via powershell. The last thing we have not tried is putting the feature receivers into a separate solution. I was hoping you could expand on the idea, or point to any documentation that supports the practise.
Thanks Terry
Pingback from New version of the SubSites webpart available as a free download | www.SharePoint247.com
@gbelzile not that I know of.
@Scott Afraid not. You can only check to see if a user is in a group or has a particular manager.
@Carrick try going to your search service application and setting up a new content source to use your BCS connection.
@Raj verify that your query is working before doing the binding.
@Vesku I'm afraid I am not sure on that. I haven't dealt with multiple language in a scenario like that before.
Make sure that if you are using a CAS policy for your full trust proxy that you have specified the proper permissions like in this post.
@Don I have seen the same thing. List names are directly case sensitive.
Check and see if the page is not checked in for some reason.
@deepppatel26 I'm afraid you can't out of the box. If you are using SharePoint 2007, you can use the Wildcard Search Web Part and then customize the query by making your own customization. wildcardsearch.codeplex.com
@TerryB I've adopted this practice back in the 2007 days. Since I used to run into issues activating features with stsadm in the same manner. I'm not sure that there is any guidelines on this, but this is what I have been doing for some years.
Pingback from SharePoint Daily » Blog Archive » What To Expect in SharePoint 15; Mobile Collaboration Thoughts; Windows 8 vs. OS Annoyances
Why do real flying cars not look as cool as they did in The Jetsons? - Dooley Top News Stories What To
Corey, your guidance was precisely what I needed. I inherited a WSS 3.0/MSSE 2008 single server that appeared to have some dirt swept under its rug, or perhaps was just never cleaned. I have been working with IT for several days trying to resolve an issue with our search not returning any results. There were some search configuration settings not set correctly, but once those were resolved and configured to use a designated account, all attempts to modify the Content Source gave me the error you described. Following your steps allowed me to update the content source which then got the crawler working successfully.
Very nice article Corey, It was very Helpful..
Pingback from Visual Studio 11 ??? Silverlight Web ?????????????????????????????? - Office 365 ????????????????????? - Office 365 - ????????? - Microsoft Office 365 Community
対象: Office 365 for Professional and Small Business , Office 365 for Enterprise 「Grid User Post
Hi Juan Romero,
Thanks a lot for this information. Very helpful.
Kind Regards,
Puneet
This is good explanation.
To find the site collections where a specific feature is activated, Check this. paddyt.blogspot.in/.../powershell-to-find-site-collections.html
awesome......
THANK YOU!!!! I was able to make some wonderful progress today thanks to this article! I am so thankful for people like you who take the time to put this content out on the internet! :) :) :)
Right on point. You have to really find the relevancy or need to have an app. Apps are great if they make accessing information easier, if not, then otherwise they aren't worth the time and effort.
Since you called it out specifically, I'll counter your Facebook app argument. For iPhone at least, Facebook has access to your location via GPS for check-ins and allows photo uploads (you can't do that from the browser on an iPhone). Some people use Facebook chat a lot, so push notifications are pretty important to them (not me, though).
It does sound like you're trying to justify your switch to Windows Phone... If you're happier with it than you were with your iPhone, then congratulations. I hope the platform puts pressure on Apple to continue innovation. For me personally, the Windows Phone user interface is horrible. The iOS interface is starting to feel a bit dated too, though. Maybe something better will come along one of these days!
@Kevin so I thought the facebook mobile version used locations services with HTML5 to do checkins. I could be wrong on that, but I though that was the case. Apps that deliver push notifications definitely are the ones that deliver value. Since you bring up the case of chat though, I'll bring up one thing Windows Phone does add. When you associate your Windows Live account with facebook. People can chat you directly to your phone (if you allow) via live or facebook chat. Thus eliminating the need for a separate app.
I saw a comment on another thread that compared iOS and Windows Phone that I thought was funny. They said when iOS came out it was the Mercedes Benz of phone operating systems but now it's just a Toyota Corolla. iOS5 has some great features. iCloud is awesome and I love iTunes match. Even with the updates to the notification center, I think it falls behind when it comes to handling notifications. I think this mainly comes as it appears to be an afterthought to the OS. Competition is good and I like that there are three players in the market pushing the others to step up.
Please Help me... I am getting below error.
System.Web.HttpException: The file '/_CONTROLTEMPLATES/**********/VisualWebPartSampleUserControl.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
but when i checked in physical path "VisualWebPartSampleUserControl.ascx" is availble... Thanks.
Do you have a discussion about Excel Services? I use that method which I think is much easier to use, just running into format related issues that I can't figure out.
try this tool by qipoint.com, batch edit metadata, allows end user to batch edit taxonomy fields and metadata, bulk check in files
Thank you Corey for the great post!
I agree with you, it can put some more complexity into your solution, but what other options do we have, if we want to update for example a content type which is already in use by a list?
Have a nice day...
Pingback from Sharepoint 2010 SP1 et Cryptographic Exception - SharePoint - SharePoint, SharePoint 2010
Pingback from Sharepoint 2010 SP1 et Cryptographic Exception - SharePoint
kalashnikovtechnoblogs.blogspot.in/.../add-rating-stars-to-search-results.html
var filteredList3 = from myClass in myClassList
where myClassList2.Contains(myClass.Id)
not do。
Pingback from SharePoint Powershell for the ULS Log « Sladescross's Blog
Pingback from External Users in Office 365 « My Central Admin
Dear Corey Roth,
I was looking for this solution. Gr8 work! Salute to you!
Keval
@Alan glad I could be of help!
@Suresh I don't think your visual web part will work using CAS. Try using the sandbox friendly visual web part from the community toolkit.
@Paul try this article in regards to Excel Services. www.dotnetmafia.com/.../how-to-use-the-chart-web-part-with-excel-services.aspx
Pingback from Sharepoint | Pearltrees
Thanks for the great post. I was wondering if you could tell me how do i get the contents of the matched dcouments. For e.x., using the search api, if i search for something, which is either tagged using enterprise keyword or some content inside the document, I should get the title and first matching line that contains the searched item. i.e. , I upload a doc called Sales.docx, with a title "Sales". It has a sentence like , "This year our revenue was $900 million ....". I upload it with a tag like "company revenue". When I search for revenue, I should get the title, "Sales" and matching sentence , ".Our revenue was $900 mill....". In my case, I upload this to shared docs folder and have created a managed property to ows_Name(Text), ows_Description(Text) and I cannot get these two fields. I can get only the filename sales.docx.
Una de las características clave de las búsquedas en SharePoint 2010 es el alto grado de personalización
Pingback from SharePoint 2010: Alternativas para personalizar los resultados de las búsquedas (I)! « Pasi??n por la tecnolog??a…
Pingback from Document Preview With Classic Authentication Only « Sladescross's Blog
Pingback from Thumbnail Migration « Sladescross's Blog
Un sujet qui revient souvent dans le monde SharePoint mais bizarrement moins depuis la version 14 alors
Great post. I was looking for this only. Will try it now
You may use Resolve-Path to work with .\ paths e.g.
Add-SPSolution -LiteralPath (Resolve-Path .\$solutionname)
Very useful.
Thanks for sharing.
Is there a similar solution for adding a "View Properties" or Edit Properties" link in the search results?
Very well explained but You can check the below link too
www.fewlines4biju.com/.../this-solution-contains-no-resources.html
As an update to this, SP1 does resolve the issue. You will need to delete your existing workspace and recreate it after you install it.
There is a lot more hideousness to FullTextSqlQuery than is described here.
hello
Can you explain me , what is se difference between
External Content Type
And
Data source
in Sharepoint designer
Thank's
In my case, I get this message each time I do have a powershell.exe.Config in C:\Windows\syswow64\Windowspowershell\v1.0 - and regardless whether only supportedRuntime-XML with the allowed version attribute (v2.0.50727) is present or not.
I need to deploy site pages from visual studio for the initial release.
I have deployed custom master page and page layouts for the site. I need to apply them to the site page and deploy it from visual studio. Can you please help me with it?
Can you tell me what we would need to adjust within the - return DispEx(event.srcElement,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','0','SharePoint.OpenDocuments','','','','1','0','0','0x7fffffffffffffff'); to open in Multi-edit Mode and not to lock others out of the file
I am trying to offer scope specific query suggestions using the SearchBoxEx webpart. I want to determine where the queryXml is being generated which is sent to the search.asmx service to retrieve query suggestions.
I have created my own WCF for accomplishing this.
But I am facing an issue: How to pass the selected scope in dropdown to the WCF so that query suggestions are scope specific?
Kindly help me out.
I am using the RBS Provider within Sharepoint 2010 for externalizing blob content from the intranet site.
when i try to create a publishing page within our intranet, it fails by giving an error.
05/18/2012 14:47:07.96 w3wp.exe (0x1074) 0x07A8 SharePoint Foundation General 9j7o Medium Exception thrown storing stream in new SqlRemoteBlob: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Data.SqlRemoteBlobs.RemoteBlobStoreException: The blob store <StoragePointRBS> threw an exception. The exception thrown is saved in InnerException. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Bluethread.SharePoint.StoragePoint.RBSProvider.CreateNewBlobFromStream(Byte[] storePoolId, Stream inStream) at Microsoft.Data.BlobStores.BlobStore.CreateNewBlobFromStream1Internal(Request request) --- End of inner exception stack trace --- at Microsoft.Data.BlobStores.BlobStore.CreateNewBlobFromStream1Internal(Request request) at Microsoft.Data.SqlRemoteBlobs.Store... 87547ea0-8854-40a0-a126-9228b32e80c7
As per your article, i checked the permissions, they are right. Still i am not able to create any publishing page.
Any help
Ram
Pingback from SharePoint Daily » Blog Archive » Whose SharePoint is It?; Microsoft vs. Google: Social; Windows 8 Boots ‘Too Quickly’
YAY, the sun is out. - Dooley Top News Stories Whose SharePoint is It Anyway (AIIM) Lately, I’ve
Pingback from One App for 7.1 and 7.0 | PHP Developer Resource
Pingback from Search fileshare | Miamidadekidsd
@Greg. Yes see this link. www.dotnetmafia.com/.../introducing-document-link-handler-for-moss-2007-enterprise-search.aspx
@Alain External content type is where you want to go to set up BCS connections. Data Source is something different.
@Sheela I'll need more details I am afraid.
@Tina I'm not sure off hand. If I figure it out, I'll post here.
IS it possible to deploy a website which is created using Central Administration , just like an example of intranet portal...using site collection , pages and lists and customise the pages contents as required..
I have created the site but now how do i deploy i m nt understanding plz help
@Pearl so you have create a site on one server and want to move it to another one now?
Pingback from Windows 8 Developer Links – 2012-05-31 | Dan Rigby
Pingback from SharePoint Daily » Blog Archive » You Don’t Want SharePoint; Office 365 for US Government Released; Windows 8 Preview Ships Today
Installing Windows 8 means no class action suits against Microsoft . - Dooley Top News Stories The Art
Thank you for your great work. I have created a custom webpart inheriting from Coreresultwebpart that do the sorting on LastName. I am using Ranking model logic to sort the results on LastName as this was not available as default. But when i added your code to override the XPathNavigator method then sorting stopped working. Please help as this is urgent for my client. Client want both cutom sorting with wildcard search.
Is it anyway possible to get this for WSS 3.0? I only need to be able to see the Document Properties
Remove-SPEnterpriseSearchMetadataManagedProperty (sp2010)
Enterprise Search Center requires both "SharePoint Server Enterprise Site Collection features" and "SharePoint Server Publishing Infrastructure" be activated at the SiteCollection level. Also Enterprise Site Features must be activated at Site Level.
The Site Template uses a layout page with master page reference from Microsoft.SharePoint.Publishing.PublishingLayoutPage class, hence requires Publishing Infrastructure.
@Ajay do you have a code snippet you can share?
@Daniel the only supported way to use that snippet with WSS 3.0 is by adding Search Server Express.
Pingback from Web Part în SP 2007 | Just do IT
If I'm using this approach for referencing SearchServiceApplicationProxy, how are the credentials of the current user/user that is performing search saved? Can I expect that, if I don't use SiteCollection first, my search results will depend on my access rights to specific sites/libraries?
@Dragan The KeywordQuery class uses the credentials of the current user. The documents you see will be security trimmed down to the specific user.
This is a merveillous post where all elements are clearly explained.
Regarding the message from @Amir, we are facing the same issue. We are developping a lot of publishing sites and today, we have to create "delay sections" or reactive twice the feature to really active it.
If you have any idea / solution, it would be great.
Thank you a lot.
Pingback from Add Bail Money to your list of TechEd 2012 readiness
Good Work!!
@CoreyRoth Thanks.
Pingback from Provisioning SharePoint Features – Declaratively or Programmatically? « SPMatt
HI there,
Wondering if there's a way to have the chart webpart automatically refresh to data connections in the excel work book.
Great instructions btw, thanks!
Link title will not take more than 50chars. Is there any reason?
Our intranet site consists of mostly PDF documents & these PDF documents are generated from office documents.
We have Taxonomy in place and have added metadata Site Columns to set right properties to the documents.
But when we search the PDF file properties are being read along with the metadata site column contents
How to exclude document file properties from being indexed for a search.
otherwise we have to go and manually edit file properties for several PDF documents.
hi Corey
How do you do this on Sharepoint Online. I have had this with Custom Action Command Javascript staying cached. All updates I do to the code are NOT picked up after uninstall, deployment etc. I think I had to reset IIS and run powershell command.
I suppose it's a case of contacting MS.
Corey - How do you reset iis in Sharepoint Online ;) Powershell? I have have javascript code that is attached to custom action button that just won't go. I need to start IIS on Sharepoint Online.....possible?
How about providing the crawl account with edit access to specific libraries where you want drafts to be searchable? We are using SP 2010 for ECM and our users want to be able to search for the their drafts.
We have draft visibility set to editors only on the library. In dev I have given the crawl account edit on the library then reset IIS and the index, but the drafts are still not being indexed. Do you know if this is now explicitly ignored by the crawler? This support.microsoft.com/.../2304855 seems to suggest to but it is at odds with a lot of other info in the web
I just installed this webpart and noticed:
1) The refinement panel only displays ‘No refinements available’. Is this expected behavior? If not then I will continue investigating.
2) I see that someone else tested with a known condition of no items returned, and did not get any message stating such.
I will back out the new web part and try the approach mentioned by Cecilie Widsteen (May 5, 2011).
Great post...
Pingback from Impact of ‘Draft Item Security’ and ‘Security Trimming’ on Search Results in Sharepoint
Thanks for your sharing.
Thanks for the great post. I want to make use of the Skydrive for my storage. How do I interact between Office 365 site content and skydrive?
Same questions @Karsten. what other options do we have, if we want to update for example a content type which is already in use by a list? what will be steps??
Thank you for your notes. It is very useful.
Pingback from SharePoint 2013 - Technical PreView - Die ersten Links - Oliver Wirkus - SharePointCommunity
Pingback from SharePoint 2013 – News et Liens » Dot Net 4 Ever
Pingback from SharePoint 2013 « Sladescross's Blog
Pingback from Czech Information Worker Community » SharePoint Server 2013 Preview links
SharePoint 2010: deploying Document Sets via feature
Good write-up - I am very happy that search got a lot of love.
One quick question: Can you still use fql?
Thanks for sharing!
@Max Thanks! Good question. Yes, you can still use FQL if you so choose. Although you will find KQL and FQL to be more and more similar. msdn.microsoft.com/.../jj163973(v=office.15)
Pingback from Search is Everywhere! What you need to know about Search in SharePoint 2013 Preview - Corey Roth [MVP] | SharePoint 2013 | Scoop.it
Great article, Corey! Thanks.
Itz really good. But I cant find Microsoft.Office.Server namespace in sharepoint 2007.How to solve it?
Have you any information on how much search functionality is available in foundation rather than server?
Adrian
@Adrian you know I really don't yet. I'll take that as an action item to learn more about it and post what I can find out.
HI,
SInce IE8 and IE9 are not HTML5 compliant we can not develop standard HTML5 drag and drop widgets on some intranet networks with these browsers (intranets using IE of course).
It could be interesting if you can help the entire www developers community (not only the sharepoint one) and telling it how MIcrosoft has managed this miracle.
Using Java ? ActiveX ? What else ?
Many thanks
My understanding is that drag and drop in Internet Explorer requires having Office 2013 Preview installed.
Very interesting....Thanks for sharing your experience!
Hey Corey, I have two folders (Folder A and B) in a document library and I am using "Column default value settings " from the UI to set default values for the column called "SPTEST" (Text field).
Folder -- Default Col value
----------------------------------------
Folder A -- Value A (default value of SPTEST)
Folder B -- Value B (default value of SPTEST)
Now If I download a document from Folder B and re-upload it to Folder A , the column value is not changed ? In fact I expected the document to have "Value A" instead of "Value B" ! Is there any OOB way to fix this? If not, I think we need to write EventReceiver to resolve the issue.
Could you please help me !
Great post.
Great article. Loved your postings on 2010 search and really look forward to your work with 2013.
Pingback from ‘Continuous Crawls’ make items appear faster in search results in SharePoint 2013 » Christian Heindel – IT Solutions & Consulting
Thanks Corey for nice article. Its very helpful for me.
Is it just drag to upload, or can you drag and drop into folders and between libraries?
I had previously encountered an issue sorting the search results returned by your web part (by clicking on the column headers); there was some XSL that needed to be put in the Parameters Editor. However, I didn't save that XSL, and when I had to recreate the part, I now can't find it... I thought I'd found it on one of these forums, but no dice.
Any idea what I'm talking about? Thanks.
Pingback from The DataSourceID of ‘TopNavigationMenu’ must be the ID of a control of type IHierarchicalDataSource. A control with ID ‘topSiteMap’ could not be found. « Russ Brown Development
Pingback from Where’s all my memory in SharePoint 2013 Preview? - Corey Roth [MVP] | SharePoint 2013 | Scoop.it
Pingback from SharePoint Daily » Blog Archive » Business Critical SharePoint; Devs Lose Interest in Windows Phone; Is Office 2013 Ready for Government?
Sorry about the unexpected two day break. Lots of future strategy planning managed to take over my schedule
I Was tring custom approach for implementing FAST Search, We have installed FAST Search for SharePoint 2010. i have replicated same code and steps given here. but i am getting respose as <ststus>Error_No_Result.... i tried the same query as given in example in Search Center browser and able to get the data. i was using (scope='People')
can you please help me in solving this nutshel please.
where we add the code
Error occurred in deployment step 'Activate Features': Value cannot be null.
Parameter name: serviceContext
FYI - You don't need Process Monitor for this. Task manager can show you the command line and its arguments for a given running process. Just go to "View" then "Select Columns" and check the box for "Command Line". This will show you the same info that Process Monitor is showing.
We are having a problem with refinements. When the search term is a wildcard, "stew" rather than "stewart" it returns a set of results but the refinements are not found. If we search on "stewart" the results are the same and we get refinements. Another odd thing is in the first scenario, using a wildcard search term, we get the results, click on a sort column and we get refinements with a refresh sorted result set. Any suggestions on this?
HI Corey ,
I`m in big problem , I have exported the Managed ,Crawled Propertes from moss 2007 using Codeplex tool .but how to move this Managed ,Crawled Propertes to Sharepoint 2010 ?, am bit new powershell scripting ....any sugesstion ,any help......my email
Pingback from SharePoint 2010 Search Troubleshooting « Lars Nielsen's Discoveries
What an awesome article Corey, looking forward to more of your articles on Search in SharePoint 2013.
Goal!!! Very good, thanks!!!
i see it working on IE10 and chrome, i guess its based on HTML5: wabism.com/html5-file-api-how-to-upload-files-dynamically-using-ajax
Pingback from SharePoint Daily » Blog Archive » Build a SharePoint 2013 Web Part; Outlook.com: Fighting for the Workplace; Free Microsoft eBooks
Microsoft is building a robotic " big brother " to watch over you at work. - Dooley Top News
Hey Cory,
thanks for the intro. One typo, I think. For "If all goes well, your Client Web Part should not be visible on the page.", I think you mean "...should NOW be visible..."
Thanks Hilton for the catch. I've updated the post.
Paul--what'd you find? I keep getting the same error! I don't think it's correlated to the data workbook. The same error is thrown even without populating the workbook (data source) url.
The part with the AllowFraming tag is mentioned in the offical Microsoft Developer Videos ;-) The particular one I think of is from Scot Hillier. You should definitely watch them.
Same question with RicardoE and Abhishek,
anyone can help?
@Praveen I am afraid there is no good way to move managed properties from 2007 to 2010. It usually is a manual operation.
@prasad since People search doesn't go through FAST, you have to use a different federated location. Specify the People Search federated location (you can get the name from the Search Service Application) and the issue the query.
@jwer I am familiar with what you are talking about but don't have the XSL handy. The one issue with XSL sorting is that it doesn't work when you go between pages in the resultset.
@Andy You'll have to use an Event Receiver in this case. Default column values only apply when the field is empty.
@Roshma The assembly is present in the 14 hive \ bin folder.
@shri I am afraid there is no out-of-the-box integration between Skydrive and Office 365.
@Toby that is my understanding.
@John that is definitely an interesting concept. I'm not sure the best way to handle this there.
Thanks for the snapshots. Really Helps. One additional note on the commands if you have site(s) defined with an PORT number use it as:
get-spfeature -site http://sp2010dev:22511
@Ashwin It's just a limitation I am afraid.
@Sony I am afraid there isn't a simple way to do that.
Thanks for this post. Been pulling my hair out trying to find a list of default managed properties in SharePoint Online.. and the answer was under my nose the whole time :)
Pingback from Sharepoint: Datei direkt per Klick im Edit-Modus ??ffnen | nodomain.cc
1. Creating OData Service Using WCF By Visual C# MVP Amit Choudhary – @vendettamit 2. Active Directory
Pingback from UpSearch
Pingback from Friday Five???August 10, 2012 | MSDN Blogs
If you install SharePoint Designer 2013 (for free) you will get the support files as well to have the drag and drop available in SP2013Preview.
Great article, worked a treat.. Thanks!!
Pingback from SpharePoint 2013 Bin Deployment Trust Level « Sladescross's Blog
Pingback from SharePoint Daily » Blog Archive » SharePoint Upgrade Headache; Transitioning to Cloud Computing; Microsoft Building 3 Million Surface Tablets
As it turns out, 5 days last week wasn't enough. - Dooley Top News Stories The SharePoint Upgrade
Hi, Great article. BTW Have you managed to open any of your files via sharepoint that use the custom protocol? i.e. the url starts with myfile://
If you click to open one of the returned files on the results page, does it work? I am having difficulty getting this part to work.
Hope you can help
@YLLB
Necesitas cambiar una cosa en "Federated Locations" (Search Settings).
Local People Search Results -> Location Information -> Query Template. Cambia "{searchTerms}" y poner "{searchTerms} AND (FirstName:{searchTerms} OR LastName:{searchTerms})"
Lo siento que mi espanol es mal pero esto va a buscar solo "Rosa".
Two questions.. 1) Do you know this setting is enabled for SharePoint Online & Office 365? and 2)If it's enabled, how do we know managed property automatically created and managed since we don't have Search Admin in current SPO environment?
Let me know,
Thanks for the information.
Referring to the folling excerpt from your post:
"You can pass properties from the the user enters from ClientWebPart itself to the page here, but we’ll cover that in another post."
Could you please direct me to the location of this post, if it exists?
I have a situation like this: SharePoint-Hosted WebPart with a custom property. The user should be able to enter a value for the property which should then be sent to the WebPart to alter appearance and behaviour. Error handling might also be necessary.
Thank you in advance for your time and effort.
Hannes.
Thank you! This is an excellent alternative to display calendar events for a particular office/division where the calendar resides on another site collection. Instead of writing a farm solution to query other site collections for calendar data, or writing a sandboxed silverlight webpart using web services to query lists outside your site collection, this is simple way to surface list items to users. Thanks for the writeup.
Any ideas on how to do this on a GET request? Whenever I try to add a Quick Link I get told the SPWeb AllowsUnsafeUpdate flag is incorrect. If I set that flag on the current SPWeb or the user's MySite SPWeb i still get the error.
Any idea how to construct a Result Source to restrict results to a specific content source? Any help appreciated.
Thanks for the great post.
R.
Excellent article ! very great job...
I would like to suggest to you some improvements:
- using the Directory.GetFiles method with the SearchOption AllDirectories to loop on each Elements.xml files in the folder
- managing some exceptions as masterpage that you can't remove by just deleting the file (need to create a temp folder, move the master page in it, and delete the folder)
Thank's again!! it's a very good base for my project context.
im my site there is no option of chart web part how i can enable this
Found it, thanks. This is what it looks like:
<ParameterBinding Name="dvt_sortfield" Location="Postback;Connection" />
<ParameterBinding Name="dvt_sortdir" Location="Postback;Connection" />
I'm disappointed in the result-page-only sort, too, but we decided it was not a big enough deal to worry about.
You forgot to mention that your CPU needs to support SLAT to be able to enable Hyper-V on Windows 8 PC's. Windows Server doesn't require it, but Windows 8 does.
@Leon Thanks for the info.. I wasn't aware of that requirement.
I want al documents created by me. Just like a filter action can do with the [me] n it but than based on search. Do you know any query for this?
Great article, thanks Corey! I was still running into trouble though, until I added "Impersonate a client after authentication" to the GPO as well (got it from here dathan.wordpress.com/.../13)
@dennish81 I'm afraid there is no shortcut for that. I have written custom web parts in the past that get the user's name to pass it to the query. The good news is that you can do that in SharePoint 2013 Preview. :)
@Ankit you must have Enterprise Edition and have Enterprise Features enabled.
@Hannes I haven't had a chance to right it yet but I should have it in the next week or so barring any unusual circumstances.
@Nik with SPO I assume the answer is no. However, this may be changing with Office 365 Preview so it's worth some investigation.
I have noticed that because of this change any MVC 4 applications that are hosted as a sub applications under the SharePoint 2013 iis application now throw an error: “Dynamic operations can only be performed in homogenous AppDomain” when trying to access the ViewBag. Is there any way to fix this?
Pingback from Windows 8 HyperV « Sladescross's Blog
Wow, thanks so much for this, really appreciate it, just managed to get it going for a new customer. Now for the stylising!
Solved my prob's Thankx
Aby idea how to get this working in SP2013? I changed the search settings for my site and site collection to use search center - I even waited the 30 minutes SharePoint tells you to wait (is there a timer service?)... yet, search this site in a team site always uses OSSSearchResults.aspx
Thanks for any help
Very useful information.
One big area that I have enjoyed looking into SHarepoint 2013 is the area of Social within SharePoint. In the past, social elements such as My Sites and tagging were nice, but they didn’t really drive me to use them. Within 2013, the story changes. So much more is available and the changes are great improvements that will drive Social sites to be the central hub for a user.
- Sara
Is there a similar solution for adding a "Check In "and "Check Out " link in the search results?
Is there a similar solution for adding a "Check In" " Check Out" link in the search results?
@subbu Not that I know of. One could possible be developed.
Thanks Corey, I've written a complementary blog article focussed on FAST: markspoint.blogspot.nl/.../remove-crawled-properties-in-fast.html
Can any one tell me thw exact process of this configuration?? ie. how can I send an FQL to the FAST
using an ASP.NET web application.
I was trying to use the http://<webserver>/_vti_bin/search.asmx web service. But its wsdl file is not opening from the port.
So any other way to communicate with the FAST Server.
Thanx
Thanks a lot! You just saved my weekend.
You can use the web service with FAST as well. Be sure you are using the URL from the SharePoint server which hosts the service application and not the FAST server. To use FQL, you will have to specify a query type of FQL.
Thanx CoreyRoth for the reply.
But as I have mentioned that I am not able to open the wsdl file of the web service. I have tried the process from the below link "msdn.microsoft.com/.../gg588339.aspx"
So when I am trying to add the web reference in my asp.net solution it shows some error. I know how to use the FQL , but the issue is the configuration in the sharepoint so that my asp.net solution can communicate with the FAST via sharepoint.
@Leon : I guess that only core i3, i5 and i7 can run VM on Hyper-V with Windows 8. Badly, Windows 8 Hyper-V does not support my Q9550 quad core.
Is it possible to hide Edit link for users that only have read permissions for document? It's confusing if they click on Edit but it opens as Read Only because of security.
@Vlad good question. That would require a heap of code to make work and it wouldn't be very efficient since you would have to write something to check if the user has permissions or not for each result.
@Manas if you need to call search from a remote application, you'll have to go through the web service. You probably need to look into the error you are receiving more.
@rob I've noticed the same thing in 2013. I've also been looking at the new global setting that you can set in the search center. It never changes anything. I suspect it may be a bug.
Pingback from SharePoint 2013 Client Object Model Keyword Search Query « Sladescross's Blog
I have tried the 'free trial' approach, but without much luck. Although I haven't seen it documented, it appears that sandboxed code is not allowed in the free trial. Sandboxed solutions without code can be activated - sandboxed solutions with code cannot. Am I missing something, or is my observation correct?
Although I reference Microsoft.Office.Server.Search from the 14/ISAPI hive, I lack SearchQueryAndSiteSettingsServiceProxy as a using option. Might it be that I've overlooked to install something on my farm? I can't select Microsoft.Office.Server.Search.Administration.SearchQueryAndSiteSettingsServiceProxy as it's not available for some obscure reason?
Question: Have you come across this before, can you please point me in the right direction?
I hope this post is still open?
Kind regards, W
That assembly is only available if you have SharePoint Server. If you are using SharePoint Foundation, it will not be present (unless you add Search Server Express).
Pingback from The Case of the Case-Sensitive CustomFilter Refiner – Code Thug
With extension methods you could use the following line without forcing a exception. Bad Practice.
public static bool ListExists(this SPWeb web, string listName)
return web.Lists.Cast<SPList>().Any(list => string.Compare(list.Title, listName, true) == 0);
Pingback from SharePoint Daily » Blog Archive » SharePoint Governance Needed; Office 2013 Integrates with iOS, Android; Xbox is Microsoft???s Future
Lines have started forming for the new iPhone. Have they not heard of online shopping? - Dooley Top News
Pingback from Learning about SharePoint Search 2013 : Beyond Search
Corey, I am unable to edit the web part as the XSL editor is grayed out. Where via SP2010 Designer would I add your snippet?
I am not a developer (an infrastructure guy) who has to dabble in SP.... many thanks.
Nice post. Thnx. Is it possible to make Name as default in the refinement panel instead of All ?
@Michael be sure and uncheck use location visualization first.
Pingback from How to: Seed Search Suggestions in SharePoint 2013 Preview - Corey Roth [MVP] | SharePoint 2013\SharePoint 15 | Scoop.it
Just to clarify, if I am using Silverlight and if I want to use the Search API, I am still forced to use the web service right? I cannot use the KeywordQuery class nor the FullTextSQLQuery class.
Hi Corey, Thank you for your code. It works. Question: I tried adding my own managed property, and I can use it as input to filter the search in the query e.g. Spread:"Spread 1", but I am not getting the 'Spread' field back in the returned XML. How can I adjust the returned XML?
Thank you for your suite of articles.
I am using .Net application to fetch the query result and display the results in my own web page using fs4sp .
But I want to implement refiners in my application.
How can I achieve that?
Is there any FQL parameter through which I can get the value or any other way to achieve this?
Thank You
What API would you recommend for search scenario using provider-hosted SharePoint app (ASP.NET)? I tried with Managed CSOM, but after deployment to test environment I faced with "Access Denied" errors for ordinary users.
@Dragan the reason for that is likely because CSOM will use the credentials of the currently signed in user. You can still use this API, but you will need to provide a set of credentials that has access to search.
@Manas I assume you are probably using the web service to query from the . NET application. You can get the refinement result by using the IncludeRefinementResults element in the search request XML document. msdn.microsoft.com/.../ff394421.aspx
Will try out today. BTW, does it work on share-point 2010?
Pingback from Windows 8 App to SharePoint 2013 « Sladescross's Blog
Great Post. It worked for me, though I used it in Share point 2010.
@Bish great to hear. Did you call the legacy REST API in SharePoint 2010 instead or go with another approach?
I need to find similar results for my returned result set(FS4SP).
So im trying to get similar results using the docvector managed property and the similarTo property of keywordQuery class.
link:(find similar)
msdn.microsoft.com/.../ff521597.aspx
var names = from DataRow row in dt.Rows
select (string)row["Docvector"];
string[] arr = names.ToArray();
keywordQuery.SimilarTo = arr[0];
how will i build the query here.. keywordQuery.QueryText = "Query"
here i got my docvector values in a string array.But i dont really know to proceed further.
How do i construct the Query using these docvector values.Can u please refer the link and please help me regarding this.
Fabulous. Thank you! Soooo much better.
I called the legacy REST API in SharePoint 2010.
Hello, Yes it is a bug in preview version and we can fix it by doing minor tweaks as described in one of my article here:
praveenbattula.blogspot.in/.../memory-leaks-in-sharepoint-2013.html
What if there is only a search service application proxy (the query SSA lives on a different farm)? Do you need to use the SSA's name, or the remote query SSA's name?
Pingback from Chart Web Part Manipulation Of Genius | The SharePoint Effect
Os dejo un primer recopilatorio de recursos sobre el nuevo modelo de Aplicaciones de SharePoint 2013
Pingback from SharePoint 2013: Recursos sobre el nuevo modelo de creación de aplicaciones (I)! « Pasi??n por la tecnolog??a…
Pingback from 2013 posts that made my life simpler « Peter Munch's Blog
Pingback from Search is Everywhere! What you need to know about Search in SharePoint 2013 Preview - Corey Roth [MVP] | SP 2013 and SP 2010 | Scoop.it
Absolutely precious article.. This is what I really like to read.. I have read this multiple times and I feel like I am up to speed with Sp2013 search.. Awesome stuff...
This way is really fine, but it just works at a local installed sharepoint server.
A sharepoint online environment can`t be edited via powershell ... Do you know a way to realize this on the online solution?
Can you post a link where the whole project can be download
We can restrict the noderunner to not use the memory more than certain amount through settings. But I believe we should not restrict this. I had many issues which are coming due to this. More details are here:
praveenbattula.blogspot.de/.../memory-leaks-in-sharepoint-2013.html
Hi Corey, just wanted to ask..
For the default OOTB People Search Box webpart, which managed property does it use by default when you type in that box?
Based on my research, it's using from ContentsHidden (if you want to add custom properties). But what else?
The reason is I want to make that box only search in Preferred Name, or Last Name, First Name.. Is that possible?
Helpful post indeed!
>>Unlike FS4SP, it doesn’t look like you are able to add your own term sets for entity extraction, so this is unfortunate.
I guess they will retain the XML concept of entity extraction. End of the day, who is MS to decide what entity my customers want to extract.
How can i add/modify refinement panel to my own custom search page(Am not using OOB search page)
@Marcel That is correct. Web Service is really your only option. That story changes in 2013 though.
@Marcel you need to add a SelectProperties element to your input XML and include all of the desired properties you want (including the built-in ones).
@Cho specifying the name of the proxy should work although I have never tried that scenario.
@Markus There is no way to do it in SPO right now I am afraid.
@Chris I think you will have to write a custom SearchBoxEx control to make that happen.
@Shaik assuming you have enabled the enterprise and search site collection features, you can add it to any page using the Refinement Panel web part. As an alternative, you can get the schema you need for the web part by exporting that web part it from a search center.
Corey -
Do you know if this functionality (setting folder defaults) is possible within SharePoint Online - either 2010 or 2013 versions? The DocumentManagement namespace isn't accessible via the CSOM and I've been searching through the webservices without success.
Any info (even if it's not possible) would be helpful.
Nice to see they are adding useful cmdlets. Now, how to remember them all with typing help all the time?
To build and deploy a web part is an inmportant part of sharepoint development.
This article teach you this in a very simple and easy to understand way.....
Great job explaining all the code. As I mentioned, I've tried all this out and demonstrated it at Austin SPUG so thanks again for the heads up before the post.
I need help regarding FullTextSqlQuery , I am using MOSS 2007 ,
Search is implemented and using FullTextSqlQuery the results are being displayed,
I made changes to contents but they are not reflecting when data is fetched via FullTextSqlQuery,
already tried resetting crawl content , re running full crawl, resetting services , even restarting server,
but content it displays is not being updated, however when i used default search of moss 2007 using osssearchresults.aspx
it shows updated contents, from where FullTextSqlQuery retireves the results, why its not being updated? any help?
Hi Corey, I'm looking for this simple in JavaScript using the new and improved JSOM for SharePoint 2013. There is no documentation on search api for JSOM anywhere... Could you help me on this?
Pingback from Note the four hotfixes required for SharePoint 2013 RTM Installation - Corey Roth [MVP] | SharePoint Resources | Scoop.it
Pingback from Note the four hotfixes required for SharePoint 2013 RTM Installation - Corey Roth [MVP] | Sharepoint247 | Scoop.it
the last 2 hot fixes are basically the same but for different platforms so the last one didn't install:
KB 2759112 - support.microsoft.com/.../2759112
Windows 7, Server 2008
KB 2765317 - support.microsoft.com/.../2765317
Windows 8, Server 2012
Andreas
Corey I think that last hotfix is for Windows 8/2012 based OS's and inst needed for Windows 2008R2
@Guillermo This sample should help. It got me started. code.msdn.microsoft.com/.../SharePoint-2013-Perform-a-1bf3e87d
Pingback from How to: Query List Items from the Host Web in a Client Web Part of a SharePoint Hosted app - Corey Roth [MVP] | SharePoint Resources | Scoop.it
Did you install this on Windows Server 2008 R2 or Windows Server 2012? Would love to know..
Pingback from ???????? ???????? Feature ???? ???? ?????????????? | ??????????
I was able to install Workflow Manager. I used the 1.0 version and not the 1.0 beta like in the SP2013 RC. I downloaded it www.microsoft.com/.../details.aspx en only downloaded the WF\WorkflowManager.exe. After this everything worked fine and I was able to use the 2013 Worfklows on my SP2013 RTM machine.
Pingback from Query List Items from the Host Web | Office365 Wijzer | Scoop.it
Pingback from Query List Items from the Host Web | SharePoint Wijzer | Scoop.it
@Nik I used Windows Server 2008 R2 in this case.
Pingback from Note the four hotfixes required for SharePoint 2013 RTM Installation « Jim Ehrenberg of SharePoint Pros
Pingback from SharePoint Daily » Blog Archive » Turn SharePoint into a Social Intranet; Office 365 Development; Windows Phone 8 a Developer Opportunity
Still here. Take that, Sandy. - Dooley Top News Stories When is the Best Time to Turn Your SharePoint
this choice from MS has sides effects on office automation, with errors like : "The __________ method or property is not available because this command is not available for reading."
For developpers this means disable read mode as document opening, with (VB : ) .ActiveWindow.View.ReadingLayout = Not .ActiveWindow.View.ReadingLayout
Another way is to use your tips, or do the same thing with registry (not found the key right now).
Your post give me the soluce, thanks !
For "counts" you need to use "GROUP BY" and add a "sum(1)" column
For example, I wanted to count rows based on submission dates:
select day_of_submission, sum(1) as [Count]
from my_table
group by day_of_submission
For international attendees, having an adapter to charge their devices on US power plugs is a MUST. I remember how I forgot to bring mine once, and luckily had a Best Buy around to purchase an overpriced one...
Pingback from SPC12 Survival and Readiness Guide « SharePoint Magic
FYI, there is a Fry's Electronics Super store right down the street from Mandalay Bay for all your electronic needs should you forget something important - it may come in handy (I learned from experience).
As a newbie, I really appreciate this! One (possibly stupid) question: what's the dress code for the evening events?
@Kristin Good question! Dress code is really all over the place. There are lots of geeks there and they tend to go casual the entire time. I tend to suit up and so do some other but most people are casual. Most people recommend you just go comfortable. Especially for the party at the beach club.
Pingback from 6 tips for submitting to the SharePoint App Store - Corey Roth [MVP] | SharePoint Resources | Scoop.it
Love the work you have done over the years!
I just have a very basic question for you... were the 2 additional lines of code -
this.QueryNumber = QueryId.Query2;
this.FixedQuery = string.Format("Write>=\"{0}\"", DateTime.Today.AddDays(-7));
In addition to the existing QueryManager code?
i.e.
QueryManager queryManager = SharedQueryManager.GetInstance(this.Page).QueryManager;
queryManager.UserQuery = string.Format("{0}*", queryManager.UserQuery);
I'm just not sure how to get this working.. ideally I'd like to hard code the query string via the 'this.FixedQuery' property, so if you could shed some light on what I'm doing wrong that would be great!
Note: The hard coded query could be as simple as this.FixedQuery = "john smith'
Great help, saved my day! Thanks from the Nordic Countries!
Installed ADO.NET Data Services 1.5 CTP 2
Rebooted server
Still doesn't work...get 404 error.
@Petro Thanks! You can actually do it either way. You can either set the QueryNumber and then use the FixedQuery property. Or as an alternative you can get a reference to the QueryManager object and set the UserQuery property. I hope that helps.
@Guillermo Unfortunately, there isn't really much documentation on this yet. That's why I wrote this post. Hopefully, it helps.
@Yasir I would avoid writing anything that uses Full Text SQL Query at this point as it has been removed from future versions of the product.
Pingback from 6 tips for submitting to the SharePoint App Store – Corey Roth [MVP] | Mastering Sharepoint
Pingback from SPC12: Just Around the Corner | Wading Through
Pingback from SharePoint 2013: Recursos sobre las capacidades de búsquedas (I)! « Pasi??n por la tecnolog??a…
En lo que a novedades en búsquedas se refiere, aparte de la ya conocida de qué hay un único
Thanks a lot!
Just a note: x003a is for colon, not color (typo in the text)...
Thank you - Thank you for this !!
Just having an alignment issue where it right justifies (leaving a very, very large left margin on the screen which looks silly) the results when we de-select the 4 items below.....
Display "Search from Windows" Link
Display "Alert Me" Link
Display "RSS" Link
Allow users to display language picker
Tried moving to middle lower left zone and that's too "skinny" but it is left
Any easy idea for this?
Pingback from Moving sites templates between servers and with feature dependencies
Pingback from A look at purchasing apps in SharePoint 2013 - Corey Roth [MVP] | SharePoint Resources | Scoop.it
Pingback from Announcing SP2 Apps for SharePoint 2013 - Corey Roth [MVP] | SharePoint Resources | Scoop.it
Pingback from Getting started with building apps for SharePoint 2013 « Software Architecture Blog
Pingback from SharePoint: Cannot import Web Part error « samiv2
Well done, Corey! Looks like you were the only one to successfully navigate the submission process. I like the feedback app idea, too. It's something every site should have.
Thanks Tom. I thought it was a simple idea and great fix for the new app model.
Pingback from SharePoint 2010 Content Organizer « SharePoint Bee
I want to refine a managed property which contains multiple value separetd by semicolon . How can I handle such thing using FQL??
I did it, but it doesnt help, any clue?
on my site myservr/.../default.aspx
when I try to activate the feature..I've got this error
"Failed to instantiate file "default.aspx" from module "Page": Source path "default.aspx" not found. "
can you help me??
Sorry....the real error is
Failed to instantiate file "default.aspx" from module "Pages": Source path "default.aspx" not found.
This is excellent! Thank you very much!
"Finally it names a page after the entity itself. So far, I’m not sure if any of the page name stuff is configurable or not, so I need to look into that"
Have you been able to look into this?
I use search.asmx for searching, and the returned Title, Path and Filename properties all point to the Products_1.aspx page instead of the fields from the BDC datasource.
Hi All,
Today we migrated some of our test users with a new domain, then we ran the search with full crawl. The user profiles are migrated successfully, but are not displayed in sharepoint search.
We can add those migrated users to a group, etc, with the help of people picker, but those users do not show up in sharepoint search like the other users.
Pls help !!!!!!!!!!!!!!!
thanks in advance……….
Thanks Corey
Has anyone succeeded in _removing_ seeds? I've uploaded empty files etc., to no avail.
Step
#Removing Search Suggestions
$csvfile="D:\OldDocuments.txt"
$ssa = Get-SPEnterpriseSearchServiceapplication -Identity "Search"
$searchWeb = Get-SPWeb -Identity http://*.*.com/search
$owner = Get-SPEnterpriseSearchOwner -Level SPWeb -SPWeb $searchWeb
$owner
Read-Host
#Create Lists from each item in CSV file
$csvData = Import-Csv $csvfile
foreach ($line in $csvData)
#Write-Host $line.Suggestion
Remove-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $ssa -Language en-US -Type QuerySuggestionAlwaysSuggest -Identity $line.Suggestion -Owner $owner
$timerJob = Get-SPTimerJob "Prepare query suggestions"
$timerJob.RunNow()
Nice list! A lot of these things apply to conferences, trade shows, and events in general. Will be something good to have around.
Great post!... I have been looking up for for ages!
Thanks a lot CoreyRoth!
Ur a gun!
Pingback from Licensing Changes for Extranets with SharePoint 2013 and SharePoint Online - Corey Roth [MVP] | SharePoint Resources | Scoop.it
Pingback from How to: Use PowerShell with SharePoint Online Preview - Corey Roth [MVP] | SharePoint Resources | Scoop.it
Thanks for the great post.I am trying to achieve the same with the custom app part properties also.
for example working fine in IFRAME
<Content Type="html" Src="~appWebUrl/Pages/Home.aspx"/>
i am exactly getting the Provider Hosted app web in IFRAME.
But when i am trying to do the same with custom app part properties.
Src="~remoteAppUrl/Coffeemaker.html?name=_name_&teaspoons=_teaspoons_&decaf=_decaf_&size=_size_&{StandardTokens}"
I have a html file for reading the properties and i am navigating to the Provider host web in Appmanifest.xml file.
when i have properties its opening in different window than IFRAME.
Is it possible to open the Provider hosted app web in IFRAME along with custom app part properties.
i have used the cofee maker app part sample in
code.msdn.microsoft.com/SharePoint-2013-App-part-9d83703c
Pingback from The Dreaded Couldn’t Be Download Web Part Export Issue In SharePoint | Mark Kamoski's Blog
The gold is in deploying GAC solutions without downtime. you can use the -local parameter to add to each server in an enterprise and it will not lock the database. Give it a shot ;)
Its a very useful article,Thanks for posting this ...!!!
Don't forget to set up your AppManifest.xml with the necessary permissions!
I have Windows 7 x64 with IE9 and Office 2010 and SP Designer 2010. The drag an drop is not available in IE9, but is available and works well in Chrome 23.0.1271.95 m
I have asked to upgrade to Office 2013 so I can also upgrade to Designer 2013 (Won't install with Office 2010 installed.)
Pingback from Hide navigation nodes from showing in search result « Drift Bottle
Our experience was, that it did not work with Office 2013 64 bit and Win 8 but with Office 2010 32 bit and Win 8.
We could solve the problem by deactivating the STSUpld.UploadCtl addon in IE 10.
I have seen email saying if the content is not publicly available then the "CALs Waiver" does not apply. This would be significant in the extranet scenario where a user has to login and the content is served over https.. Have you heard anything about this ?
@Roby double check the path to the URL of your file within the solution package. Chances are it is wrong.
@Manas You don't want to use FQL in 2013. Look for a keyword query solution.
Would you know if there is any limitation to the StartRow property of the KeywordQuery class?
When my StartRow = 100,000, I get the following exception "The search request was unable to execute on FAST Search Server".
I have RowLimit = 500 and start with StartRow = 0. If there are more than 500 results, increment StartRow and execute another query. It seems that I am not able to get more than 100,000 results from FAST.
ResultTableCollection rtable = query.Execute();
ResultTable relevantResultsTable = rtable[ResultType.RelevantResults];
// Load the first 500 items in the datatable
table.Load(relevantResultsTable, LoadOption.OverwriteChanges);
// While there are more than 500 results, run another query and change the StartRow of the query
while (relevantResultsTable.TotalRows > table.Rows.Count)
query.StartRow = table.Rows.Count;
rtable = query.Execute();
relevantResultsTable = rtable[ResultType.RelevantResults];
table.Load(relevantResultsTable, LoadOption.PreserveChanges);
I was able to activate solution which includes empty content type definition. But as soon as I add Feature Event Receiver without any code in it (all methods are commented) then this solution fails with the error Install-SPUserSolution : Sandboxed code execution request failed. Could you please help me with this error?
This has probably changed, but I've managed to use it by simply pointing to main (and only) manifest file (list schema in my case) in ElementManifest and listing new fields in AddContentTypeField
Pingback from SharePoint Daily » Blog Archive » What Should You Do With SharePoint 2013?; Kinds of Apps IT Hates; Begun, the Tablet War Has
Deals too good to miss #1: Apply your past purchases as credit toward an upgrade to a Bamboo Suite .
Pingback from Creating SharePoint Ribbon Custom Actions with Visual Studio 2012 - Corey Roth [MVP] | SharePoint Resources | Scoop.it
Hi CoreyRoth
I am trying to set number of characters in the Description part of the result that we get through this Query packet. Is it possible.?
Kindly let me know on this..
Thanks in advance..
Pingback from My SharePoint links December 18, 2012 | Jeremy Thake's musingsJeremy Thake's musings
I am getting an error:
Type is not defined: Type.registerNamespace('SP');
The JS is breaking at this line:
context = new SP.ClientContext.get_current();
Any ideas????
@Kem make sure none of that code is inside execOperation(). Bad stuff happens when you do that.
The HTML version specified in the MSDN examples require in newer builds the inclusion of the 405 fix - a handler for static files. Works great on the app part but no other pages for that app will work - they get rendered as flat HTML
Pingback from Seven reasons why I prefer developing SharePoint apps with SharePoint Online - Corey Roth [MVP] | SharePoint Resources | Scoop.it
Pingback from My SharePoint links December 21, 2012 | Jeremy Thake's musingsJeremy Thake's musings
Pingback from 7 (dev) reasons 4 using SP Online | SharePoint Wijzer | Scoop.it
Hello, how to solve the issure. Some times changed ascx file don't update HTML output on the sharePoint page.
Can you explain how to get result source and search schema using REST? It will be use for us.
Pingback from Filter / Sort / and return JSON with listdata.svc and Sharepoint 2010 « Casey's Tech Blog
Thanks for that, didn't work for me either, hate the facing page format.
Thanks for the article. With Microsoft's current SharePoint 2007 installer, some of the steps above are not necessary. For example, it was not necessary to install SQL Server manually as SQL 2005 is now part of the installation. For a no frills server it was not necessary to create the extra accounts.
@Kem also, make sure you also load MicrosoftAjax.js.
Could you explain the problem you are trying to solve... (apologies in advance if this is a dumb question - I just installed SP2010 for the first time this weekend)...
In Managed Paths I just created an explicit path for a URL I want (eg doclibrary, for a URL of mydomain.local/doclibrary).
Doesn't that resolve it the problem rather than the delete/recreate process you have above?
Also, when I went to create a new site off my root site, it asked for a path - having created /doclibrary first in "managed Paths", that site creation attempt failed. So I tried again with a clean path name /doclib, which successfully created a site with the URL mydomain.local/doclib. However /doclib does not show up in Central Admin Managed Paths...
I am somewhat confused! ie, I can get the result I want without your method, but I'm not clear what I did, or why it doesn't register in Managed Paths... Can you explain?
Pingback from Best loved SharePoint posts: Week 17 Dec 2012
Pingback from How to: Use the SharePoint 2013 Search KeywordQuery Class … | Mastering Sharepoint
Pingback from SharePoint 2013 Search with Keyword Query Compatibility « Sladescross's Blog
Pingback from My SharePoint links January 5, 2013 | Jeremy Thake's musingsJeremy Thake's musings
Pingback from Search in SharePoint 2013 Preview « Rajesh SharePoint Corner
Anpassung SharePoint 2013 Colour  Calender SharePoint 2010 Colour Calendar post SP1 update CAML
Pingback from SharePoint Daily » Blog Archive » SharePoint Internet Sites; Skipping Office 2013; Microsoft in 2013 Predictions
What do you mean I have to work 5 days this week? - Dooley Top News Stories Prediction 2013: An Explosion
Pingback from My SharePoint links January 8, 2013 | Jeremy Thake's musings
Pingback from SharePoint Daily » Blog Archive » SharePoint Upgrade Problems; Committing To The Cloud; Ballmer Crashes CES
Haven't we learned anything from every asteroid related disaster movie ever filmed? - Dooley Top
Another great search post Corey. I really enjoy using your blog as another way to increase my knowledge of the SharePoint platform.
@Ben Thanks! Glad you enjoyed it!
Pingback from My SharePoint links January 11, 2013 | Jeremy Thake's musings
Now I am back at my customer`s SharePoint Project after enjoying Christmas holidays, so I want to summarize
Pingback from SharePoint 2013 Nuggets of the weeks 1 & 2 | MSDN Blogs
Hi, very good explanatory article, but I would need to have something like this article to explain how to work with the TeamDiscussion collection via the ADO.net DATA web service, on simple "get all" query I am getting exception...
Great blog article, thanks.
I have an interesting issue when I tried to delete the 'All Sites' scope. It won't. Is this because its a default scope? I have a suspicion its corrupt hence my need to delete it.
Thanks yet again for a great write-up on SharePoint 2013. I am a bit confused however, about the proper class to use in this case. You state two different namespaces in the text, but in the code, you use Microsoft.Office.Server.Search.Query, which is probably the correct one, right?
I have implemented your example, and have a question about the "QueryInfo" object that is filled after you issue a query: The TotalResults property stays 0, even though you have lots of results in the results table. Have you notices this before? Do you know of a workaround or solution to the problem? All other properties of the QueryInfo are being updated after querying, just not TotalResults.... And this is a property you'd really like to know in a search based application ;)
Thanks in advance,
RoelBSS
Great post, but i cannot help thinking with one question, this seems that instead of spending effort on Managed Metadata Service Toxonomy, one should focus on entity extraction, which will (with a big question mark) put an end to MMS, as no end user wants to tag.
I know if we can have both taxonomy tagging and entity extration, the world is perfect. But if we would only choose one, entity extration is the winner, can you please comment?
@nh good comment. Entity extraction will never be a replacement for properly tagging your documents with MMS or any other type of site columns. It's just a stop-gap to help you otherwise-unclassified documents. Think about it which would you rather have. Inferred classification or exact classification where your users took the time to set the values? You can definitely use them together though when it makes sense.
@Graham I don't believe that you can delete it so I think that is why you are seeing the issue.
Do you have any idea what could be wrong when I receive the message 'Sorry, something went wrong. Sorry, we couldn’t complete your purchase. Please try again later.' after clicking the 'Continue' button when trying to confirm that I want add the app. I am able to develop and deploy SharePoint 2013 apps in my environment and I am located in the Netherland.
Any hints for me? Thanks in advance.
Gijs
I resolved the Drag & drop issue:
Windows 7 x64
Office 2010 SP1 x32
IE9
SharePoint Designer 2013 x32
Great article and wonderful advice to help SPUG group succeed. Thanks!
It could be any number of issues. I would recommend taking a look at the correlation id and then check your ULS logs to investigate further.
Sponsored SharePints! Good lead in.
hi i need to access the lists items from different site collection ushing SharePoint 2013 Apps
@anil Your best bet then is to use search using the REST interface then.
When I get to the onQuerySucceeded function I test alert(listItems_get_count()); and I always get 0 even there are items in the list. Any ideas why is this?
Pingback from SharePoint Foundation 2013: Hoher Verbrauch von Arbeitsspeicher durch noderunner.exe | biobits
@Rolle If i had to guess, it's an issue with the query you are using. Try a simpler one first if possible.
I have chart web part i want to convert that chart into excel.
is it possible? if yes then how can i do that?
Those are some serious pearls of wisdom Corey - thanks!
@Jignesh Not with the chart web part I am afraid.
Do you know what registry must be amended for that change?
Dimitar
@Dmitar afraid not. I haven't looked for it.
Pingback from Integrating Facebook into SharePoint « SPMatt
As someone who has also been all of the above, I heartily agree with those comments Corey, especially the encourage new speakers. I've only been speaking just over a year now and I'm really glad I took the leap.
We've also been encouraging new speakers heavily in the UK user group and we'll be seeing those volunteers throughout the next 6 months with more beyond!
I use FAST Search for SharePoint 2010 and I crawl some shared directories.
I have a problem with crawling blocked files - files which are coming from Internet, and they are blocked (because of data streams).
Is there a possiblity to crawl these files without modifying them?
Is there a possiblity to not crawl these kind of files? To tell to FAST not to crawl these kind of files?
The main issues is the fact that crawling become very very slow when it hit these files (as an example, there are about 5 documents crawled per second).
Thanks in advance for your help.
Ovidiu
You saved me a lot of headache. Thanks a lit.
But unfortunately, when I fixed the root collection the "My profile" link became broken.
Any idea how to fix it?
Thanks!!!
hi CoreyRoth, i don't see a tagcloud.dwp on my CA server after upgrade from wss3? nothing in the portalLayoutsfolder either regarding the tagcloud. I would even rather upload it but i cant find it anywhere to download. could you please upload the ootb tagcloud.dwp so i could use it? thanks
@Izzeddeen I'm not sure what would cause that.
@RoelBSS thanks for point out the issue with the namespace. I have corrected it.
As for the QueryInfo object, I haven't noticed that. I'll try and take a look when I have a chance.
@Jenny You can just create an explicit managed path first.
@Adam you are right it will install for you but I still prefer to install separately. I still do recommend creating separate service accounts because that is more likely to be closer to what you experience in a production environment.
@Karthi Result Sources cannot be retrieved by REST unfortunately. For out-of-the-box result sources, you can use this list of ids. www.dotnetmafia.com/.../list-of-common-sharepoint-2013-result-source-ids.aspx
@Nick I've heard others report similar issues but I haven't tried it myself. There may be a limitation here.
Pingback from My SharePoint links February 8, 2013 | Jeremy Thake's musings
Pingback from How to: Perform a SharePoint 2013 site collection upgrade with PowerShell - Corey Roth [MVP] | SharePoint Resources | Scoop.it
I am working in SP 2013 and want to show it to all users(general visitors or login users).
How can i do it?
Pingback from Of Penguins & Coffee : IT @ QUB are moving forward
Pingback from SharePoint Daily » Blog Archive » SharePoint 2013 Crystal Ball; Ways to Have Conversations in SharePoint 2013; Windows Phone 8 is a Good Choice
Happy Mardi Gras. The first round of Hurricanes is on me. - Dooley Top News Stories 2013 Crystal Ball
There is a "support files" option in SPD 2013 install that you can check so the product isn't really installed (but the support dlls are, like the old "datasheet view" problem if you had no office). After this, it'll work with IE8/9.
I didnt find a separate download (yet)
You also have the option to wait for IE10 for Win7SP1.
Either way, dont sell that functionality too fast to your customers ;)
I'm running a full-text query against the People scope, but it seems it does not search in all given lookup field. For instance while I get items which have the word I was looking for in company or address field but none of them which have the word in the preferredname field - despite this is in the list of fields of the select query.
Preferredname is indexed and I can find people by name through the OOB people finder.
This worked great in MOSS 2007 but since I'm migrated to SP2010 it doesn't work properly.
What could be wrong here?
Thanks for a great overview of publishing apps at Austin! It was really useful learning the tips.
Do you have any simple step by step writeup on quickly writing like a "Hello world" app ?
I don't have one for building apps from scratch but I do have a post that helps you with Client Web Parts.
www.dotnetmafia.com/.../how-to-build-client-web-parts-in-sharepoint-2013-with-office-developer-tools-preview-2.aspx
This post on MSDN is good for building an app.
msdn.microsoft.com/.../fp142379.aspx
I could not agree more. The RT already has a few productivity advancements compared to competitors. Why people want a full blown laptop in a tablet form factor is a mystery to me. Agreed if battery life improves it will make a little more sense. However the limitation of touch screen will never make it suitable for Photoshop, programming, ....
I chose the Dell XPS 10 RT. I'm getting about 10-12 hours with tablet depending on what I do on it and another 8-12 hours when I connect it to the keyboard which has another battery. I have to say I honestly love this thing and like you, I take it everywhere with me. Btw I'm getting a full charge in less that 2 hours for the tablet only and less than 4 hours for the tablet and keyboard together.
I borrowed an RT for a week when they first came out and did not want to give it back. Since I am in need of a new laptop and want a light one I figured I would wait for the Pro. Now that it is out and I have looked at the pricing and features, I am thinking it is not the right device for a laptop replacement combined with a tablet. That has me thinking about the RT again and getting a regular laptop instead of the Pro.
Your review (and others) are definitely leading me to the conclusion that the Pro is not the right device for me, but the RT is.
I couldn't have said it better myself. I think there are people for whom a Surface PRO is the right choice, but only if your laptop usage is light enough that you can use it instead of a laptop. Otherwise, like me, I think the Surface RT is the right choice for a tablet to augment my laptop.
What the guys thoughts on the RT v Pro ( Battery life aside) for enterprise usage and its subsequent support and management via an SCCM and security perspective.
i'm looking at it for some field workers such as social workers.
Looking for these devices to be their only device not an additional as the Ipad tends to be.
Hi Ian. Good question. So to my understanding if you want to treat the devices as a true enterprise device that is manageable with System Center, you have to go Pro. RT devices can't join domains and can't be managed as such unfortunately. That's definitely a +1 for the Pro if you have that requirement.
"Can Surface RT replace your iPad?
At the risk of enraging the wrath of Apple fanbois, I’ll give you my opinion. If you want to get real work done, absolutely. "
could you elaborate more on this, maybe in a dedicated blog post? I'm using an iPad, but never had a Surface, and I'd love to hear how the Surface helps you in your work (e.g. in meetings, as you mentioned).
How to change the core results web parts for displaying the Visual best bets?
Pingback from SharePoint Daily » Blog Archive » Collaboration Hampered by Governance; Microsoft’s Mobile Strategy was a Mistake; Waiting for Windows 9
WOOHOO! First day back to work and it isn't Monday. - Dooley Top News Stories Collaboration Tools
Pingback from SharePoint Daily » Blog Archive » When SharePoint Governance Lacks Accountability; Business Isn’t Happy with SharePoint; Design Over Usability
Do you plan to attend SHARE 2013 Conference in Atlanta? Register now and Bamboo can help you save $300
I have Surface RT since launch and am very happy with it. However, I did test out the Surface Pro and I must say I love how much faster it was and how it had less restrictions. Honestly, I would buy Surface Pro only if I didn't have a Windows 8 Pro desktop. While at home, I remote into my Pro if I need to get real work done. If there was a need for me to run Pro consistently while on the road, I would consider Surface Pro no doubt. It boils down to lifestyle and preference. I have no budget issues in purchasing Surface Pro, but it wouldn't be worth the cost for my type of usage at this point. However, it be cool if I received Surface Pro as a gift. I won't lie about that! We'll see if I give in within a few weeks. I'm not totally ruling out buying a Surface Pro. If I do, I plan to keep my RT.
Una de las posibilidades a nivel de desarrollo que tenemos en el nuevo modelo de aplicaciones de SharePoint
Pingback from SharePoint 2013: Creación de acciones personalizadas en el contexto de una aplicación (I)! « Pasi??n por la tecnolog??a…
Pingback from Do you want to be able to edit documents directly from the SharePoint Search Result? | @Deladet
Pingback from SharePoint Daily » Blog Archive » Preparing for SharePoint 2013; Cloud Collaboration, Social & Docs; Make the Switch to Office 365
Hey Facebook! I don't want to be in my 40's anymore. Can you introduce a bug that makes me a
Pingback from Creating Your First Windows 8 Application using the Client Object Model (CSOM) and JavaScript | Summit 7 Systems DEV Site
I own a surface pro and I love the thing, and I can get ~6.5hours of battery if I am just browsing the web by the way. I do think that I kind of needed the pro, as I program in C++ and C# for a living.
Honestly though, I think Microsoft should have had an Atom-based surface instead of the RT and then still an i5 variant for more demanding users. But go Google around and you will find that the Clovertrail Atom processors can outperform the Tegra 3, and they run really cool (no fans needed) and really efficiently (9 hours of battery on a 10.6inch screen easy). This would give you a Surface RT experience AND some support for x86 applications. I really hope to see an atom surface next year with even better atom processors.
You do make good use of your Surface RT with RDP, though. I would have likely done something similar if I bought an RT.
Great info!
Just out of curiosity, why did you pick an Azure VM? Do you leave it running all of the time? Is it cost effective?
Jeff
Pingback from Setup Metadata Navigation using CAML | Sean Carter
Pingback from SharePoint Daily » Blog Archive » Increasing SharePoint Productivity; Office 2013 Sentenced to Death; Is the Windows Ecosystem Still Relevant?
Do you have plans for Wednesday? You should. Bamboo is proud to sponsor a free webinar on How to Use
@Jeff I use an Azure VM because it comes with my MSDN subscription so I don't have any money out-of-pocket on it. You could very well use whatever VM you have accessible to your Surface RT.
Hi Corey, is it possible to implement a navigator using taxonomy hirerchical structure? how doable is this in SP13?
Thanks for the tutorial. I used it to connect to a 2013 server. It has been really usefull for me.
Pingback from SharePoint Daily » Blog Archive » SharePoint 2013 Social Features; Microsoft Confused by Microsoft Software; The Red Cross Goes to the Cloud
While April may not be on your radar, is it ever too early to save money? Register now to save $300 off
Nice post.. I want to use keyword query class to search in People index, how can i achieve that.
Thanks a ton :)
Corey, great article...spot on and the feedback I give when people ask me about how I like my device comarped to my iPad. I take it everywhere, and really love the OneNote integration between devices. My biggest issue to-date is with remote desktop. I still find myself lugging my laptop around for business trips due to the fact that I cannot remote in to my network when outside my domain. This could be fixed if Cisco would come out with an VPN app that allowed me to access my network. Until this is solved, the RT is a useful tool, but not a complete replacement.
@chad I've heard similar feedback. Luckily, I don't need to VPN much myself because our SharePoint site is accessible on the Internet. Several others have complaints about proprietary VPN clients. I wish people would stop using them because they are generally buggy, very OS specific, and are quite fragile. Every time a new OS comes out, VPN clients typically lag behind for months. I find that unacceptable.
Nice article.
Thanx for explaining a complex structure in a very simple way. Screen-shots attached became very helpful in understanding the whole process.....
I followed all the steps & I get an error like:
Warning 1 File '~masterurl/default.master' was not found. What am i doing wrong ?
Pingback from SharePoint Daily » Blog Archive » Are SharePoint Road Maps Necessary?; Microsoft Mobile Priorities; How Will Windows 8 Evolve?
Today is The National Day of Unplugging . Is anyone out there to read this? - Dooley Top News Stories
Pingback from Installing SharePoint 2013 Apps | Sladescross's Blog
Pingback from Installing SharePoint 2013 apps with PowerShell - Corey Roth [MVP] | SharePoint Resources | Scoop.it
Pingback from Creating SharePoint lists with Excel data using Access 2013 - Corey Roth [MVP] | SharePoint Resources | Scoop.it
Great Article Corey. Very useful information that I can use in my own automation strategy.
Pingback from Microsoft Partner Benefits: Rocking your SharePoint Online demos
Have you been able to map the thumbnailPhoto to the Picture attribute when using the Active Directory Import method? I don't see the people photos in search or on the profiles after mapping and doing a full import.
Pingback from Microsoft Partner Benefits: Rocking your SharePoint Online demos - Corey Roth [MVP] | SharePoint Resources | Scoop.it
It's March 2013 - I still have this issue with SharePoint Workspace 2010. No solution available. I am not using OneNote at all....
Pingback from MOSS 2007 People wildcard search webpart and refine your results. | Tom Van Rousselt's Blog
Pingback from Resources: SharePoint Development,Programming And PowerShell | lionadi
Pingback from Resources: SharePoint Search Center and Searching | lionadi
The noindex class seems not to be working if you use nested tags. So you can't wrap a large section into a div class=noindex and expect it to be excluded by crawler.
thx
Data Type values for creating Managed Properties from PowerShell
I want to use time in my query for ex. datecolumn<="2013-03-14 03:45:00PM", when i am using this query the time part is ignored (I guess) and i am getting all the results for that including the results of 14-03-2013 5.00PM date. please help me how can i do the same?
As well as the case sensitivity, the 404 error can be caused by not being able to display the RSS feed due to non-unicode characters in the list text fields
I don't see anywhere a powershell cmdlet to get the dictionnary or remove it like you could with FAST (Get-FASTResource, Remove-FastResource).
Any idea how to do that now ?
I love analytics. Great stuff. Have you thought about how this might be exposed in other areas? For example, say I wanted to show the top 5 most popular documents for a site collection on the front page of the root site. Is that a REST API call or something less technical?
hi, when i did the same in package.xml, and run deply, i am getting the following error;
Error occurred in deployment step 'Add Solution': Property set method not found.
Pingback from Office 365 and IRM | Sladescross's Blog
Pingback from Link: Importing Search Configurations with SharePoint Apps | @SPSamer
Iam getting the Exception has been thrown by the target of an invocation error.
Iam nt using any fancy data, i am jst using the simple file like ur budget 2010. But iam still getting the error.
A question about the ExportPopularQueries method( in SearchExecutor class). I have excuted the cotnext.ExucteQuery method , but it always returns object with 0 results.And I have tried all kinds of guid(see:www.dotnetmafia.com/.../list-of-common-sharepoint-2013-result-source-ids.aspx).
Thanks for this info.
One thing is if we buy sp2013 for 6900$ and then cal's for 10 users for 1000$ then can we create extranet site with workflows and allow multiple external users to access this extranet and run the workflows? I read Microsoft has done away with the SharePoint licensing requirements for external users in the 2013 version. Please advise
www.dotnetmafia.com/.../deploying-a-web-part-with-code-access-security-in-visual-studio-2010-sp2010.aspx
Will this post be helpful while doing it for Event Receiver instead of WebPart.
Because I have created an Event Receiver in c# and trying to read an Excel file in the code. There I got Permission issues and got idea from your post which has been posted long back.But when I used the same which has been done for webpart I am getting the error "Error occurred in deployment step 'Add Solution': Property set method not found"
The only change in the Package.package -> Manifest is in the below tag
<IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Read="$AppDir$;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\CONTROLTEMPLATES\VisualWebPartProject1" Write="$AppDir$" Append="$AppDir$" PathDiscovery="$AppDir$" />
instead of \TEMPLATE\CONTROLTEMPLATES\VisualWebPartProject1 I have given TEMPLATE\FEATURES\MyReceiver_Feature1
Could you please help me.
Pingback from How to: Build Client Web Parts in SharePoint 20...
@Amit Yes, for extranet scenarios, you need CALs for internal users only accessing the site. External users are included.
Thanks for the post. What about when deploying an external content type list along with a BDC Model? I've got the model and list deployed, but must modify the default view to show specific columns in a certain order. Is this possible? Can we use SP variables (e.g. $ListID) to assign the needed GUID references?
Any thoughts on this are appreciated.
Thanks - Marc
Referencing this part of your post:
To get the host URL, you will have to modify your elements.xml to make this work. Do this by adding {standardtokens} to the URL of the Content element.
<Content Type="html" Src="~appWebUrl/Pages/HelloWorldClientWebPart.aspx?{StandardTokens}" />
I have multiple elements.xml in project, so I am assuming it is the Content folder | Elements.xml ?
Where within the elements is this added (Module Name=Content) ?
Anita
@Aterese It's the elements.xml for your client web part. It will be in the folder of whatever you named it.
@Mathi is the excel file in the MyReceiver_Feature1 folder? If so that should work. Otherwise you'll need to adjust the Read path.
@user123 I've never seen that error I am afraid.
@Tom Actually I think you can do that much easier. Just use the Content Search web part and the Popular result source. You may add some filters to it to only show documents, etc.
@SharePointer You know I haven't seen anything for that. Definitely seems like something that is missing.
@Satya Sorry, Search does not recognize times in queries. Nothing you can do about this.
@MC I haven't tried.
@Nick Thanks!
@sandronikos I haven't seen it before.
@Satya Use the Result Source for Local People Results. www.dotnetmafia.com/.../list-of-common-sharepoint-2013-result-source-ids.aspx
@Anarath just use the best bets web part instead.
@Rene Good idea. But to quickly summarize. Although IOS has office-like apps such as Numbers, it's no true match for Excel. It's having a good chunk of the Office Suite available that makes the RT so valuable. I can work on a document on my laptop and then go somewhere with my surface and Word not only has my document but it opens the document to the exact page I was editing last. Since I can run two apps side by side that makes it easy to use OneNote and Lync or Skype at the same time. Lots of possibilities there.
First, you want to stop using Full Text SQL Queries since they are gone in SharePoint 2013. Try it with a keyword query and see if you get the same results.
THANK YOU!!!!!!!!!!!!!
Many thanks, was driving me nuts.
Thanks a lot! I have the same problem. Is there any fix from Microsoft?
@Warlock try the RTM tools or reference a file locally.
Pingback from Determining the most popular items in a documen...
Pingback from Configuring and using IRM with Office 365 and S...
Pingback from Importing Search Configurations with SharePoint...
Pingback from How to: Query SharePoint 2013 using REST and Ja...
Pingback from How to: Query Search with the SharePoint 2013 J...
Pingback from SharePoint 2013 and Search-Driven Content | Mikko Koskinen
Hi, have you tried to use special scope in KeywordQuery? In sp2013 we have result sources, I want to define search scope.
Thank you! Thank you! Thank you! I hate that bloody view. Danged inconvenient!
Its very useful... I was facing the same issue and its been resolved now by applying the above steps. Thank you.
Pingback from SharePoint 2013 Autocomplete textboxes using th...
Great post!!!
This did not work for me using a host-named site collection (HNSC). When I switched to a "standard" site collection, the deployment worked fine.
Excellent post bud!!!
@Scot That's interesting. Let me try it myself.
Typical - search all the advanced options but didn't see it staring me in the face on the general tab!
Thanks for the tip...
Anybody can help me , How to read Authoring site List Value from Publish site through code in sharepoint 2013
Pingback from Debugging feature activation in SharePoint 2007 | C Language Development | C Programming Language Tutorial
En este artículo vamos a ver como podemos hacer uso del Modelo de Objetos en Cliente de búsquedas (sabor
Pingback from SharePoint Online: Usando el MO en Cliente de búsquedas desde una aplicación creada con NAPA! | Pasi??n por la tecnolog??a...
Nice work! Thanks.
Have you tried to change the ChromeType setting it in ClientWebPart\Properties\Property ?
I'm having problems with it.
When I try to set like that:
<property defaultvalue="None" name="ChromeType" requiresdesignerpermission="true" type="ChromeType" webdisplayname="Chrome Type"></property>
It says that type is invalid
I've tried setting Type to string value, and enum without any success, getting error:
ClientWebPart has the Property ChromeType which cannot be used since its declared on a base class
Pingback from 70-489 Developing Microsoft SharePoint Server 2013 Advanced Solutions – Preparation links | Martin Bodocky
Pingback from Getting a list of sites that a user has access to in SharePoint | The SharePoint Doctor
Pingback from JavaScript runtime error: 'NotifyScriptLoadedAn...
@kfrymus I haven't tried that. It seems to be a limitation of the client web part to set properties like that, but I haven't confirmed it.
Pingback from Add “View Folder” link in core search results web part | Sean Carter
Hi Corey, Great article!
Is there a way to set the returned properties by the query as the SelectProperties parameter with REST?
@Nico Yes, that's exactly what you do. Specify the properties using the selectproperties parameter. I usually test the URL I am going to use thoroughly in the browser before writing code with it.
Hi, Thank you for this useful post. I have a tested the document result source (e7ec8cee-ded8-43c9-beb5-436b54b31e84) by using this query
intranet.test.pe.mogul.se/.../query'blah'&sourceid='e7ec8cee-ded8-43c9-beb5-436b54b31e84'
however it returned all documents, it doesn't matter what you write for querytext it returns all documents. why?
how do I return only documents which contains (title, name or text) a querytext? thanks
Hello, I can't find the .Any() method in my attribute.
Can you help me please ? I need it for the Warranty and description.
XDocument product = XDocument.Load(info1.ProductID.ToString() + ".xml");
var productData = from item in product.Descendants("Product")
select new
HighPic = item.Attribute("HighPic").Value,
LowPic = item.Attribute("LowPic").Value,
Name = item.Attribute("Name").Value,
Description = item.Element("ProductDescription").Attribute("LongDesc").Value,
Warranty = item.Element("ProductDescription").Attribute("WarrantyInfo").Value,
Prod_id = item.Attribute("Prod_id").Value,
ReleaseDate = item.Attribute("ReleaseDate").Value,
Title = item.Attribute("Title").Value,
CategoryName = item.Element("Category").Element("Name").Attribute("Value").Value,
CategoryID = item.Element("Category").Element("Name").Attribute("ID").Value
};
Pingback from How to: Get a Result Source Id in SharePoint 20...
@Rob, @Corey
I had the same issue in 2013. I resolved it by opening a browser at the server as an administrator (Run as...).
That allowed me to uncheck the "use the same results page settings as my parent" and type the Search Center results page.
Nice post. Here is one more post explaining to get and set property bag values in SharePoint 2013 apps using CSOM
sureshpydi.blogspot.in/.../set-and-get-property-bag-values-in.html
When you said (on your slides) that using REST + Javascript is "great for" Apps and Web Parts, what do you mean with Apps?
Do you mean remote/custom web apps? Our search application is currently built using custom ASP.Net web application and is not using the OOB SharePoint 2010 pages and is deployed in a separate farm outside the SharePoint farm.
What is the best approach for us to run queries against the REST API considering establishing trusts for authentication?
Thanks for the article! Is there a limitation on the size of the dictionary or number of keywords that can be specified in the dictionary?
Thanks for All
but for sorry i did all the above mentioned steps but i can not access the web app i have created.
@Harish 1 million items according to the Software Boundaries document. technet.microsoft.com/.../cc262787.aspx
Thank you, helped a lot!
At one very large company I worked with it took six weeks to get an access badge and user id. In my experience this only seems to happen when IT operations are outsourced. These outsourced vendors can actually improve their bargaining position with their clients by acting in opposition to their client's best interests.
I get the same “Exception has been thrown by the target of invocation”. What is it that is unsupported? I created a simple worksheet with 3 columns, nothing fancy. Two months since last comment and nobody offered any further advice :(
Great example, thank you.
Does the SharePoint REST API also support writing to a list, or is it read only?
Is it possible to run more than one management shell and up date site collections in all the shells?
i have a site with more than 7000 sites.. when i run the command in just one shell it takes more than 10 days
is there any way of fastening this process ?
Thanks for this.
I know little about sharepoint, so please forgive if this is a numpty question: One thing I don't get about the above example is why you don't get the home page listed under search results for 'contact' since you now have the link on there outside of the noindex tag. Is it because the link text is not 'contact us' but 'here'?
@ Kourosh
= must be :
so
sourceid:'e7ec8cee-ded8-43c9-beb5-436b54b31e84'
@John that is correct. You must use :.
@Richard Yes. You can create, update, and delete using the proper HTTP command such as POST.
Pingback from Increasing the maximum number of characters ind...
Please give some more clues to make a (large) proper working query using CAML bulider. as it may contain a lot of nested elements. in my case CAML query contains many elements. it executes successfully on CAML query builder but is problematic in code.
just eliminating <Query></Query> from a CAML query builder generated query is enough or we need to look at the syntax too?
Pingback from Increasing the maximum number of characters indexed by search in SharePoint 2013 – Corey Roth [MVP] | Sladescross's Blog
Worked just fine for me.
hi
features with event receivers are activating but event receivers are not firing when executed through power shell script
Pingback from How to: Get list item attachments using REST an...
Wow great information
We had an advanced webpart which lets user select sites so that search is scoped on the selected sites, we are moving to 2013, i tried using u parameter localhost'test' but this doesnot meet out requirement which required the search results to filter the results based on multiple result sources selected by user. How can i achive this? i tried giving multiple values to U parameter but that is not working.
Sharada
Very informative article..
Pingback from How to add search dropdown for sharepoint site collection by powershell? | Q Sites
Do you know if 365 allows calling WSDL web service calls from inside a sandbox solution?
This is gold, thank you.
Pingback from R??f??rences pour D??veloppement en SharePoint | BLOC NOTE POUR D??VELOPPEURS SHAREPOINT
Any idea how all this relates to the "Search Dictionaries" option we see in the term store, where we can import a custom term set?
I've worked with the PowerShell import approach you outlined but I see great potential benefit in using the term store option *instead*. To be more specific, my client has a number of well-maintained term sets that could serve as dictionaries directly. So I *pin* from those into a new term set under Search Dictionaries. Sounds like a match made in heaven - no need to keep updating and re-importing dictionaries. But I can't figure out how to get a search refiner to reference that term set dictionary - no obvious way to map it to a managed property.
Pingback from Build a SharePoint-hosted Client Web Part in SharePoint 2013
Pingback from Use the SharePoint 2013 Client Object Model (SP.js) from a Client Web Part
Hi Corey, this is a great post, would you have some pointers how to add files to a document library using from a Windows Store app?
TIA,
Ed
i get an unhandled exception at var keywordQuery = new Microsoft.SharePoint.Client.Search.Query.KeywordQuery(context);
Error details
0x800a1391 - Microsoft JScript runtime error: 'Microsoft' is undefined
could you please help me out here
Hi. This is good information
But I have a question.
I want multiselect SourceRecord
SourceRecord siteCollectionResultSource = searchProxy.GetResultSourceByName("Site Collection Result Source", siteCollectionOwner);
this is one select "Site Collection Result Source"
ex) "Site Collection Result Source, mytest"
"Site Collection Result Source or mytest"
How can i multiselect my sourcerecord
I need help, Thank
I have problems to get this step done: "add a copy of the existing builtin SharePoint DocumentLibrary feature to a new Visual Studio solution". Can you please explain how to do that? Thanks in advance.
@tony so these instructions are quire dated (SharePoint 2007). Basically, you copied the document library feature directly from the 12 hive (at the time) and then renamed it and customized it.
Now with Visual Studio 2012, it is much easier. Just use the new document library SharePoint Project Item and it will walk you through the steps.
@Kim you will have to make the GetResultSourceByName() call for each result source you have separately.
@Ash make sure you have all of the necessary script files loaded SP.JS, SP.Runtime.JS, SP.Search.JS. Download my code sample from MSDN if you need a working example.
@Ed I have never tried it, but this post has walked me through a lot of the REST operations in SharePoint 2013. www.google.com/url
@Ofer Gal I don't know that it is supported from a sandbox solution. The services are there, but I would be hesitant to develop a solution using them since they are deprecated now.
@Sharada hmm, I haven't tried that. I'll see if I can figure it out.
@Haider usually eliminating the Query element is enough.
@Dharyl good question. Honestly, it is good for both. Even when you are remotely hosted, a lot of people are using client side calls. However, for remote apps, people tend to go with the Managed Client OM and you have to make use of TokenHelper.cs for authentication.
@Giorgos Arc good tip!
@Amit Change this line to <QueryText language="en-US" type="STRING">Accounting Scope:"Corporate Documents"</QueryText>
How to deploy a feature through PowerShell
Pingback from How to deploy a feature through PowerShell | Random Technical Thoughts
Great write-up... very timely. We're on SP2007 at the moment and looking at moving to 2013 most probably... 1000+ sites easily, 1000 users of which about 400 are active monthly... and
500+ GB over 500K items or docs....
In a very complex large enterprise environment, so your article has given me lots of food for thought.
(Even though right now my priority is hoping that my 18 month old sweet little girl doesn't wake up) hehehe
Rob
I download the tool, seems to be working fine, thanks for sharing.
I have five type of following documents in my document libraries
1123AVK.DOCX
1123AVKS.DOCX
123AVK237.DOCX
123AVKS.DOCX
2123AVK.DOCX
Now when I search keyword as 123AVK, it returns following two result
I want it should result all 5 records as mentiond above because all five documents are containing 123AVK.
so please share your thoughts and let me know how can I do this?
Avian
Pingback from Upgrade first, then fix your information archit...
Hi, It works perfect....but how do I make the Document ID a hyperlink to the document pointing to ..../_layouts/DocIdRedir.aspx?ID="DocId"
Please help
@Sunny you'll need to edit your CoreResultsWebPart on the search page to take advantage of the document id service. You can use change the edit link by modifying the XSLT when a document id is present to use the one you mentioned.
Great read. I very much like your approach. Very often even customers themselves want to upgrade and fix everything at once.
To. CoreyRoth
Thank you, i try that
Worked perfectly! Thanks!
Improvement happens one step at a time. Sometimes, upgrading can be a quick win. Make sure you test, though. We all saw the lesson I hope Microsoft learned when they tried this approach with o365.
Not sure what to think of this... currently I'm at a client where they did an upgrade in the past from 2003 to 2007 without bothering about the "C" containers. IA in their 2007 is a complete mess and it would be my worst nightmare to have that upgraded to 2010. So we are migrating departments to the new environment, in a new IA structure, and updating links in the old environment, slowly migrating everything, one step at the time. I think it really depends on what the current situation is. Trash in will still be trash out imho, whether you're gonna try to polish that afterwards or not.
Is there a way to do this with anonymous access turned on?
My Client App Part runs fine when a user is logged in. However, when an anonymous user (who has access to the page and the list in question) it blows up with the following error:
Request failed. There is no app context to execute this request. at Microsoft.SharePoint.SPAppContextSite..ctor(String siteUrl) at Microsoft.SharePoint.ServerStub.SPAppContextSiteServerStub.InvokeConstructor(XmlNodeList xmlargs, ProxyContext proxyContext) at Microsoft.SharePoint.Client.ServerStub.InvokeConstructorWithMonitoredScope(XmlNodeList args, ProxyContext proxyContext) at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeConstructor(String typeId, XmlNodeList xmlargs) at Microsoft.SharePoint.Client.ClientMethodsProcessor.GetObjectFromObjectPath(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.GetObjectFromObjectPathId(String objectPathId) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessInstantiateObjectPath(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.Process()
Ended up using multi select refiners and used managed metadata to achieve what we wanted, Still i am interested if we can do something like localhost/results.aspx’test’&SourceID=’GUID for result Source1’+GUID for result Source2’ which directs us results.aspx and no need to parse the xml
Thank you! Saved a lot of time especially since documentation is scarce!
Awesome, you are wonderful. For all that I dislike in every new Office version, this was at the top of the list
Does anybody knows how to create a webpart using this features (DND)?
I tried to find how Microsoft did this miracle on IE 8-9 without using HTML5, I read a lot about ActiveX but I didn't find a source code or a documentation.
Thank for your answers...
Mat
Regarding refinement on taxonomy columns, you should not use the auto generated owstaxid managed properties for refinement as they are mapped to the ows_taxid crawled property counterparts. As per technet.microsoft.com/.../jj679902.aspx, and the comment on point 8, you should map the ows_columnname crawled property for refinement, not the autogenerated crawled property/managed property pairs. If not you might see the internal value for the taxonomy field with guid etc, not just the textual value.
Quote:
"When you search for a crawled property, you may find two crawled properties that represent the same content. For example, a site column of type Text named Color will during crawl discover two crawled properties: ows_Color and ows_q_TEXT_Color. Crawled properties that begin with either ows_r<four letter code>, ows_q<four letter code>, or ows_taxId are automatically created crawled properties. When you select a crawled property to map to a refinable managed property, make sure that you don't map the automatically created crawled property. Instead, always map the crawled property that begins with ows_."
Pingback from How To I Setup Search On SharePoint Farm A To Use The Query Server On Farm B? | Click & Find Answer !
Pingback from Corey’s Guide to SharePoint 2013 Service ...
Pingback from Working with managed metadata and default colul...
Pingback from Guide to the search schema in SharePoint 2013 -...
Should references to spMonitoredScope be removed from production deployment? Is there a production performance impact?
@webguynj I would probably say no. If you look at the developer dashboard, you will see that SPMonitoredScope is used throughout it to monitor it's internal calls to things. It's good data to have when it is in production. Does it affect performance? Probably to a degree but I would think it is negligible.
Can we add APPS to Pages programatically? I have a sharepoint hosted app which i have to place on my subsite as soon as the site gets created. This is a functionality i need as part of my site Provisioning. Can you please help me figure out if this task is achievable using APP model?
We are using FAST and we also encountered this issue and it consistently fails for start row greater than 100000
Looking into getting a Windows 8 based tablet. I am a realtor, (and a mac-er...!) so my Apple MBP isn't cutting it when I need to pull up certain sites. Specifically, I need word/excel (I have an office365 subscription) and fully functioning internet with java. Would this be a good tablet for me?
@Sarah If you are looking specifically for Office applications and web based sites then this tablet should do well for you. The long battery life will be useful for someone that is always on the go.
Love it. I'm the person who both builds and then trains the corporate employees how to use the tech. I made the mistake in 2007 of going to "techie" and the adoption rate plummeted. People were hiding stuff in LAN folders, desktop, even shared Outlook mailboxes. My big key for 2010 (SP & Office) was to really know what the end user needed (not always what they said!). I had to go watch many people and their workflows.
Once the upgrade occured, I could train on key features (tips & tricks to make their life easier). When they felt empowered, they started to evolve their own Information Architecture. Is it perfect? Nope, but adoption stays high. We also take seasonal slow times and do "spring cleaning" every year, or take out the trash (using Mike F's analogy from above) - which may not be trash to begin with but becomes trash once it's been consumed (think trash in your own house, i.e. my Hershey's wrapper is now trash, but wasn't yesterday! :) )
I see the original blog is a few years old now but yet it still being posted, and replied, to which is awesome.
I am hoping you can shed some light on a particular problem I am experiencing. The full extent of the issue is described on the URL above. In short though I am using query packet and returning results sorted by "Write" DESC. If the page size - i.e. the count - is 20 I get 'bad' results, in that the results are all missorted. In April 2013 I changed the count to be 40 and all was well until this month. The issue reoccured. Setting the count to 45 this time again corrected the problem. But I just can't figure out why this would happen.
I've been using Mossman's tool and entered by querypacket and can reproduce the issue. Have I really unearthed a Sharepoint 2010 bug or am I still doing something wrong?
Any help or advice would be much appreciated!
Sam
BTW, I've worked with a number of great Infusion guys in the past.
This is my EXACT list, with one exception... I also deploy a domain\spservices account, as I use AutoSPInstaller and it assigns that account to a few windows services.
Pingback from UnderstandingtheServiceApplicationsofFASTSearchforSharePoint | Jeremy Thake Dev Blog
Pingback from HowtoAddChildItemCountstoaSharePointDocumentLibrary | Jeremy Thake Dev Blog
Pingback from SharePoint Link Love 07-Feb-09 | test
Pingback from SharePoint Development Weekly Roundup (21Jul) | test
Pingback from SharePoint Development Weekly Roundup (04Aug) | test
Pingback from SharePoint Development Weekly Roundup (11Aug) | test
Pingback from SharePoint Link Love 07-Feb-09 | Jeremy Thake's musings
Pingback from SharePoint Development Weekly Roundup (21Jul) | Jeremy Thake's musings
Pingback from SharePoint Development Weekly Roundup (04Aug) | Jeremy Thake's musings
Pingback from SharePoint Development Weekly Roundup (11Aug) | Jeremy Thake's musings
Cómo sabéis, una de las grandes novedades de SharePoint 2013 viene de la mano del motor de búsquedas
Pingback from SharePoint 2013: Uso de las capacidades de “Recomendación de Contenidos” (I)! | Pasi??n por la tecnolog??a...
what if i say that surface rt don"t run games like windows surface pro do.games like call of duty black ops2
Pingback from » How to Fix a Common SharePoint 2010 OData Error
Great post helped a lot.
Thanks for explaining such a tricky thing.
Pingback from Blog » Ausgew??hlte Beitr??ge aus der vergangenen Woche
Pingback from Fixing the SP2010 IDataServiceUpdateProvider OData Error
Hi. I receive allways 403 forbidden error. Can you help me?
Hi and thanks for this useful post. Is it possible to create the Site Collection directly on the Managed Path?
Is there a way to do this in SP2010?
Pingback from Creating path-based site collections in conjunc...
@Robert not sure what you are meaning exaclty. Can you provide more details? Thanks!
@Barry I'll need to look into that...
Thank you so much! This post just saved my day!
THANKS you saved soooo much frustration, I truly appreciate it
Pingback from How to I setup search on SharePoint Farm A to use the query server on Farm B? - Just just easy answers
Hi again, I meant you created the managed path "MyPath" like this New-SPManagedPath "MyPath" -HostHeader -Explicit
and then directly you created a new Site Collection on same path "MyPath" like this.
New-SPSite http://wingtip.com/mypath -HostHeaderWebApplication http://webapplicationurl -Name "Site Name" -OwnerAlias domain\user -Template STS#0
This post is a contribution from Aaron Miao, an engineer with the SharePoint Developer Support team.
Pingback from Excluding Publishing Image Libraries from Search results
I appreciate this helpful post!
http://www.desertedroad.com
Following @Tom's line of thinking, I would still be interested in a way to access this information programmatically via Javascript (REST or JSOM). For companies like mine that have Standard CALs, the CSWP is not an option. Are you aware of any client side methods to obtain this information?
Pingback from Instagram Accounts To Follow
1. Using Microsoft Dynamics CRM 2011 and Internet Explorer 10 By Dynamics CRM MVP Chris Cognetta –
Pingback from Friday Five – September 20, 2013 | MSDN Blogs
Pingback from Understanding the Service Applications of FAST Search for SharePoint | SharePointDevWiki.com
Pingback from How to: Add Child Item Counts to a SharePoint Document Library | SharePointDevWiki.com
Pingback from Getting Elevated Search Results in SharePoint 2010 | SharePoint interests
Pingback from Adding a Link to My Links Programmatically | SharePointDevWiki.com
Pingback from Solution package development tool comparisons | SharePointDevWiki.com
Pingback from SharePoint Development Weekly Roundup (21Jul) | SharePointDevWiki.com
Pingback from SharePoint Development Weekly Roundup (19May) | SharePointDevWiki.com
Pingback from SharePoint Development Weekly Roundup (04Aug) | SharePointDevWiki.com
Pingback from SharePoint Development Weekly Roundup (11Aug) | SharePointDevWiki.com
I have the same error but in a bit different context.
I have a custom dll that I made to read SharePoint list items. The dll is in the GAC and I reference this dll in a ssrs report.
I added the path to my library in rssrvpolicy:
<CodeGroup
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust"
Name="MetaDataLibrary"
Description="Meta Data Library">
<IMembershipCondition
class="UrlMembershipCondition"
Url="C:\Program Files\Microsoft SQL Server\MSRS10_50.SQLSPDEV\Reporting Services\ReportServer\bin\MetaDataLibrary.dll"/>
</CodeGroup>
I also used RunWithElevatedPrivileges to run the SharePoint in my dll.
When the report renders, I get the message:
System.Security.SecurityException: Request for the permission of type 'Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePoint.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' failed.
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
at MetaDataLibrary.MetaDataFunctions.IsAllowed(String view, String code, String currentUser)
Can you help me please ?
Hi I need help, I am changing from my reg Office 365 to Enterprise and I have been back and forth with Microsoft since last Tuesday and they have not helped. I need to get the correct DNS info for my sharepoint to point to my domain name (I have a custom domain); it is not working. I need to create a public facing site - I have already created my public site and change the name to my public site in the collection area but the cname record is wrong.
Thank you,
Dorothy Hooks
Como cada mes, aquí os dejo el recopilatorio de enlaces interesantes sobre SharePoint 2013 y Office 365
Pingback from SharePoint 2013: Recopilatorio de enlaces interesantes (XV)! | Pasi??n por la tecnolog??a...
Looks like it's been a while since you've commented on this blog post, but I'll leave my question anyway and hope for the best.
Is it possible to add this css class with javascript at the time of page load, in such a way that SharePoint will ignore the approriate divs?
We have a very involved site with lots of custom controls which have a common root div. I should be able to add the css class to the appropriate divs, but I'm concerned that it won't affect the Search index because javascript may not fire for the crawler...
I'm going to try it out in the meantime, but figured I'd at least ask to see if you or anyone else had tried this before.
Pingback from SharePoint 2013 Evaluation VHD | A soldier of fortune
Pingback from Extended Living Spaces
Is it possible to access the SharePoint data via JSOM outside SP APP?
ZZ
@Drew that I am not sure of. It's worth a try. Be sure and let us know your results. Thanks!
@Jason It's definitely possible to do via REST, but I would have to think about it a bit. You can use the Popular result source to determine items that are the most popular. You can definitely do this with a REST query. I have more REST examples on this blog if you need them.
@Luca make sure the account you are running the app with has access to the site. Also, if you are using SharePoint Online, there is significantly more work involved in order to authenticate.
@Sam that's odd. I am guessing it has something to do with the fact that there are more documents coming back in the results now. Sorting has always been a bit unreliable in 2010 in this manner and that may just be the case of what it is. On the plus side, it gets better in 2013.
@Erik unfortunately, this is a limitation of apps right now. It just doesn't work with anonymous.
@Faxal I would say why would you want to run a game like that on a tablet. I would get a desktop or a gaming oriented laptop for that purpose because I don't want to play games like that on a 10" screen.
Ok, but how do you fix it???
Perfect, this was excatly what I was looking for!
The page name displayed in the search results is indeed configurable from SharePoint Designer. Open your external content type, click any one of your fields that you would like to be set as the search title and click 'Set as Title' in ribbon. Bingo!
Hello Corey, I am currently trying to get some picture URLs from an Assets Library in SharePoint 2013. In JSON I can see that my d.data.result return the correct number of pictures, how ever, I cannot get URLs with this.ServerRelativeUrl. I get an 'Undefined' result. I cant see any other properties to get the URL, so any help is much appreciated!
If I need to sort by result title or by my custom column ? I tried with keywordQuery.SortList.Add("Title", SortDirection.Descending); but I get an excecution error on the line : clientContext.ExecuteQuery(); , some recommendation or solution ? Thanks !
If I try and uninstall some apps I get the following error:
"Uninstall-SPAppInstance : The App package has not been downloaded."
Como cada mes, os dejo el clásico recopilatorio de enlaces interesantes que he ido recopilando. Como
Pingback from SharePoint 2013: Recopilatorio de enlaces interesantes (XXVI)! | Pasi??n por la tecnolog??a...
am getting error..
my ps1 file contains the following lines
"$searchApp = Get-SPEnterpriseSearchServiceApplication
Import-SPEnterpriseSearchCustomExtractionDictionary –SearchApplication $searchApp –Filename \\C4968397007\c$\extraction.csv –DictionaryName Microsoft.UserDictionaries.EntityExtraction.Custom.WordPart.2"
am getting the following error..
Import-SPEnterpriseSearchCustomExtractionDictionary : Failed to import custom dictionary Microsoft.UserDictionaries.EntityExtraction.Custom.WordPart.2. Check logs for more details....
@Uday check the ULS logs to find out what the problem is. More than likely there is an issue with your CSV file. Make sure it is in CSV format and not Excel.
@Mohamed this is because SQL Syntax was removed from SharePoint 2013. You will need to convert your query to a KQL query in order for it to work. I also recommend updating your code to use the REST or JavaScript CSOM interfaces as well. The web service interface is deprecated.
Great post, thanks for sharing.
I have been trying to see if there is a way to use the content search web part to return "sites I am following" and "sites suggestions" like the web parts that can be found under the "Sites" tab.
Thoughts?
Hi and thank you realy for this very usefull information you share.
yesterday I uploaded a document on my development site on office 365 and tagged it by a tag (#myTag). today when I search owstaxIdMetadataAllTagsInfo:"#myTag", it finds only converstaions not documents.
Pingback from Need help in share point 2010 | Jptab
@FeliceG I don't think so. For that you need to go through the Social API. msdn.microsoft.com/.../dn194080.aspx
@Kourosh that is correct. This will only return the conversations not documents. To get the documents, you have to cross reference to the Enterprise Keyword tag that the documents were tagged with. This is how the profile page does it.
This example throws a missible Microsoft.SharePoint.Client.ServerRuntime error. Am I missing an unmentioned DLL or install?
HI Corey... I am successfully able to get the entity extraction working with OOB properties such as Title and Body. But not able to do the same for custom properties created for SharePoint custom metadata columns. The SP site resides in SP 2010 and I am crawling in SP 2013.
Is there any steps that needs to be done for custom properties? Thanks in advance.
Good information!
"Tagging documents with an associated enterprise keyword as I mentioned in my previous blog post won’t affect what is trending."
This is the crucial part for me and what I don't really understand. I also believe that tags from other Newsfeeds (team sites) are not taken into account - really only posts on the Newsfeed itself. Makes me wonder about the whole social concept. It also doesn't get better with Yammer. Just weird, if a document were to be tagged a hundred times (say the quarterly financial report), it is simply not trending. I would have to mention it in the Newsfeed and only then it would be trending.
@John I've never tried having extraction look through custom properties. I assume you configure it the same way by selecting which refiner to map it into on the managed property page.
@MB you can look at the TotalRows property on the ResultTable object to get the total row count for use with paging.
Pingback from Tout le reste | Pearltrees
@Corey,
Yes. I have configured it the same way as did for OOB properties. Even I had the same contents in the custom metadata column.
Pls suggest further.
@Corey - thanks. I found that. My issue with it is that it changes as I page. RowLimit = 10, StartRow = X, TotalRows = 200
As I page through it, the TotalRows changes (up/down) with nealy each page....the only value changing is the StartRow...the RowLimit and QueryText stay the same. Is it a rough query count?
@MB ah yes. This is a known behavior of search. The total row count unfortunately is estimated. You'll notice the same thing as you page through a large result set in the search center. Not much we can do about that. It's been like that forever.
Thanks for the article
I am still seeing some issues and wondered if you can help.
I am creating a Sharepoint hosted app and writing all my code in Client Side Java Script
It appears that the App does not have access to the Web site. I am trying to access Shared Documents from the app and create a folder/ file.
Here is my JavaScript.
Prior to adding the SP.AppContextSite I was getting accessed denied
Now I get the error Request failed: List 'Shared Documents' does not exist at site with URL 'MyUrl'.
Any input would be appreciated?
Vince
function createFolder(resultpanel) {
var context;
var web;
var user;
var spHostUrl;
var parentContext;
spHostUrl = decodeURIComponent(getQueryStringParameter('SPHostUrl'));
parentContext = new SP.AppContextSite(context, spHostUrl);
web = parentContext.get_web();
var oList = web.get_lists().getByTitle("Shared Documents");
itemCreateInfo = new SP.ListItemCreationInformation();
itemCreateInfo.set_underlyingObjectType(SP.FileSystemObjectType.folder);
itemCreateInfo.set_leafName("My new folder!");
this.oListItem = oList.addItem(itemCreateInfo);
this.oListItem.update();
context.load(this.oListItem);
context.executeQueryAsync(
Function.createDelegate(this, successHandler),
Function.createDelegate(this, errorHandler)
);
function successHandler() {
resultpanel.innerHTML = "Go to the " +
"<a href='../Lists/Shared Documents'>document library</a> " +
"to see your new folder.";
function errorHandler() {
resultpanel.innerHTML =
"Request failed: " + arguments[1].get_message();
Thanks. I see that behavior. Any idea where we can see a list of ResultTypeId's ?
Pingback from ribbon custom action template in visual studio 12 | Question and Answer
It's all fun and games until the space runs out :)
@MB Unfortunately, there is nothing in the client API to get a list of IDs. It's a big limitation of the client model when working with search.
@VinceSuperC I don't really see any issues with that code. It seems like it should work. Verify the URL is coming across right and double check the list name.
Instrumentação, de acordo com a Wikipédia , significa “ a ciência que estuda, desenvolve e aplica instrumentos
Pingback from Instrumenta????o com SharePoint 2010 | MSDN Blogs
Como cada primero de mes, os dejo un nuevo recopilatorio de enlaces interesantes sobre SharePoint que
Pingback from SharePoint 2013: Recopilatorio de enlaces interesantes (XXVII)! | Pasi??n por la tecnolog??a...
Really nice article about a different topic.
I need to perform similar query using REST API.
Is it possible to get the "most read contents in last 10 days" using similar approach?
Thanks for your answer in advance.
@Tolgo possibly. You can try sending your query to the Popular result source and see what it gives you. In theory it should only give you results that it deems as popular.
Good Post Corey. I'm a little confused about the difference between applying IRM on a document library in Office 365 and applying it at the document level. From your post, it looks like you can save an IRM protected document to any library, even one that that is not enabled for IRM. Is that correct?
Also, does the above work in Office 2010 or only 2013?
Thanks - very helpful post! You can also add an Alias named Tags to the owstaxIdMetadataAllTagsInfo property. This way you can search like this:
Tags:"#MarketingCampaign"
Hi, I was wondering if there is possible to search for something like this:
ContentType:CTName&Sort:Created
TO get all pages with a specific CT and sort them based on the date they created.
Pingback from Step by Step – Building Custom SharePoint 2010 Search Applications using KeyWordQuery API | Nik Patel's SharePoint World
I'm new to SP Development and followed your instructions carefully, but I think I've missed something, because I'm not able to add a customer, I get the following error:
"Personal information necessary to process the request could not be obtained"
Can you please tell me what do I have to change/add?
Forget my reply, I've fixed the error by deleting the browser cookies and redeploying the app. I works now. Thanks for your post.
@Kourosh you can do this but you use a different parameter for sorting. See this article with the query string when sorting. www.dotnetmafia.com/.../how-to-sort-search-results-by-query-string-with-the-resultscriptwebpart-in-sharepoint-2013.aspx
You can also configure the sort order manually on the web part.
@Guy IRM policies are applied to individual documents. You should be able to use Office 2010 as well.
I get an invalid data error when trying to uninstall an app. This is at the root site collection of my web application. What am I missing?
JWLehman, I got the same message
Thanks for the help Corey! This saved me from more insanity. To anyone still struggling with the invocation error, in my case I had to re-create the data on a new sheet (Sheet2) inside the workbook on the SharePoint server with absolutely no formatting (the original had colors in the cells). The new data is linked to the original Sheet1, as I couldn't change the formatting on that sheet (others needed the color-coding). It should still auto-update whenever someone edits the data on Sheet1 in the workbook.
And then I followed Corey's example of removing the xlviewer lines from the url (or checking to make sure they are gone).
Another way to get a true URL is If you open the spreadsheet actually in Excel, then add the Document Location to your Quick Access toolbar (at the top). Once you add that, you can copy/paste the URL from that box into the Web Part setup. it should be devoid of the whole xlviewer nonsense in the URL.
At any rate, I honestly hope that anyone who encounters the invocation error can figure it out. I was on the edge of going crazy. Thanks again Corey!
Pingback from SharePoint 2013: Recopilatorio de enlaces interesantes (XXVIII)! | Pasi??n por la tecnolog??a...
Nice and simple! Love it!
Happy New Year to you!
This article is AWESOME! Thanks for this!!
Keep writing.....
Trending Tags shows "2 uses in the past week" even if it is used only once by a single user. How to handle this ?
Pingback from How to: Query SharePoint Search with PowerShell...
Any notion on how to do this with csom?
Awesome work. I am trying a similar route to MMS Taxonomy, but no success. Maybe this can be your next challenge.
Pingback from Sharepoint JCOM and Metro App | Nick's Blog
Pingback from SharePoint Core Results Web Part Changes « Tom Resing's SharePoint Blog
LightSwitch should fit the bill nicely, specially since it has gone HTML5 (instead of SL)!
Integrating with the Forms based SharePoint might be a minor hassle, but hey, LightSwitch is right there, why build anything else from scratch again, after all this is the new 'unified Microsoft' right?
Pingback from Microsoft confirm InfoPath 2013 is last release of the product | Jeremy Thake's musings
Como estrenamos mes nuevo, toca un nuevo recopilatorio de enlaces sobre SharePoint 2013. Como siempre
Pingback from SharePoint 2013: Recopilatorio de enlaces interesantes (XXIX)! | Pasi??n por la tecnolog??a...
1. How to: Query SharePoint Search with PowerShell By SharePoint MVP Corey Roth 2. Creating Reports
Pingback from Friday Five – January 30, 2014 | MSDN Blogs
of topic, but when patching takes very long, try this: blogs.msdn.com/.../why-sharepoint-2013-cumulative-update-takes-5-hours-to-install.aspx
Great post, and still relevant in 2013. Do you know of a way to programmatically publish a batch of content types from the hub in O365? I have a solution with ~25 content types, and manually publishing them through the UI is tedious and time-consuming. I can't seem to find this functionality in the CSOM.
Great article. I having issues using the REST URL in an AJAX call. It keeps tripping up because of the ' or " in the string (ex. while I can get an output by copying the URL into a browser, in the AJAX call it gives me length errors because the URL needs to be within "). Any example of how this would look in an AJAX call such as:
$.ajax({
async: false,
url: URL here!,
type: "GET",
headers: { "Accept": "application/json;odata=verbose" },
success: function (data) {
I have tried the URL+_layouts/_vti_bin/ListData.svc but I am getting the Object already exists. Kindly help.
I want the next forms solution to work with oData at least. Also it should have support for JavaScript for developers with some kind of standard control drag and drop for business users.
Turned off the nested paging works great for me.
Pingback from Licensing Changes for Extranets with SharePoint...
Thanks Chris.
This helped me
"Try to use SPS3S:// you must be using SSL."
@Derek that's an issue with SPO. I don't think the functionality is there in CSOM unfortunately.
@MAIR Yes. You can do this with /_api/contextinfo. I plan on posting something on this soon.
@MAIR check out this example on how to do the same technique with CSOM.
www.dotnetmafia.com/.../how-to-get-a-clientcontext-for-a-site-given-a-full-url.aspx
"Don't assume jQuery is loaded already"
I thought it was already loaded. It must just be the web parts i use. Nice tips thanks.
@Roger that's right. Some web parts definitely make use of it so it will be there for you. If you have implemented a custom branding solution, more often than not you might have included it there as well.
Thanks for these tips.
Hi Corey, with SharePoint 2013 on Office 365 would you say the guidance still stands that public facing web sites are really only for brochure-type sites? Would anyone seriously consider putting their corporate web site on a public facing site? I work at an organization that can see large spikes of users at irregular and difficult to predict intervals. Is that an environment that would not work well on an O365 public facing web site?
Woah need to update my business cards. Thanks!
One thing Corey,
For those of us not normally in airconditioned places, a scarf is an absolute must!
Else you will find yourself with a cold within hours :)
Aww .. I'm sorry about that, buddy. Next year I'll let you have it .. :)
Other little things to pack:
Cough/Throat drops - lots of people in one space, lots of germs, plus most of the casinos are NOT smoke free, so can mess with your sinuses in a hurry.
Hand sanitizer - again, lots of people, and you'll probably shake hands with many and then you might want to eat.
Gum/Mints - you may not all have time to go brush your teeth after lunch!
Pens - you might want to make a note on someone's business card for follow up later
@Jesper I have heard that before from others as well. We have good air conditioners here in the US. :)
@Mark Ha! I actually always release my post the week before on purpose. :)
•Arrive early , check :-) coming from Belgium and already in the states on Thursday
Also the •Hydrate part is very very important... for having to sleep only 10 hours the whole week.. this one was the one that got me through :-)
C u @ SPC
Many Thanks Corey Roth
Pingback from Eug??ne Dauphin – Counting down for the SharePoint Conference 2014
I recommend a little something extra for your tablet and phone:
www.amazon.com/.../ref=oh_details_o00_s00_i01
For any English travellers that like a cup of tea in the morning, bring a travel kettle with you as they tend not to be provided in the bigger hotels.
A cup of tea from Room Service in the Venetian cost me $20 last year and took the best part of 45 minutes to arrive!
I you forgot something really important on the list. Where is the first-aid-kit to get a bandage if you cut yourself with paper?
Impressing list anyway. ;)
Thanks for hinting at the messed up encoding! Don't know if I would've spotted it right away.
Little addition: if you like me already clicked on "Edit File in Advanced Mode" you cannot click "Reset to Site Definition" anymore. You can fix this by checking out the file and discarding the check-in again. Then you can revert to site definition.
@Kevin this is still pretty much one of those gray ares. For the most part, I would say, it's still for brochure sites. It has a few more features, but it's not the same experience still as an anonymous publishing site. If you have something where you are expecting more traffic then you are still better off with SharePoint 2013 on-premises in that scenario.
Great post Corey ... let's meet up BEFORE the party. Or, I'll see you at the Slots outside the Bourbon Room.
Sounds good! I'll see you there Jeff!
A very nice list dude. I consider myself a conference veteran, but this list made me realize many things I had forgotten to arrange for. Thanks!
Basically, nothing changed except the name. Looks exactly and behaves exactly like SkyDrive Pro for now. Looking forward to see if there will be any changes at SPC. Expecting to see some "Management of OneDrive for Business" Group Policy style but from SharePoint, would be awesome.
Pingback from Useful JavaScript for working with SharePoint D...
Pingback from
Unfortunattely MS does not made the Long Name in the Navigation of SharePoint Online or SharePoint 2013 on Prem after SP1
For #5 I've noticed that if you happen to have a few tabs open in SPD and you are on a later one, and hit refresh, sometimes SPD refreshes the first tab instead of your current tab.
Easy and practical, now I'm looking to add the profile pictures in front of the Authors. That will also give it some fancy look.
Amancio
Thanks, ite awesome
Pingback from How to keep up at SharePoint Conference (#SPC14) online | Jeremy Thake's musings
Our customer tenant shows one drive.
great post Corey can't wait to see you in Vegas. Nice!!
Thanks Heather! Looking forward to catching up next week!
Pingback from Test 2 SQL – Counting down for the SharePoint Conference 2014
Pingback from Test 1 MySQL – Counting down for the SharePoint Conference 2014
Como estrenamos mes nuevo (en plenos carnavales :P), toca un nuevo recopilatorio de enlaces interesantes
Pingback from SharePoint 2013: Recopilatorio de enlaces interesantes (XXX)! | Pasi??n por la tecnolog??a...
Pingback from Microsoft…what else? – SharePoint Online 2013 – Resources
Your article is only in reference to non-HTTP decrypting products; the block page is in fact very old for a lower tier product and wouldn't work in a well built environment.
The question of productivity is not yours to decide, but the companies'. Incidentally,sites are actually blocked less for productivity reasons than malware risk, data loss and legal liability btw.
Do you know if it's possible to add audience Programmatically in the sharepoint online version?
Friendly Regards,
Nick
Pingback from How can I hierarchically group data using LINQ? | Search Round
Pingback from Keyword search with SQL Server | Search RounD
Pingback from How to check if a document is checked in, in SharePoint Designer Workflow? | Search RounD
was nice meeting you at SPC / SharePoint Hofbräu - I have one addition for next year: Power Adapters for Non-US people :)
Thanks for your post, it looks great. However, I can't get the templates to work. I have even tried completely copying and pasting all of your attached files and still no joy.
I seem to be getting an error "Cannot call method 'fnSetData' of undefined (OnPostRender: )". Any ideas?
1. CloudSix API: add cloud storage support to your app in a nutshell By Windows Phone Development
@Stef This can happen if the datatables library doesn't load before the rest of your code executes this. Try refreshing the page, including the datatables script locally, or using SP.SOD.executeFunc instead of $includeScript.
Is there a way to set up de custom entity extraction by powershell or by C# code ?
@Marcelo, you always use PowerShell to configure it. If you are talking about the input terms, you could always write them out to a CSV file first before doing the import.
Pingback from SP2013 memory usage noderunner process
Thanks! Reading View SUCKS on a Desktop PC!
I saw Dux make similar remarks on Facebook this morning too. I tend to disagree with the concerns. The iPad market is very different to the Surface RT market. USB plugs, true split screen, integration with your real work machine via Microsoft account and Windows Phone (it will take off), built for device keyboard, power covers, bigger screen in my opinion makes this a great secondary travel machine over the iPad. Or any Windows 8 slate device for that matter. It's going to be interesting seeing it all pan out.
We have Sharepoint 2010 Server Search. We planned to use Sharepoint search query web service to get the raw xml results and build our own User interface.
We Successfully able to invoke the search web service and get all the results in XML format . I tried the similar approach given in this link. The clarification i have is , consider a scenario for a given input keyword in query packet i am getting 500 raw xml results. But how i m supposed to get the refiner details(similar to refinement panel webpart) for all the 500 results. Does Sharepoint 2010 Server Search gives a summary report of the refinement panel in the output XML..? Or i have to read all the 500 results and build my refiner summary...... is this a limitation of using SP2010 Search Web service.
Pingback from Error in Application \ | derbium
I had the same issue with datatables loading before jQuery. SP.SOD.executeFunc did it for me.
The problem you found with the dictionary name has a simple solution. Simply hit the TAB key after typing the -DictionaryName parameter. The Autocomplete feature will show all possible values, without the risk of mispelling.
I tried to follow your post but my custom document set does not add welcomepagefields. Any idea please?
Can you please guide me on how to enhance the code you have posted on MSDN so that we can also show Total number of search item returned?
Pingback from How to: Use the SharePoint 2013 Content Enrichm...
Hey Corey, for those unable to attend spc. any chance of posting source outside of spc yammer feed?
@Ken, see this post for the source code. www.dotnetmafia.com/.../spc14-post-using-display-templates-to-format-search-results-as-a-grid.aspx
@Sadig SharePoint 2010 only has the ability to look at a subset of the refiners. Only FAST Search for SharePoint and SharePoint 2013 support looking at the entire resultset to enable "deep refinement".
Great help!
rf_RefinementTitle_ManagedPropertyName i working goood! but how to locale Refinement Items?
So I believe that a .DWP file can go from writer to screen by user action alone, whereas a .net originating web part cannot be deployed to a page without being pre-staged by someone in IT which makes DWPs much more accessible to the typical power user who has no .Net experience and no access to deploy it to the server... this would beg the question as to if .webpart inidcates a .net webpart as opposed to a non .net webpart?
As far as versions, it appears that .DWP is alive in 2013, just harder to build as SharePoint is pulled away from PowerUsers using client development tools like the Content Editor Web Part. The good news is that much more of SharePoint is accessible to Javascript now than used to be.
Pingback from New document library buttons in SPO « SharePoint Phile
Pingback from Linkapalooza: December 4, 2013 « SDTimes
Pingback from Linkapalooza: January 16, 2013 « SDTimes
Pingback from Linkapalooza: October 24, 2012 « SDTimes
Pingback from Consultas con el modelo de objetos de servidor de SharePoint 2013 | materiagris.net
Hello! Great post!
I have a problem though: I found myself using the same query inside a content search webpart and through the code, but getting different results on each one. I'm listing all site collections on my server. I've got 5 on content search webpart, which is right, and 4 on my application page. I repeat: the same query.
Can you please comment? Thanks!!
Pingback from SharePoint client object model and windows store apps | Nick's Blog
As an answer to my self: I did solve it by modifying filter_default.html display template and did use my own system for namning in the customStrings.js
then changed in outputFilter function:
var translatedRefinementName = Srch.U.$C("refinements_"+refinementName.trim(),false);
Hope it helps for other! happy coding!
Pingback from SharePoint client object model and windows store apps | ioi
what about if i can see these new features and a my collegue no? in the same library with same permissions?
Pingback from SharePoint 2013: Recopilatorio de enlaces interesantes (XXXII)! | Pasi??n por la tecnolog??a...
Como cada nuevo mes, os dejo un nuevo recopilatorio de enlaces y recursos sobre plataformas SharePoint
Pingback from SharePoint Online ??????????????? PowerShell ??? CSOM ??????????????? | ????????????????????????????????? ??????
Can you add columns from a list to the search results of the ClientResult result table? We have a list template with 5 custom columns, crawled and mapped to managedproperties. the kq.SelectProperties.add(colname) adds the result but does not bring the content of the column with it.
Nice Article,
Currently i have implemented for developing App in sharepoint 2013.
I had one question,whether we can able to give reference from Module,that is available in Visual Studio 2013.
Hi Luc,
Thanks your blog is very help full,
i have one query, i am using your last comment in this blog.
facing issue in
can you please update you explain you code.
@sivakumar I'm not sure that I understand your query.
Hi, Can the above code be used for a Visual webpart. I am trying the javascript client object model, and followed your code, however, I am not sure of achieving the below:
There is a elements.xml file in the visual webpart, should the above code be added there. There was no Content tag in the elements.xml. How to achieve this in visual webpart.
@Venkat Visual Web Parts don't use the Content element nor do they need to have parameters pass in that manner.
Thanks for this. We've been wondering why this appeared on a clients intranet.
I don't think Microsoft should be pushing these changes straight to the site. We have end users that this will seriously confuse and they could get into a right muddle trying to sync large document libraries. Do you know if it can be disabled?
How can we implement this on sharepoint 2013 sp1 with enterprise search?
Can we edit the client webpart properties through javascript??
@Nagarjuna I don't believe so. They only come into the page as readonly via the query string.
Hi anyone aware of a max length for a strong property
I have the same requirement as Rajesh, but I'm using SP2013.
Corey or Rajesh, did you find a solution for this problem?
I am having sharepoint 2010 wsp.I want to deploy this WSP into Office 365. Could you please help me on this.
Thanks for the very helpful write up.
I was wondering if it is possible to search without a keyword.Eg.: Is it possible to simply list out all MS word documents using this keywordquery class?
Dear corey!!!
I was helped to you always, Thank you.
i have a question.
my crawled properties had 663 property default.
But now, have just 400.
crawled property in the document category missed almost.
I must use crawled property, Category, Tag, Subject,Manager,Title in the document category.
I tried create new search service application. Reinstall my SharePoint2013, But I could not solve this problem.
I think my database is broken maybe.
If you know this problem. please teach me.
my server database is having three search service application.
1. Search service application 1
2. search service application 2 $"#'($")
3. search service application 2 %)$%)$
I Checked these.
Search service application 1 is having 650 crawled properties.
But 2 And 3 is having 451 crawled properties.
Pingback from Get ResultTable from ResultTableCollection in SharePoint 2010 | Coderpills
I just did some tests on a system: Gigabyte MB Core2duo 6300, 8GB RAM, Windows 7 x64 Utl. host and a virtual Lubuntu 13.10 as a vdi guest.
First with virtual guest 1GB RAM it runs at medium cpu load less than 10%.
Now with 1.5GB RAM cpu load goes up to 60%-100% even with "Nested Paging" disabled.
Return to 1GB RAM cpu drops again.
I believe it's a bug.
I have only "en-us" folder in "Language Files" folder, that causes content search web part cant not find en-gb/customstrings.js. I dont know how to get the other locale folders like in your picture above. Can you help me?
Hello Team,
I am trying to do the same using CSOM script, but unable to do so.
anyone did the same using CSOM please share the tips.
I know this can be done using ps script. get-spscripts.com/.../configuring-metadata-navigation.html
Tx
@Tam I assume they are created by installing language packs on-premises. However, if those packs were installed after the site was created, it probably won't create the folder. You should be able to create it manually and have it work though.
@Marcos sure you can do that with the FileExtension keyword. Just enter a query such as FileExtension:docx and it will return all Word documents.
@James definitely no parameter to disable it. Although you could always use a hack by customizing the CSS with your master page. Not ideal, but it could work.
Can i search for the entities also in Path of the file? (not the full text). In case so - which managed property to map?
@Keren I have tried to get that to work by using the path property but I have been unsuccessful. It doesn't appear to work.
Pingback from SharePoint 2013: Recopilatorio de enlaces interesantes (XXXIII)! | Pasi??n por la tecnolog??a...
Mes nuevo y nuevo recopilatorio de enlaces interesantes sobre SharePoint 2013. En esta ocasión
@Steve use the parentlink managed property.
Thank you - you are a life-saver!
You have written " If you need access to the site (web) instead of the site collection, the process is a little bit more involved."
I have a requirement to get the web url where the list is. Can you please help me with that. Thanks.
Thanks for the article.I have a site with some documents which are not tagged and i am using Custom entity extractor i.e Location.csv.I have created managed metadata column "Location" so that the users can tag the new documents with metada.Issue is if I use both the refiners then the values for refiners are repeating which is causing confusion .How should I use both the refiners for same set of metadata?
This post has some really great examples for JavaScript help ...
Dear Corey,
We have one file share and and users want to Display Parent folder in search results as refinement like we have for Word/Excel/PPT/Author etc. Please let me know how to achieve it in Fast Search for SP 2010. Thanks.
Inder
I will be implementing a web application that will be utilizing sharepoint search service. My company has never used it but i intend to start my questions to the admin by finding out what the crawl schedule was, and the stop words set up if any. Need to know about stop words as part of the search application being created. Are there any other things, question wise, i need to be asking the admin besides security setup? This is my first experience with SharePoint. Any assistance would help
Can I use querystring to search for a particular managed property? e.g. I have managed property "ArticleStartDate". Is it possible to search with querystring?
@Mark yes. Just do something such as k=ArticleStartDate>='6/1/2014'. You can URL encode it if you prefer but it will work. Just type it in the browser.
Thanks a lot. I missed the init.js
thank you best solution
youre and expert
Cool :)
I am using sharePoint 2013 Cross Site Publishing feature and catalog contents are rich type of contents where it hold html tags, images, links etc as part of content.
My observation is, when I render the content it comes as plan text and Is it possible to render rich content via search using display templates?
Pingback from gadjetnews?????????????????????
Thanks for the very thorough review. I can echo just about all of your points, as I bought the same Surface 3 configuration a few days after you.
I'm cautiously optimistic about this machine. I also have a Surface 2 RT, and I just couldn't get it's form factor into the rotation between my monster ASUS laptop (about 10.5lbs!) and my iPhone. I'm really going to try to do it with my Surface 3.
Since I can install just about anything that I use on my "real" laptop, I think it will be an excellent travel machine. My go-to apps are things like SharePoint Designer 2007-2010-2013, Office, Sublime Text, and a number of applications (not apps) that help me with the little chores in design and such. I use exactly zero "modern" apps on my Surface 2 RT, and I can't see that changing, except maybe to watch movies with Netflix in hotel rooms.
I connected the Surface 3 to my home office display rig (all via a single USB connection) and everything fired up great after a few minutes of installing drivers and screen flickers.
M.
Pingback from My New Surface 3 Pro Travellin’ Machine | Marc D Anderson's Blog
Pingback from Surface Pro 3 Stylus Drawing Test « Tom Resing's SharePoint Blog
Any updates on IRM within Office 365 since you published this post?
Pingback from InstantQuick › I Love My Surface 3 Pro
Pingback from ”It???s only been three days, but I love the device.” | Surfplattor i vardagen
I've been interested in the Surface Pro 3 since it was announced and have been anxiously awaiting reviews such as yours so I could better make my decision. Do you use Visual Studio a lot? I'm hoping to find a review in the near future that's from a developer's perspective (Visual Studio running 90% of the time, multiple browsers open, etc.) to determine what battery life is like in said scenario. If it can still manage 6-7 hours, I'm sold! Granted, I really wish they would've released a i5/512GB SSD and/or 16GB RAM option, but I digress.
@Martin, it's still early to really get a good feeling of what it can do as far as battery life. I'm definitely not in Visual Studio full time any more. It seems like the device should be able to do 6 hours or so running something like Visual Studio though.
I configured people search in SP 2013, and i am able to search for example people by name or title. I want to search for relevant people which means: i search for SharePoint, it should shows me any relevant people who authored documents in the portal even this keyword is not in their profile.
Any ideas how to do this ?
-- Ping me on twitter: @MostafaElzoghbi
This code doesn't return any results even though i have used SP2013 Query tool to test out my query which has one keyword and it returns 1 result while using code doesn't return results. any idea why would this happen ?
Un mes más, os dejo el clásico recopilatorio de enlaces y recursos interesantes que he ido recopilando
Pingback from SharePoint 2013: Recopilatorio de enlaces interesantes (XXXIV)! | Pasi??n por la tecnolog??a...
@Noah not a lot has changed. Although you are seeing a more complete story around compliance with the new compliance center changes.
@maggie the crawl schedule is configurable on your server to meet your needs. I'm not sure what you mean by stop words.
As you rightly pointed, this is not a replacement for MMS but this perticular feature will be useful for existing sites with tons of documents without proper metadata tagging in place.
Thanks for sharing this!
@Danister I've experienced the same.
In the beginning it is fast and later it is slowing down.
Probably because the Timer Service is eating up all the memory.
Restart the Timer Service to free up the memory. The upgrade session will pickup where it left, so don't worry about webs not being upgraded when doing this.
/Schau
Pingback from Shared Projects für Plugins and Workflows – xRM & .Net Development
That solved my problem!! Even for SP2013. Thanks.
Pingback from Linkapalooza: June 4, 2014 « SDTimes
Pingback from Linkapalooza: May 7, 2014 « SDTimes
Editor’s note: The following post was written by SharePoint MVP Corey Roth The Microsoft Surface
Pingback from Is the Surface Pro 3 the ultimate travel device? | Corey Luvs Travel
Pingback from Using OneNote with the Surface Pro 3 - Bilim-Teknoloji | Pozitive Positive Pozitive.NeT
How to make anonymous access to external list?
please im trying to get the itemcount for SharePoint list in "specific view" any help please??
With Kai here. Having this issue with no onenote files at all.
Pingback from Search does not returning list item | sharepoint2013admin
Pingback from SharePoint app Pass parameters to a Client Web Part | Share your knowledge
Pingback from Unexpected error when creating Fast Search Center | 123
Hi Corey, great post. Got a question for you. We're trying to use the Search API with CSOM in a CEWP. However we keep getting the 401- unauthorized. Using the App model you resolve that error by modifying the AppManifest.xml. How do we get around this purely client side? Does the Content Search WP have this setting built in automatically?
Sabrina
Hi Corey !
I used this search for content search for documents, but can you please guide me to people search which can search users from sharepoint site by using csom api just by passing a user's name or some short name.
Hmm Well I am 3 weeks in. Yes I love the device. I will swicth out my laptop when I have migrated everythinhg Irritants:
The battery life is not making 9 hours (or even near)
When you run the battery dead the clock stops (yep stops). I am now using internet time which may help
I want to switch the stylus to launch onenote 2013 havent figured that out
Have installed chrome instead of IE (prefer it) but does reduce battery life. I usually make sure I fully close the browser when done
If I change proxy settings, I have to reboot to unchange them. This was annoying after I VPN connected to work and then a hotel and a client site
I have had the pointer disappear a couple of times when I need to use the touchpad - detaching and reattaching the keyboard fixed once, reboot once
A couple of times the ease of access has been activated without me expecting it. Makes it REALLY hard to enter your password and turn the setting off. I think my other option would be to drain the power- the power off swipe would not work in this mode either
A few things behaving oddly - w key turned into ctrl N (new) on the physical keyboard, back key was something else.... reboot fixed....
Still learning. my productivity is not where I am with the laptop but its getting close and for travel its a hands down winner
Thanks for a thorough review. I'm convinced. All the disk is SSD isn't it?
On the screen rotation thing where you had it get stuck - did you try CTL-ALT-UPARROW? CTL-ALT-<arrow keys> often control manual screen orientation.
@Steve. Yes it's SSD.
I didn't try Ctrl+Alt+Up, but that might work. However, typically when you rotate the device, you don't have the keyboard attached.
I think they may have fixed that issue though. I haven't ran into it in a couple of weeks now.
it's really a great article for thebeginers of display templates..
Great post Corey. Also dont forget that you can ink while presenting a powerpoint, presenting in gotomeeting and while reviewing a PDF.
GPO Registry Key:
HKEY_CURRENT_USER\Software\Microsoft\office\15.0\word\Options
AllowAutoReadingMode=0
I have created a custom display template for the people search that includes mobile #, Phone #, manager....etc. We are 100% in the cloud with 0365 using dir sync to synch our AD data. The users network login name is not mapped from AD to SharePoint profile, but it is mapped into Exchange. I would like to add the network login name into the people search results but cannot map the field into the user profile at this point. Is there any way to grab the network login id and add it to a people search display template without having it mapped into the SharePoint user profile?
how to get the user profiles data in Sharepoint HostedApp through Search Service...
I have set this up but my issues that is that data-tables have their own paging. SharePoint can only return 50 results and the datatable just ends up paging those 50 and leave the additional >50 alone. Anyway around this?
@Sabrina If you are just using a CEWP in theory it should work as long as the site isn't anonymous. It will use the credentials of the currently logged in user. There is no way to set that app permission for a CEWP though.
Pingback from Keith Tuomi – SharePoint Server MVP SharePoint 2010 vs SP2010 + FAST vs SP 2013 Search Capabilities Comparison » Keith Tuomi - SharePoint Server MVP
Do you know if it is possible to do this sing the CSOM?
" If you need access to the site (web) instead of the site collection, the process is a little bit more involved." --- you mind elaborating on this?
Hi I want to know, what text/keyword/value should I use for Append Text To Query to get results from specific site collection ?
I wish I can run this on my SP2013 on-premise...
What do you think of taking this and adapting it in to the ListWithPaging control html???
@jerry o I don't think so. It can only pull values from the user profile.
thank you soooo much...never would have thought to uncheck that to get rid of the ridiculous read mode...you have made me very happy!
For SharePoint 2010, I wrote a post that covered some typical service accounts that you might need along with suggested names. I wanted to update the list for SharePoint 2013 as I get asked these questions a lot by people new to installing things. This
@Ken M It should be possible, but I haven't tried it. You would just need to move the code for the control into a display template adapted off of ListWithPaging.
@Dharval Use site:"server/sitecollection".
Pingback from Find error message with Correlation ID with Powershell | Williams notatblog
how do U set the scope within a display group? ie, where do U config the 's' parameter?
I will have several search boxes, I want each to have a specific scope that has been configured & define.
The drag and drop doesn't seem to work on Safari. What version of Safari did you successfully test this on?
Great overview, thank you very much!
@John, can you share the modified sample which is using SP.SOD.executeFunc?
@Kevin that was some time ago so I don't remember the version any more I am afraid. Interesting it doesn't work now.
Pingback from Some notes on Word automation and showing Bookmarks « The Wiert Corner – irregular stream of stuff
@Paul afraid not.
I am facing the same issue: "Unable to get property 'fnSetData' of undefined or null reference (OnPostRender: )"
I have IE 11, Office 2013, Lync 2013 installed on my system but still Drag and Drop feature is disabled. Also note that its working fine on Chrome and Firefox browsers.
Please suggest ASAP...
Thanks in advance!!
Swapnil Wani
In my SharePoint 2013 environment I have configured external content source to a WebSite, in that WebSite there are bunch of ASPX pages. Among those pages few are not crawling which is making me nuts.
For example:
1) www.website.com/sd/servicedesk.aspx
2) www.website.com/sd/contentpages/hardware.aspx
From the above url list #2 is crwaling but #1 is not.
I do have few Crawl rule
1) http://.*website.com/*.* (include)
2) https://.*website.com/*.* (include)
3) http://*.* (exclude)
When I test "www.website.com/sd" from Crawl Rule page rule#1 satisfy but I don't see "www.website.com/sd/servicedesk.aspx" in crawl log not even in error/warning.
Please let me know if you have any idea. Thanks in advance for helping me.
Best,
Pingback from 503 Service Unavailable | SharePoint Blog - Create Site Collection
I was able to get this to work just fine. Very nice. I do have a question. It seems to only work for queries on sites and site collections. Does one need to use a different template to have this work with Documents?
1. PoC: Tatoo the background of your virtual machines by Emin Atac – PowerShell MVP 2. Completing
@Martin -- I'd like to know the answer to this too. Once a dictionary has been imported via powershell, does it appear in the Search Dictionaries node in the term store like campany name? If so, this would imply that the dictionary can be managed via the term store from then on rather than having to re-import the text file via a cmdlet.
Pingback from Friday Five – September 5th, 2014 | CmdExec Technology News
Pingback from Friday Five – September 5, 2014 | CmdExec Technology News
Pingback from Friday Five – September 5th, 2014 | Technology News | The Black Gazette
Pingback from Friday Five – September 5, 2014 | Technology News | The Black Gazette
Any idea how to create user profiles for licensed users via powershell or CSOM? It seems like this should happen when DirSync runs, but that has not been our experience.
@Swapnil make sure you aren't running IE as an administrator or using the 64-bit version.
@Dennis the display templates don't affect how your query executes. This should work regardless of what your query is.
@Richard unfortunately no, it does not appear in the term store. If you need to make an update you have to run the script again.
How do you disable view or access to the Chart webpart's "Data & Appearance | Advanced properties". It displays by default for all users with Contribute access, but not for Read-only users (desired affect).
I've seen posts using JQuery, but was unsuccessful and also using SPD, but our site restricts usage of Designer.
Pingback from Sql insert can't insert calm longer than 40 chars - Adey
what else can we pass in using the default parameter? can we pass in something for the displaytemplate?
where did you find out about the default?
Hi, I tried as you've suggested but its not working.Please let me know if you have any idea of this unexpected behaviour.
Thanks for that. Interesting article.
Currently on my tenant (with First Release) I see the Delve item on the toolbar but when I access it I get the SharePoint no access page. Hmm.
On what page is the "Office Graph" toggle? (On? ....sharepoint.com/_layouts/15/online/TenantSettings.aspx)
@Alan I've heard a lot of people having similar issues. In this case you aren't fully deployed with Delve yet. The Office Graph setting will be on the Settings page in Tenant admin once it is deployed.
Pingback from IOI : SharePoint client object model and windows store apps
Thanks. Odd ordering. :-,) 1. Display the menu option, 2. Then make it work.
How to configure Code Access Security for a Web Part - Corey Roth [MVP]
It's arrived! :-)
Great post. Thanks for the info on updating -- haven't seen this explained correctly anywhere else.
it did'nt solve my issue..still getting the same error..
Very informative article! Do you know if it is possible to restrict the "scope" of the query to a specific Site Collection (e.g. the "u" parameter in the classical approach). When I test this approach with the osssearchresults.aspx of my Site Collection, it works but it returns results from all Site Collections.
Thanks a lot Corey!
Do you know if there is an equivalent to this cmdlet in the client side object model (csom)??
...or if there are plans for this in the not so distant future?
Hi Corey, this is really interesting stuff. Is there any way to catch items that have been deleted via the 2013 pipeline.
Thanks...Mark
@Stef and @Corey, Thanks for this post. I am also receiving Cannot "read property 'fnSetData' of undefined (OnPostRender" could you show share what you did?
I already have impersonate = true so what could be the cause for search to throw random errors like this.
Complete Surface Pro 3 Review - 3 days later - Corey Roth [MVP]
Pingback from More out-of-the-box ways to get Email into SharePoint (2013 and Office 365) | Cameron Dwyer | SharePoint, Outlook, OnePlaceMail
They were shooting for summer for that FoSL release....Any word?
I uploaded an app to my app catalog. Is there a way to deploy this app to my other site collection programatically?
@Rob no word yet unfortunately.
Is anyone able to help solve the 'fnSetData' problem mentioned above with an example?
Really good review and the advent of Windows 10 is a good excuse to refresh devloper laptops. Be interested to hear what the Surface 3 with or without Windows 10 handles Hyper-v.
Is your pen still opening OneNote?
@TechJunkieCA good catch. Clicking the button on the Surface Pen does not launch OneNote. When the device has the screen off clicking it brings up the lock screen but OneNote doesn't launch. I expect an update is required to the OneNote Windows Store app for it to work again.
Thanks for posting this excellent review (love the screenshots).
Framework Targeting with Orcas - Corey Roth [MVP]
SharePoint Kaffeetasse #68 - Corey Roth [MVP]
Great Post!
I have a question. Can I get the refiners to be prepopulated on a page prior to searchin? For example - If I select "People" search, refiners such as business unit,designation etc should be pre-populated so that the user can select a business unit and see all the people in that unit. Hope its clear. Thanks.
To get Search results in provider - hosted app, i have to set up search on Sharepoint Site where i use that app?
I have a list where I can see the default value in Default Column Values, but when I run
$metadataDefaults = New-Object -TypeName Microsoft.Office.DocumentManagement.MetadataDefaults $list
$metadataDefaults.GetDefaultMetadata($list.RootFolder)
I get nothing. This works fine for another list in the same site collection. Any ideas?
Also, when I am able to inspect the default by GetDefaultMetadata($list.RootFolder), the first number is not 1033 as in your example. It's generally a number like 1 or 2.
How to: Use the QueryManager class to query SharePoint 2010 Enterprise Search - Corey Roth [MVP]
A look at Visual Web Parts in Visual Studio 11 - Corey Roth [MVP]
Pingback from List aggregation Web Part using Search Driven Search Results | SharePoint interests
Twitter Trackbacks for Using CAML to deploy a lookup column via Feature - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com - Corey Roth [MVP]
Achievement unlocked: Inkmaster - Corey Roth [MVP]
Pingback from Get ResultTable from ResultTableCollection in SharePoint 2010 | netgloo blog
I have been running the Technical Preview on my laptop for some time as this is a secondary machine for me. I would like to install this on my Surface Pro #, but I am not sure how to go about it. When I put this on my laptop, I downloaded the Enterprise version which gets burned to a DVD and then installed from that. Since the Surface Pro does not have a DVD drive, how do I install this to it? Would I be able to use an external DVD drive, which I believe we have one around here somewhere? Do I mount the ISO somewhere and then run setup from the ISO? Does anyone know what the best way to install this would be?
@Wade, the best way is to use a USB image creator to copy the ISO image onto a USB flash drive. These are bootable on the Surface Pro 3 which will let you do the install. You can also just mount the image inside windows by clicking on it and run Setup.
Why 14 Hive Name?? Why 15 Hive in 2013 ??
I am using the code above for searching on website, but not getting results properly. It shows me .aspx files not the document. I think its a webpart.
First of all i want to thank you for your great post! It helped me save lots of time, for this topic is everything else than pretty much explain by microsoft.
In addition to Andy's comments, i'd like to say, that the number you use as a language-ID should be more like a serial number of the item from the termset.
And btw., for those who where looking for:
when getting a column default value, like Andy mentioned, via
$defMetadata = GetDefaultMetadata($someListFolder),
you will get a System.Web.UI.Pair-object, which is explained in the technet for use in C# but not in PowerShell.
When getting this Pair-Object, which i call mis-usefully declared, it is more an Array.List and you can get the separate Values by e.g. calling
$defMetadata[0].First and $defMetadata[0].Second
This should be useful for copying column default values from an listfolder to an other an in another list.
B.R.
Pingback from How do we call a slight that is in a webpart category file, from a usercontrol in SharePoint 2007? | Zepp
Pingback from Sharepoint 2010 Development Environment Set-up | Ziccardi
@Sarah, I hope you didn't buy that Surface RT, becuase Java is NOT supported.
Thanks for the tip. I was wondering, can one put this (the script tag you note in your article) in the head of the Master Page? Will that work? Please adivse.
@Mark yes, that should work fine.
@Corey : Very Nice & helpful Post.
@Kirsty
For 'fnSetData' problem, i removed below line in Control_Grid.html :
$("#" + encodedId).dataTable({ "bPaginate": false, "bAutoWidth": true, "bSort": false });
In office 365 with SharePoint 2013...
How to create groups to sharepoint site and add permission level using powershell?
Using 'New-SPOSiteGroup ', 'Set or 'Get' the error is 'The site "mysite..." is not properly formed'
Where is the problem?
Really helpful
Pingback from Understanding the Service Applications of FAST Search for SharePoint | NothingButSharePoint.com
How can one check if a List item exists by using JavaScript or (if necessary) jQuery?
My list having couple of additional columns carring information in text format e.g. some calculated text values based on scenarios "XYZ:ABCD".
When I search for the keywords liek XYZ which is avaiable as columns value and comming as part of search and also it shows in search brief which is displayed below Title item i.e. as part of HitHighlightedSummary search schema property.
I tried with disabling the "Searchable" property for particula columns, still shows as part of search result. I tried other properties also but no impact on search behavior.
What configuration require to atleast these values should not be display as part of search result summary. Is it possible to implement without making any changes in Display Template?
NOTE:
I am using OOB display templates
Sudarshan
@Mark query the list with REST and $.ajax. If the $filter parameter you use doesn't match any items, you won't get any results in the response.
if i want SPWebapplication level property bag then how i will do that ?//
Do you know if I can handwrite anywhere on the screen and save to a word document as text. Then, a week later say, handwrite more and convert to text, so saving in the original word document. Will the lastest/new text automatically append to the bottom of the original saved text.
I will be using Office 2010 version on the new surface 3 i5 daughter has 2 computer license) -will th Onenote on this version do all above or do i need 2013?
Nobodu seems to be able to answer these questions-not even Microsoft Thanks
John : Thank you for the help!!!
The handwriting experience is really going to be a lot better if you are running Office 2013. If you are using Word 2013, you can write in it, but I don't believe you can convert to text. However, you can convert to text with OneNote 2013. You can pick up Office365 Home Premium for a reasonable cost so I would get the upgrade.
You say "SharePoint Online has been using [HNSC] heavily for some time now"
Everything I've read from the MS documentation says exactly the opposite. According to that, HNSC are only possible for on-premise installations of SharePoint 2013 and are NOT an option for SharePoint Online (nor have they ever been). If that isn't the case I would love to find out how to do is as I would prefer using HNSC over paths.
@Mike to clarify that, SPO uses HNSC behind the scenes for the multi-tenant configuration. Your public site is an example of a site that uses HNSC. Unfortunately though as you mentioned, you can't create your own HNSC and you are locked into your tenant name for the prefix.
Pingback from Visual Studio 2010/13 Dataset by code or by designer? | Zaruba Answers
Pingback from NothingButSharePoint.com
Pingback from Is SharePoint good for ECM? | NothingButSharePoint.com
Pingback from SharePoint 2013 JavaScript Client Object Model | Zimmer Answers
Pingback from Deploying a Visual Studio Excel 2007 Template | Yorck Answers
Pingback from Hows to deploy .dwp file as a feature in sharepoint | Zener Answers
Pingback from How to make asynchronous Web API call in net framework4 | Zullig Answers
Pingback from How do I drag and drop files into a C# application? | Young Answers
Pingback from results ordering by the query string | Zick Answers
Good Article. It helped :)
Pingback from How to get empty href query parameters? | Yundt Answers
Pingback from How to generate wsp for master page what i created in designer and how it deploy into sharepoint site? | Zeliff Answers
Pingback from How to convert a XML to a String and pass the same to a java code in web service? | Zukof Answers
Pingback from Deleting Crawled Properties | SharePoint interests
Pingback from How to apply Full text search by using LINQ query? | Yetzer Answers
Pingback from Creating Linked Files in Visual Studio | Zaruba Answers
Pingback from WebPart security | Yezek Answers
Pingback from Visual Studio Project GUIDS | Zabriskie Answers
Great post Corey.
I am trying to import the dictionary file but I received the following error:
Import-SPEnterpriseSearchCustomExtractionDictionary : Failed to start the flow: Microsoft.CXDDeploymentCaseSensitive
Any idea why?
Pingback from create app catalog site collection powershell
Thank u so much! wuuuuuiiiii that was exhausting
Pingback from Get foreign key in external content type to show up in list view | CL-UAT
Pingback from app catalog site collection
@Chris check the syntax of your import file. Open it up in notepad and make sure it looks correct. If necessary, create a new file and just import a few records first to test.
@Maria you would have to issue a search query with a search web part first to make that happen. Possibly could use the content catalog functionality, but I haven't investigated that.
pavan, probably because of office for mac, maybe that's the 13
Can I how i reference/include a script file in AddPostRenderCallback function.
Great !!! Great !!! Great !!! Great !!!
Pingback from twitter search query syntax - Search Yours
Pingback from How To Fix Java Runtime Error Is Undefined in Windows
Hi, Corey!
I saw your comment "unfortunately, this is a limitation of apps right now. It just doesn't work with anonymous." and i got worried.
I am facing de same problem with my applications. I am trying to deploy these apps in a public facing site (anonymous).
What are the options in this case. I just want to create a simple contact form that sends an e-mail e add a information in a list?
@Mark unfortunately, I don't think anything is there to allow you to do that.
@Juninho I am afraid we are a bit limited right now. I am not sure there are any options.
Pingback from Office 365 Developer Podcast: Episode 029 on MSDN code samples with Andrew Byrne | POKORNY
Hello this is a very helpful article. Does anyone know how to get the value of a term from it's managed property. I am typing
ctx.CurrentItem.owstaxIdCustomerx0020Applicationx0020Type but it returns me a bunch of guid crap.
can you assist me in retrieving cross domain images using SharePoint App? I'm planning to present the preview of an attachment (which are mostly image files) on the SharePoint App page
Pingback from Useful JavaScript to know when working with Sha...
Super article...friends I want to appear for Developing MS SharePoint server 2013. I need ur suggestions and sample questions for preparing
thank you for your post.
Restart de search service worked for me!
Un mes más, en este post os dejo un nuevo recopilatorio de recursos y enlaces interesantes sobre plataformas
Pingback from How to create a search using sharepoint JSOM | DL-UAT
@Ra;
Per the article, I'm guessing you can use $includeScript(this.url, "[your script url goes here]"); within the body of your AddPostRenderCallback function.
If I'm wrong, someone please correct me.
Pingback from How to create a search using sharepoint JSOM | Question and Answer
will this work for a windows phone app?
I am searching documents in sharepoint search using java webservice. for date wise search, I am using Write>'2011-02-15T17:04:38Z' . this is working fine. But the problem is it is showing only files which are first uploading date. But it not showing latest modyfide file date. I want latest file modifide date wsing Write.
Could you please tell me.
Pingback from SharePoint 2010 vs SP2010 + FAST vs SP 2013 Search Capabilities Comparison | Keith Tuomi - SharePoint Server MVP
@Lalitha it should but there are newer ways of doing authentication if you are using Office 365. Look at the new stuff for Universal Apps and Active Directory Authentication Library.
Can you set permissions on the whole library to disable the ability to download/save but still allow editing of any of the documents in the library. I ask because this appears to be for specific documents, but I would like it apply to all documents including new ones that will be created without having to modify each one.
@Trevor there is nothing built-in to prevent download. You can configure things on the whole library but you only have a handful of settings available.
www.dotnetmafia.com/.../configuring-information-rights-management-irm-on-a-document-library-in-office-365.aspx
how can i f=do the same in Sharepoint2013?
Pingback from No metadata? No problem! Custom entity extracti...
Pingback from templates using jquery | m-stowe.com
Trevor, the way the IRM policies work in SharePoint is they only apply the protection when you either view (if the policy allows web-view) or download the docs. The data is not protected in place like the document protection (this allows SharePoint to allow text search of content). If you apply a document level protection (either through an app that natively supports RMS or using the RMS Client app, then SharePoint cannot text search the docs and they are then done on an individual basis. Once you create RMS Templates in Azure Portal, you can choose to apply those pre-set values to protect similar data.
Pingback from Configuring Information Rights Management (IRM) on a document library in Office 365 | Marcel's SharePoint / Office365 / Mobile blog
I am started creating an application in Windows 8, Where I need to authenticate into a Sharepoint site. I am using (xyz-public.sharepoint.com/.../authenticate.aspx) kind of link for authentication purpose. So my doubt here is, Is there any way to authenticate into my share point site without using( Forefront Threat management gate way)and only through using Sharepoint REST API service.
Is it possible to do the same with external lists?
Several searches later, your post answered my question - thank you!!!!
@Elizeu that should be possible. You would just query the external list via REST instead.
You need to understand that this is not a game, and the network is not yours. We use Websense at my organization in addition to several other products and we take system security very seriously. Your casual dismissal of a common security principle leaves me wondering if you are employed much.
Never been employed more. However, if a network admin let users go to any URL just because it's over SSL, maybe an org needs to find a new network admin.
This is very good insight !
How i can check-in (.pdf) files when i drag and drop those to sharepoint 2013 document library ?
Thank you so much for this post. I was trying to work on SP2013 JSOM but unable to get precise references on SP.js and other files. finally, $.getScript() help me to find correct references.
Pingback from SharePoint 2013 Search Keyword Query Class – ??????|?????????????????????
Hi Corey, I also wrote you an E-Mail, but here again my question.
Which license is necessary to run these services on an OnPrem Installation. Do we need enterprise cals for that? If yes, how much. Do we need an Enterprise cal for each user that will use the new generated managed properties?
Was pulling my hair out trying to fix this after going from XP Word 2007 to Win8.1 Word 2013. What a pain in the butt. Many thanks for the simple solution.
You, sir.. need a medal...
Hi Bjorn. I don't think I ever saw an e-mail from you. However to answer your question, this requires Enterprise Edition of SharePoint Server but it does not require an ECAL for each user. This is because the feature isn't really associated with an individual user. If you were to license just a few ECAL users like the ones for the accounts that create the properties that should be sufficient. As always, double check with Licensing to be sure because I could be wrong, but that is my understanding.
@Pavan if your library requires check-in, you will need to select the file after upload and either click the check-in button in the ribbon or from the context menu.
I am trying to use the following query for a customized keyword search webpart.
Created:{Today-365} and IsDocument:1
Once I use the above query on “Build your Query” at SC level, I got some search results.
But, Once I use String queryText = "Created:{Today-365}"; inside of my keyword query console program. (my keyword search console program works fine with other keyword query)
I got the error” we did not understand your search term”.
Could you explain to me why and any solution?
Thanks for the clear get started tutorial. I succeeded to make it works, but I still have an issue that you don't seems to face in your post :
I'm seeing the top ribbon of the void master page in the WebPart, and not only the content.
It appear you kept the 4 asp.net directives on the top of the aspx page. If I remove those, it won't work anymore, if I keep it, I see the complete page in the iframe (top ribbon, link to get back to the SP site, ...)
if you got 2 min, thanks for your help,
@Alex it should work. You can try removing the master page attribute from the page directive.
Nice article. Is there a way to accomplishing this with CSOM? I mean get ClientContext for a site given a full URL.
Tried this, but did not work. Using Outlook/Word 2013. Any ideas what would cause the above suggested solution NOT to work.
@CoreyRoth finally I got rid of SharePoint hosted application, and moved to a provider-hosted one. It better fill my needs, as I wanted to stay on the same domain name when integrating app in a page (i'm using self-signed certificate, so from the iframe, it will be displaying a warning for the certificate).
Una vez más, y a la espera de que empiecen a aparecer las primeras noticias sobre SharePoint vNext, os
Pingback from Office 365 Developer Podcast: Episode 040 on Xamarin development with James Montemagno | POKORNY
Pingback from SharePoint 2010: HTTP Error 503 – Service Unavailable. - Expiscornovus
Pingback from Office 365 Developer Podcast: Episode 040 on Xamarin development with James Montemagno | Nokipedia
This may be a little late but it helped me with the "Exception has been thrown.." error. Make sure your excel file is at the root of your document library and not in a subfolder within it. It worked for me hope it does for you.
Hi Lina, came across your query today(i guess a little late). To fetch itemCount for the items in specified View, you need to define View via CAML query:
var context= SP.clientContext.get_current();
var list = context.get_web().get_Lists.GetByTitle("Enter Your List Name");
//Once you have the list, prepare your CAML query
var query="</VIEW>"
var camlQuery.set_viewXML= query;
var items = list.getItems(camlQuery);
var count= items.count();//Please check the syntax to this
alert('The item count is: '+ count)
Excellent.
Hi, great article which has saved me time banging my head for debugging this custom connector
However, I'm having difficulties attaching to the second mssdmn.exe process which doesn't seem to spawn in the process list when launching a full crawl.
I've followed the instructions supplied in this article. Maybe i'm missing something ?
Thank you Corey
Pingback from Virtual Box CPU Fix | A WordPress Site
Pingback from Crawled properties missing for Business Data source | DL-UAT
I have code as below:
var postedOn = $getItemValue(ctx, "PublishedDate"); now Postedon Variable show descrpency if we change timezone from computer clock. How can we show correct stored date in others timezone .
Pingback from Virtual Box CPU Fix | Catapult Systems
Is ther eany way to update this through shrepoint designer workflow?
I was wondering if you have an example of a SP Hosted WebPart making a REST call to a non-SP service? I tried called out to a Yammer API and I run into to cross-domain issues.
$.ajax(
url: "api.yammer.com/.../groups.json",
headers: {
"Access-Control-Allow-Origin": "https://nike-ff0417b4a36984.sharepoint.com",
"Authorization": "Bearer *******"
},
dataType: "jsonp",
success: successHandler,
error: errorHandler
})
Useful.
This helped me to fix the issue occurring in word document generation from a ready-made application for which I did not have source to get into the debugging.
Simple setting, but great impact.
@Ken since it is cross domain you will need to make use of the RequestExecutor to send your request to Yammer.
Thank you for the great tutorial! The default values are getting assigned to the documents in the folder, or at least you can see the default values set under "Default Column Value Settings".
However if you upload a new document via Drag&Drop or "Upload a document" then the managed metadata fields remain empty/unfilled. It turns out, that these default values need to be kind of "confirmed" in the UI - so you should choose the default value setting and click "OK", which is not so optimal and makes the automatic approach useless. Would you probably have a solution for this incorrect behavior?
Thanks, this information is greatly appreciated.
This works too:
doc.ActiveWindow.View.ReadingLayout = False
@Rohit unfortunately not.
however i cant open facebook because of websense is thier any way to solve this problem.
As we near the end of Ignite, day 4 was still filled with some great technical sessions. I’ll give you a rundown of everything from SQL High Availability, best practices for branding and page design in SharePoint Online to scaling SharePoint 2013 search
Pingback from Enable Custom Actions in every Document Library (SharePoint 2013) | DL-UAT
What about child terms and synonyms?
Also, are there any permissions adjustments that need to occur if this is not a SharePoint Hosted App, but rather a regular SharePoint page (i.e. using JSOM to create a custom responsive SP Form). I don't see where Read permissions can be set.
Thank you very much for this article. Helped me!
How do you drag and drop email attachments ?
Can i get AD profile properties using delve and graph without involving user profile and without mentioning source id and people properties via Search REST API? If yes how? coz i heard there will be no more user profiles in future and i have to display profile/properties for the users.
@M I don't think so. It's still ultimately based on search.
@Kelly if I remember right, if you call GetAllTerms instead of GetTerms (or their JavaScript equivalent), all terms will be returned instead of just the current siblings. Synonyms are a different story. I'd have to think on that.
Thanks Roth! that's what I thought.
Thank you sooo much! great you identified the specific init.js file too... Saved me a lot of hours with this
Roth!
In search result web part we can dynamically change the Result Source (e.g. www.eliostruyf.com/dynamically-changing-result-source-sharepoint-2013-search-center). Is there any way we can apply a different display template on the basis of the some criteria dynamically using JavaScript.
Una de las últimas novedades incorporadas por Microsoft a los Grupos de Office 365 es la disponibilidad
Pingback from Enabling Expertise Search & User Profile Replication | KarthicMohan's Blog
Any one know how can i enable these headers under my on premise enviroment its urgent
Pingback from ???????? » Search Results Web Part Sharepoint 2010
Pingback from ???????? » Search Results Web Part
Pingback from ???????? » Search Results Web Part Office 365
Pingback from ???????? » Search Results Web Part Change Query
Thank you so much! It worked for me
We can also select 'Any CPU'
Roth,
What is the advantage of a search center. why use a search center? what are the features of that are activated in this template.
What if we activate those feature in a normal site. I am actually trying to find what are the benefits of using search center.
and when search center is in place, it does not allow to use "This Site" contextual search and every site/site collection.
Hi, Its a nice article, but have a query. The groups which are shown in your first example are getting trimmed down and we can just see "...", is there any way --
a) To get all the group names in detail for each user
b) how to Exclude default groups
@Corey : Very Nice & helpful Post
I am facing issue
'Line 5'{Firstname}:'FName'
I have to display Firstname as column header
in your case I am getting FName as Columnheader
this is very useful, but the item count (ctx.ClientControl.get_numberOfItems();) seems to be shared across multiple controls on a page.
I am adding more than one CSWP on a page and the counter shows the last CSWP's item count :s
Pingback from SharePoint-Suche: Integration von File Shares aufgepeppt - Communardo Techblog
I have created a Azure web jobs to provision the site collection remotely. I have registered the app in SPO with Tenant, Taxonomy, Site Collection & Site with Full control privilege. My Azure job is creating the site collection successfully but am unable to create a Term in Term store. I am getting an error - "Access denied. you don't have permission to access or read this resource" :(
I am using Term store for Custom Global Navigation for across site collections.
Can you please help me on this?I have created a Azure web jobs to provision the site collection remotely. I have registered the app in SPO with Tenant, Taxonomy, Site Collection & Site with Full control privilege. My Azure job is creating the site collection successfully but am unable to create a Term in Term store. I am getting an error - "Access denied. you don't have permission to access or read this resource" :(
Can you please help me on this?
This won't work in newer/proper Websense installations that do SSL inspection. The SSL connection will be decrypted at the Websense box, inspected (does it need blocked?), and re-encrypted to the end-user's browser. Your article shows a lot of ignorance. The reason HTTPS traffic gets through any web security product is simply because said web security product is not inspecting SSL traffic, meaning it is unable to decrypt the SSL connection to "see inside". This is caused by either the specific product not supporting it, or the product simply being implemented in such a way that SSL inspection does not work. In some Websense installations, SSL inspection doesn't work just due to the way it is implemented (for example, using websense redirect in Juniper firewalls).
@Jason Well this post is 4 years old now. I find that this technique really doesn't work any more. However it used to work a lot. I think the point is that the product was often misconfigured to not inspect SSL traffic and therefore the site was not blocked.
Yeah, just noticed the date after the fact. Pretty sure Websense could do it back then even, but it wasn't as big of a deal as it is now as more sites are moving strictly to SSL (Facebook, Google, Youtube, etc)
6 years after post and u still saving lifes!! Thank u so much!!
Pingback from Using R to connect to a sharepoint list - DexPage
Pingback from Sharepoint Caml - DexPage
I need the Chart web part app to upload on the site, where do I get that??
Pingback from Installation und Konfiguration | wiki.smarterbusiness.eu
I've been trying to do this for days and I have very little support from IT.
Can I use visual studio to turn this into a workflow activity? Do you know a good tutorial on how to add C# snippets like this to workflows? Can I then add that activity to SPD actions?
I'm seriously dying here. I should not be in charge of this project, but I am.
Pingback from SharePoint 2013 JavaScript Search files classes reference - Refinement Web Part classes in detail - Jos?? Quinto
I am using keyword query to get community sites using querytext as "WebTemplate:Community Path:/Communities/" where communities is the site collection URL.
If I use the same query in content by search web part, I get all the result and which is higher than number I get when I execute query programatically. I am using same account to see the results so it should not be related to permissions. Also I have site collection admin permission.
Is there anything I am mising?
Pingback from VSeWSS – Please wait while the installer finishes determining your disk space requirements
Pingback from App Store Json Api - Segala informasi ada disini
Thanks for a great video & this help guide, very very interesting. I have tried to deploy in my environment, followed all the above step by step but keep getting the ubiquitous "Sorry, something went wrong" message :/
The error is:
Unable to get property 'push' of undefined or null reference (CoreRender: ~sitecollection/_catalogs/masterpage/Display Templates/Content Web Parts/
Any ideas what I've missed?
T.i,a
Jonathan
I have added me crawl account to me web app with full read access and added the sites to the crawl rules but my crawl still keeps failing and the crawl log "Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled" where else do i need to add permissions?
Pingback from App Store Api - Segala informasi ada disini
@Sushrut my guess is that you are querying a different result source when using the API. Make sure you specify the same result source and don't just assume it's the same.
When we built dotnetmafia.com, we used one of the most common blog engines around Community Server by
Pingback from How To Build And Deploy Web Part Sharepoint 2007 | Adsense
Pingback from How To Deploy Sharepoint Web Parts | Adsense
Pingback from Example | wiki.smarterbusiness.eu
Pingback from App Store Api - Semua Informasi
Pingback from App Store Api - Bukalah
Hi - Is there anyway to bring back the Best Bets after you have activated/deactivated the wildcard search?
Pingback from App Store Api - Informasi
@kyle afraid not! Time to upgrade!
Many thanks!
Great write up Corey! Looking to bring Delve to our office... Do you know how I can delete board names with nothing in them?
Thanks alot! helped me out tons
As is, your code works great on my 365 SharePoint site. However, in testing the other REST APIs, I changed the query to return items from just a list like so:
var queryUrl = spAppWebUrl + "/_api/web/lists/getbytitle('Movies')/Items";
This gives me a NOT FOUND status text message even though I changed the permissions in the AppManifest file (List = Full Control, Web = Full Control)
Is there something else I need to do to retrieve all the List Items?
You can't delete boards right now unfortunately. :(
Pingback from SharePoint 2016 Preview Released ??? A First Look at Branding - Eric Overfield
Pingback from App Store Rest Api | FACEBE.Info
Pingback from SharePoint & Office 365: Recopilatorio de enlaces interesantes (I)! | Pasi??n por la tecnolog??a...
Pingback from SharePoint & Office 365: Compilation of interesting links (XIX)! | Pasi??n por la tecnolog??a...
Con SharePoint 2016 recién salido del horno, es momento de resetear mis clásicos recopilatorios de enlaces
Pingback from Projekt SharePoint 2016 IT Preview - SharePoint Moshpit
Pingback from Sharxx Icons f??r F??lligkeiten | wiki.smarterbusiness.eu
Pingback from SharePoint 2013 Hot Links and References | Robin G??ldenpfennig
Pingback from Windows App Store Api | FACEBE.Info
Pingback from Sharepoint: Search Query to get People Directory using Rest API | xencode
Pingback from Windows Store App Win32 Api | FACEBE.Info
Pingback from How To Setup A Blog - AGC Mania | AGC Mania
Cory, I installed Windows 10 and finally had to uninstall it. I have a Surface Pro 3 running 8.1 and I usually have the display scaled at 200%. I find it near impossible to read the text at 100%. My external monitor is a 20" 720p Sony and when my SP3 is docked I select a text size of 100%. It's a pain switching back and forth but it works in 8.1.
When I tried to run Win 10 I could specify the larger size on the SP3 display but the external monitor kept coming out way too large and it said the size of text, etc was 100% - it wouldn't let me go smaller.
I also had problems like a second cursor appearing, my MS Store games stopped running and very long boot times. Returning to 8.1 wasn't as easy as was claimed but it's better than running 10.
Is there something I missed with the display issues?
Pingback from Links utiles Search Sharepoint | Viejo Programmer
please , iwant to display text item in blogg site using diplay template in SharePoint desigener 2013 but they came with HTML elemnt so how can i delet it (HTML elemnt <p><div class>)?
Text is : <div class="ExternalClass5391BFE82C6C421EAE49E1F8D0FABA77"><p>Hej alla i projektteamet Nadella. Nu pågår sprint 1 för fullt och vi sitter i skolan och jobbar. Content Search Web Part och Excel Web Access Web Part går det att förena dessa.? Vi får se.</p></div>
@byron I haven't tried it with a monitor with a resolution that low before. MS has not quite got the display scaling stuff perfect in Windows 10 but things are getting better. A 1080p monitor displays most things ok. From the issues you describe, it sounds like you are having issues with video drivers (plenty of people are). The next time you give it a try, you may have better luck because there are likely to be new drivers. This may include you going directly to the manufacturer to get the latest.
Working for me! thanks a lot!
I notice you're installing to a developer site. Can PowerShell only be used to manage apps on sites with "sideloading" enabled?
It looks like you assign a host to your host web. Doesn't this mean that you have to add the host from each HNSC to the web app as well?
I'm just wondering the pros/cons of having no host assigned to the web app. Basically just using the server name.
Thanks for the tip, my MSW settings automatically had this read mode on. I had to change to edit mode every time I opened certain documents.
@Dennis SharePoint will usually take care of adding the host header to the web application. Sometime it doesn't though so if you are experiencing issues. You want to check that. HNSC just gives you more flexibility in what you name things.
@Mike I think the parameter for your -HostHeaderWebApplication is supposed to be spserver.company.com if I remember right.
Hi. Thanks for the post. I am successfully using "Local People Results" source ID on one of my environments. I'm trying to use the same code on another identical environment without success, no results are returned. Have I forgot to set something up? Thanks.
Could please provide any scripts for styling pages on sharepoint online and how to customize sharepoint search
Naresh
Good Post !:)
What is meant by viewers? is that viewers group or permission level?
is this applicable to Read permission?
Great write-up !
I have bookmarked this article into my list.
Previously to accomplish the similar job, I had used Lepide SharePoint Document migrator tool to prevent the interruption and get my job done in more secure way. However, I would like to go through this informative resource to gather more information in future prospective.
Hi Corey - All the powershell commands in this blog applies to On-premise SharePoint APP installation i believe. How can we Register/Install App in a SharePoint Online site ?
I am doing a project for a comapny's FAQ site. And I used this content search display template to show most accessed FAQ items.
Besides title and date, they also want to display the access ranking 1~10 number in front of each line. But I know the number is not a managed property. How should as another column for numbers?
thanks in advance
while installing sharepoint 2016 I'm getting an error office.search.dll in failed to intsall and you don't have sufficeint permissions to access/install the office.search.dll.
Can please give the soultion for this.
Thanks in Advance.
How to do wildcard search in Infopath form 2013
Can you let me know how we can download the files? My requirement is to download all the attachments from the list. Send sample code if you have.
Pingback from Extraction (2013) - newgamesandmovies.com
Pingback from Exporting a SharePoint Group to Excel without PowerShell - Concurrency, Inc.
I was trying out your above code with our SharePoint 2013 on premise installation but got this error message instead: HTTPS security is compromised by .../_layouts/15/SP.Runtime.js?_=1446544633923. and the download of the script was aborted, do you have any idea why?
Thank you Thank you Thank you!!!
I've been trying for weeks to fix this! Thank you!
I have followed your approach and i am able to have the docset items created successfully. though i am facing one issue related to the folder creation.
after creating folder programmatically in to the docset item, if i click on the folder it throws me an error.
have you faced such scenario before ?
your input will be much appreciated.
b
Thank you!!!
thanks - worked
How to download your created custom templates?
Hi Corey, great article can you give some idea on how to add multiple managed properties and not just the one (I would be looking at adding 6 separate items as a minimum)?
Pingback from Forms created in Word
hi Corey.
thanks for sharing knowledge.
i tried this code :
is not working....m doing this on Page layout...can you suggest?
showing error:
"search request was unable to connect with search services"
i am working on dev server
Pingback from SharePoint & Office 365: Recopilatorio de enlaces interesantes (IV)! | Pasi??n por la tecnolog??a...
Estrenamos nuevo mes en el blog y toca compartir con todos vosotros la 4ª Edición del recopilatorio
Every month I use to share all the interesting links and resources I have found about the SharePoint
I have crawled one network folder with the read only permission as set by you on sp2013, crawled successfully, but results are available to all users irrespective of permisisons
Hi Corey - I have a similar situation as a previous commenter who wrote "Thanks for the article.I have a site with some documents which are not tagged and i am using Custom entity extractor i.e Location.csv.I have created managed metadata column "Location" so that the users can tag the new documents with metada.Issue is if I use both the refiners then the values for refiners are repeating which is causing confusion .How should I use both the refiners for same set of metadata?" but I don't see a response addressing it.
Do you know if this is possible and if so, how it should be configured?
I'm new to SharePoint. I've tried leveraging Srch.U object but get a reference error that Srch is undefined. How do I create the reference for the object in the page layout?
@Colin I'm not sure if it will work but you would have to use the same managed property for both the entity extraction and the column your managed metadata column is mapped too.
This means your crawl account has too many permissions. It should be just read only. Double check and use the permissions checker to verify. If this account functions as an admin account, security trimming will not work.
Have you encountered an issue where ctx.CurrentItem does not exist within another function? See example below.
//This works because CurrentItem is a valid object.
ctx.CurrentItem.Path = "Something";
url: restURL,
dataType: 'json',
method: "GET",
headers: { "Accept": "application/json; odata=verbose" }
//This does not work, because ctx.CurrentItem is null.
});
And when I try setting ctx.CurrentItem to another variable outside the scope, it will let me access the values but changes made to them do not persist outside the immediate 'success' function.
What this means is that if I need data from a REST query as content to any of my ctx.CurrentItem property updates, I can no longer use the ctx.RenderBody(ctx) call and will have to manually create the DOM elements by-hand within the display template. Not a huge deal, except I will miss out on handy functionality like Hit Highlighting and Best Bets.
Am getting getting error after entering the url of the workbook for the excel services url in the text box proivded.
I dont have access to central admin, and having access till site collec.admin only.
unfortunately , i cant see uls logs with the correlation id.
is there any other things, i need to mention in the central admin's excel services section/page?
Great post! Solved the issue
Pingback from Office 365???monthly Dev Digest for December | nokipedia.com
So what can be a proper way to go around a newer Websense that does SSL inspection? Or is there no way at all?
i got error in result when read data
Pingback from Office 365???monthly Dev Digest for December | Alt-Tech
Use (shift + Enter) for single space.
Mostly Enter starts adding double space whenever some text is copied and pasted from notepad/textpad
Pingback from Episode 074 on Microsoft Graph with Yina Arenas???Office 365 Developer Podcast | Com-Tech of Miami, Inc.
Pingback from Exporting SharePoint Group Members to Excel Without PowerShell | Drew Madelung
Pingback from Sharepoint Support Model |
Pingback from Office 365???monthly Dev Digest for December – Systems32
Pingback from Sharepoint 2010 Gantt |
Pingback from SharePoint Online: Usando el MO en Cliente de búsquedas desde una aplicación creada con NAPA! – Blog del CIIN
Very helpful! Thank you.
Pingback from Newsletter – Episode 53 – Belarus SharePoint Community Blog
Pingback from How to: Query Search using the Web Service – itramblings
Pingback from How to I setup search on SharePoint Farm A to use the query server on Farm B? [ANSWERED] - Tech ABC to XYZ
Pingback from Learning SharePoint – Part I | Colby Africa
Pingback from Sharepoint Backup Solutions |
Pingback from Search Display Templates and JavaScript – SharePain
Thank you so much! I looked all over "Options" and didn't see it even though it was waving a flag at me.
Pingback from Sharepoint 2010 Consultant | smallbusinesstelephonesystemsvoip.com
Pingback from Search Center | List of site and site collections | SharePoint 2010 | Trailblazer's Sharepoint Blog
Pingback from SharePoint 2013 Nuggets of the weeks 1 & 2 | Ragnar Heil: Office 365 Nuggets
Pingback from Extend the Search Box web part in SharePoint 2010 | Steven Nicolaou
I have the box unchecked. I set the registry. Word still opens email attachments in reading pane view. I'd like to stab the person who ever thought this was a better way to view things by default.
Pingback from Sharepoint Solutions |
Go to VIEW (top of the screen). A drop down list appears. Then choose EDIT. DONE !
Heleluh!!!! hate that stupid reading mode!
if u have word 2016 you get out by clicking view and then it will show a bunch of different choices, but click edit and you will get out of reading mode.
THANK YOU!
Four years later ... THANKS!
Pingback from Are SharePoint Road Maps Necessary?; Microsoft Mobile Priorities; How Will Windows 8 Evolve? – Bamboo Solutions
Pingback from Increasing SharePoint Productivity; Office 2013 Sentenced to Death; Is the Windows Ecosystem Still Relevant? – Bamboo Solutions
Pingback from Preparing for SharePoint 2013; Cloud Collaboration, Social & Docs; Make the Switch to Office 365 – Bamboo Solutions
Pingback from Collaboration Hampered by Governance; Microsoft’s Mobile Strategy was a Mistake; Waiting for Windows 9 – Bamboo Solutions
Pingback from When SharePoint Governance Lacks Accountability; Business Isn’t Happy with SharePoint; Design Over Usability – Bamboo Solutions
Pingback from SharePoint 2013 Crystal Ball; Ways to Have Conversations in SharePoint 2013; Windows Phone 8 is a Good Choice – Bamboo Solutions
Pingback from SharePoint Upgrade Problems; Committing To The Cloud; Ballmer Crashes CES – Bamboo Solutions
Pingback from SharePoint Internet Sites; Skipping Office 2013; Microsoft in 2013 Predictions – Bamboo Solutions
Pingback from What Should You Do With SharePoint 2013?; Kinds of Apps IT Hates; Begun, the Tablet War Has – Bamboo Solutions
Pingback from Turn SharePoint into a Social Intranet; Office 365 Development; Windows Phone 8 a Developer Opportunity – Bamboo Solutions
Pingback from SharePoint Governance Needed; Office 2013 Integrates with iOS, Android; Xbox is Microsoft’s Future – Bamboo Solutions
Pingback from SharePoint Upgrade Headache; Transitioning to Cloud Computing; Microsoft Building 3 Million Surface Tablets – Bamboo Solutions
Pingback from Build a SharePoint 2013 Web Part; Outlook.com: Fighting for the Workplace; Free Microsoft eBooks – Bamboo Solutions
Pingback from Business Critical SharePoint; Devs Lose Interest in Windows Phone; Is Office 2013 Ready for Government? – Bamboo Solutions
Pingback from You Don’t Want SharePoint; Office 365 for US Government Released; Windows 8 Preview Ships Today – Bamboo Solutions
Pingback from Whose SharePoint is It?; Microsoft vs. Google: Social; Windows 8 Boots ‘Too Quickly’ – Bamboo Solutions
Pingback from What To Expect in SharePoint 15; Mobile Collaboration Thoughts; Windows 8 vs. OS Annoyances – Bamboo Solutions
Pingback from Hybrid SharePoint Governance; CIO’s Love File Sharing; Computers Just Big Smartphones? – Bamboo Solutions
Pingback from Best SharePoint Sites of 2011; The Cloud Over Microsoft; SkyDrive for OS X Client? – Bamboo Solutions
Pingback from The SharePoint Elements of User Experience; Office 365 Security; Google Tracking Safari Users? – Bamboo Solutions
Pingback from SharePoint Information Architecture; ARM Will Run Office 15; Microsoft Ruins Valentine’s Day – Bamboo Solutions
Pingback from SharePoint Predictions For 2012; Getting Started with SharePoint; Windows 8 Tablets Bad for Productivity? – Bamboo Solutions
Pingback from Office 15 Technical Preview Available; Business Case For SharePoint; Microsoft Fights Phishing – Bamboo Solutions
Pingback from Do SharePoint Right; SOPA vs. ECM; Vote Via the Cloud – Bamboo Solutions
Pingback from SharePoint Implementation Checklist; The Year Of Social Business; Collaboration: What’s Next? – Bamboo Solutions
Pingback from Selling SharePoint 2010 to Your Enterprise; TechNet Content on Amazon; Windows 8 in October? – Bamboo Solutions
Pingback from Using SharePoint to Build Your Website; IE6: You’re Doing It Wrong; Important Microsoft Product Lines – Bamboo Solutions
Pingback from Measuring the Success of Your SharePoint Implementation; Should Gates Return to Microsoft?; Save 10% on Bamboo Suites – Bamboo Solutions
Pingback from IT Trends that Could Affect SharePoint; Microsoft Discovers Openness; Special Discount for O’Reilly Training Courses – Bamboo Solutions
Pingback from The SharePoint Social Landscape; Not All Clouds Are Created Equal; 2012 Tech Predictions – Bamboo Solutions
Pingback from All Microsoft Products Lead to the Cloud; Silverlight Exit Strategy; Spellcheck in IE10 – Bamboo Solutions
Pingback from SharePoint Records Governance Plan; Cloud Computing can Transform Business; Microsoft Closes $8.5 Billion Skype Deal – Bamboo Solutions
Pingback from SharePoint Thought Leaders in Social Business; The Good and Bad of Windows 8; Can Windows Phone 7.5 Compete? – Bamboo Solutions
Pingback from SharePoint and the GRC Challenge; Windows 7 — The End of Big Migrations; Microsoft????????s Biggest Mobile Success: Android – Bamboo Solutions
Pingback from Microsoft 4Q Earnings Reports; New Bing UI on the Way; Gaming in the Cloud – Bamboo Solutions
Pingback from Enterprise App Stores on the Way?; Windows 8 in 2012; What????????s Next For Microsoft? – Bamboo Solutions
Pingback from Tech-Ed: Day 1; Microsoft is Winning… and Losing; Microsoft Buying Nokia? – Bamboo Solutions
Pingback from Enterprise App Stores on the Way?; Windows 8 in 2012; What???s Next For Microsoft? – Bamboo Solutions
Pingback from SharePoint and the GRC Challenge; Windows 7 — The End of Big Migrations; Microsoft???s Biggest Mobile Success: Android – Bamboo Solutions
Pingback from Preparing for SharePoint 2013; Cloud Collaboration, Social & Docs; Make the Switch to Office 365 – Bamboo Solutions
Thanks a lot!!!
I can't believe I waited this long to decide to change it. Thank you so much! D
Thank you very very much,
Finally I got rid of reading view:)
Thanks Corey, saved me some time. If only there was a way to stop Microsoft from being 'helpful' ;-)
That is exactly what I was looking for... Thanks a lot!
How to deploy the pages in subsite pages folder?
Thanks soooooo much for this. I did look for this in the options, and even though it was right there I did not notice it. After reading this post I could not believe I had missed it before. Again, Thanks!!
For Sharepoint Online
<script type="text/javascript">
// This code runs when the DOM is ready and creates a context object which is needed to use the SharePoint object model
$(document).ready(function () {
ExecuteOrDelayUntilScriptLoaded(MyFunction, "sp.js");
function MyFunction(){
var context = SP.ClientContext.get_current();
$("#searchButton").click(function () {
var queryUrl = "company.sharepoint.com/.../query'" + $("#searchTextBox").val() + "'";
$.ajax({ url: queryUrl, method: "GET", headers: { "Accept": "application/json; odata=verbose" }, success: onQuerySuccess, error: onQueryError });
function onQuerySuccess(data) {
$("#resultsDiv").empty()
var results = data.d.query.PrimaryQueryResult.RelevantResults.Table.Rows.results;
$("#resultsDiv").append('<table>');
$.each(results, function () {
$("#resultsDiv").append('<tr>');
$.each(this.Cells.results, function () {
$("#resultsDiv").append('<td>' + this.Value + '</td>');
$("#resultsDiv").append('</tr>');
$("#resultsDiv").append('</table>');
function onQueryError(error) {
$("#resultsDiv").append(error.statusText)
//function to get a parameter value by a specific key
function getQueryStringParameter(urlParameterKey) {
var params = document.URL.split('?')[1].split('&');
var strParams = '';
for (var i = 0; i < params.length; i = i + 1) {
var singleParam = params[i].split('=');
if (singleParam[0] == urlParameterKey)
return decodeURIComponent(singleParam[1]);
</script>
<label for="searchTextBox">Search: </label>
<input id="searchTextBox" type="text" />
<input id="searchButton" type="button" value="Search" />
<div id="resultsDiv">
hey in your ignite video you also showed the same for office 365 can you share powershell on how you did that?
AFAIK, you mentioned using search REST API to read the item, to update the properties and update the source item back with the enriched data?
Excellent, thanks!
Hello I am getting an error whith the updating function. It says "the provided app differs from another app with the same version and product id" for the Import-Part in the Updateing solution because the app is already installed. Can you assist here?
How can I do the same on a user context. I can see that there is a property keywordQuery.PersonalizationData which can get me the same. But I am not sure how to use that. Can someone guide me?
I am Getting Below Error -
$(...).dataTable is not a function (OnPostRender: )
Do you have any idea what i have missed?
Thanks Corey for sharing the informative post. I have performed these queries. I can see my popular results.
It can be used um a Farm Solution Web Part?
I trying but getting errors, look stackoverflow.com/.../how-to-call-sharepoint-2013-api-by-javascript-in-full-trust-solutions
Even if there is not much to say about the difference you just saved me time for figuring this out on my own!
But you must know, Sharepoint (2007, 2010, 2013 & even 2016) is limited only to 20 managed path per site collection. You will get stuck after provisioning 20 managed path site collection. If your requirement is not so vast, you can surely go with this great post. Thanks CoreyRoth for this post.
I have a site with hundreds of docsets in a library. How do we search all of them and return the docset rather than the file inside?
I want some help in the post method. I want to insert list items with attachments. Can you help me with this ?
Also, from the googling i found out that Sp.JS is very helpful in this manner but i want to insert the data from my ionic application which is not hosted inside the sharepoint.
p.s. : without attachment i am able to send the data and insert the list.
can i get the all sub sites for the current logged in user ?using this serach api ? pls help
Thanks a lot, I was just about to go through that whole rigmarole. You've saved me time.
Such a small post but so useful.
Thank you for the post
Note that you can also get the attachments list in your call for other columns of data from your list items using:
/_api/web/lists/getbytitle('Credit Notes')/items?$select=Title,AttachmentFiles&$expand=AttachmentFiles
This will return an array of attachment objects which look like this:
"FileName": "filename.gif",
"FileNameAsPath": {
"DecodedUrl": "filename.gif"
"ServerRelativePath": {
"DecodedUrl": "/path/to/list/Lists/listName/Attachments/14691/filename.gif"
"ServerRelativeUrl": "/path/to/list/Lists/listName/Attachments/14691/filename.gif"
This may not have been around when you wrote this, of course!
And if you want to do that but in crawl?
Not crawl this folder because you have to much of them.
I want to avoid crawl folders but include documents in this folders.
Even though, you set a site collection level, such as http://spportal/site/custSite(subsite) the result returns from entire web application which matches the QueryText. Any idea how to return result only from specific site collection I mentioned in the scope such as
using(SPSite custosite = SPSite("http://spportal/site/custSite")
It returns from several other sites such as custSite2, xxSite under SPPortal. Please assist tuning query to return result only from specific subsite.
Thank you it really helped :)
This is good news! I do think that SharePoint and Office 365 work best together. Looking forward to your success!
Hello how do you add users to the Office 365 group in bulk off a csv or txt?
thank You !
Fix found for this, you have assigned more processors than it can handle change the setting > system > Processor , this show below Red. after changing it to below red mark it works fine.
You're a life altering genius!
Hi and thanks. I'm new to Ionic, I followed all the steps and also checked on other sites, but I still cannot debug code in VS Code. I can launch iOS simulator and run the sample app but all my breakpoints are ignored.
thanks alot, it worked smoothly for sharepoint groups as well, just use ;;;;{0} instead.
Hello Core,
We need to create Query Rule at site level using CSOM to Sharepoint Online. Is it possible to do that?
Thank you very much! The extra clicks every time I opened an attachment were really driving me crazy.
How would I "request permission to access search" in a farm Solution Visual Web part when Visual Web parts don't have AppManifest.xml files?
That's great stuff. But how do you now all of this? I'm looking for documentation and your blog post seems to be the only information in the entire internet about that stuff.
I'm looking for some guidance in determining/ troubleshooting why search would return multiple hits of the same user. Has anyone encounter this, what are your thoughts? We are not talking about 2 users with the same name for example but rather having a known single user A and a search is done and more than one user A is returned. Thanks in advance.
Hi Corey, Just wondered if this is now possible on SP online? its been a few years since your post and I still need this functionality on SP online 365. Any ideas?
How would I then resolve
<d:CreatedByID m:type="Edm.Int32">1</d:CreatedByID>
to an actual user name of who created the item?
Using SharePoint online (Office 365)
Well done - this gave me some added functionality to the standard wake up script; hitting search for each site collection really speeds the system up.
Two VMs, one fast, the other slow. Disabled Nested Paging on the slow. Now it's fast! Indeed, Mr. Roth, EdwardW was a genius! Strange thing is that the default setting is still an issue seven years later! FYI, I am using 4.3.36_Debian.
thanks for the awesome tip!
Works great under Word 2016!
I ran this script but it returns the site in where the script run, not the site of the document.
for example if you have a document URL:
mysharepoint.com/.../myDocument.docx
and run the script in
mysharepoint.com/.../mySubSite2
the ajax function return:
very good
thank you.
:)
I am using private site on sharepoint, and I want search result from my private site, I am giving comlete url of my site in clientcontext.
When I try to search, it searches in public sites and gives me the result.
How can I get result from my private site?
Samadhan
Thank you for this beautiful blog, I am new in multi lingual site and I think you can help me in one of my Issue.
I have a site which is set in French language and in a page it has refinement filters.
In the filter there is a link "SHOW MORE" and "SHOW FEWER" which is in English language, can you please guide me ,how can I change this text in their respective language which is French in my case.
Bless you! It worked!
Thank you. Useful advice even today.
I originally got 'Protected Mode' and 'Reading Mode' confused.
If I deploy the change through the apps, will it deploy to all the site? can I specific which site to deploy for testing?
In our case, when we click See all under trending tags, no search results are populated. But if we removed NOT in front of the search query, all the newsfeed/conversation related to a search term (#something) return to search result. Is there anything we can do to customize the search query?
Annie
I select 'all operations', while creating content type, But when I create list, I can add, view & delete the list data. But Update (edit) form missing in the list. I try to create manually, but no luck.
Can you guide me how to get the Edit Form by default or any other way.
I'm using SharePoint 2010 Foundation with Windows 7 & Server 2008 OS.
Thanks Corey Roth!
The unlocalized include of strings.js was the only working solution.
SharePoint 2013 in monitoring health rules
also the only place it occurs
but dont know why this occurred all of a sudden....
Hey, Thanks for such a nice explanation. Can you please tell me the command to find out if the feature is activated from before or not?
One more thing, what shall I do if I have to activate the same feature for all the subsites under one site?
Thank you so much!!!
Thanks for this blog.
I also ran into same problem.
In IE I am able to select user in People picker but text box remain empty.
In Chrome no issues, it works fine.
Confusing thing is, for me this issue is only happening on Staging server not on my Dev machine.
I have tried your solution, but didn't work for me.
Please let me know if you have any other work around.
Works Great in VS2013!
Thanks for the information. That was helpful. I have a basic question. I’m going to create a simple application for a company that should be an out of the box solution. There will be several lists, pages to present lists and views. Workflows for alerts and document approval will a key element. It’s a new Enterprise E3 tenant and I intend to create a new collection specific to this solution.
If I use a development site collection, what is the best (and simplest) way to deploy that to the testing and or production environment for the initial go live and for added features and changes in the future?
Any help or direction you can give would be much appreciated.
—Thanks!
What do you mean by feature X? I never heard this term before in content migration
Do boards affect search? E.g. do they show up as refiners?
Another approach without writing managed code is clicking on the name of your result source and copying it from the url...
Then you can create an array in your JS code with the names and ids...
I think it would take less time compared to managed code approach.
Thank you. it helped me
Very nice. Just one question as I am also in the process of selecting right custom form strategy .
Qn : If we want to hide and show fields on the form as per the logged in user present in SharePoint group.
If you have any idea on this then please share your opinion.
I came, saw and conquered the word-view-problem!!!! (Because of you. Thanks a lot man.)
Thanks for your Post! super helpful. I've followed it with success I can see the new theme in Powershell. My only issue is; I can't see the theme populated within sharepoint yet. You suggest "refresh sharepoint"? am I missing a step?
I just want to point out to anyone who finds this article later, that the updated tool now migrates list items as well.
docs.microsoft.com/.../introducing-the-sharepoint-migration-tool