Default fields available in a Search Server web content source? - sharepoint

I'm using the search web service on a Search Server 2008 Express install in a web application.
I have created the content source and scope and can successfully query the web service if I specify the fields I wish to return.
What I cannot find out is what fields are available to me, if I modify the query to "SELECT * ..." then I get an error that my query is malformed.
Can anyone tell me what fields are available by default for a web based search source?
Thanks,
Nick

There are some good tools available to help you debug this, here are some suggestion:
My SearchCoder will help you right SQL Correctly
The Search Service tool helps you with the Web Services
There are some .NET helpers on MSDN here Helper Classes for the SharePoint Server 2007 Search Query Web Service Built Using the Microsoft .NET Framework
And the Search Community Toolkit on CodePlex. They should all get you moving.

Related

SharePoint 2013 Dynamic Data on all pages

If I have a requirement of displaying the a content on all the pages inside a header, Whats the best way to do that in an SharePoint 2013?
I am working on a master page that will be using the design manager and there is possibility of using the same master page in the SharePoint online too. The reason why I want to know what is the best way, when I use this same master page in SharePoint online I would like avoid redoing that entire coding for getting a dynamic data from the web service.
Several ways that I have been planning is below
- User control method
- Web part method, but requires server side coding which I doubt can used in online version
This is a complete dynamic data that will be retrieved by a web service and no internal SharePoint data be used.
Thanks for reading
Deepak
If its possible to consume web-service using jQuery/Ajax call you can go with that
Or else if you want to use c#, might need to go with provider hosted app feature (sharepoint 2013)
You can create a Visual Web Part for SharePoint 2013 Online.
Your web part will be contained in a Sandbox Solution which you will develop locally. Once development is complete you will upload the Solution Package created by Visual Studio to SharePoint Online.
https://sharepoint.stackexchange.com/questions/80164/create-visual-webpart-for-sharepoint-online
http://sharepoint-community.net/profiles/blogs/sharepoint-online-2013-web-part-deployment

What is the suggested approach to build custom UI views by querying web services in Dynamis CRM 2013?

This could have been already discussed but in context of Dynamics CRM 2013, I am wondering what is the recommended and easiest approach (mine is a on-premise deployment) :
Problem :
May be a known pain point with 2013 - Users want to see 'All Activities' of a Company and related Contacts, Child Companies but
excluding few activities (like campaign emails).
Solution :
Thinking to create a custom form or a web resource which can use CRM web services to query for this data and make it part of the Company form.
Question is :
What is an easy way to do a custom page where I can use CRM web
services to query for all activities data and filter campaign
emails and display it like a grid ? I see two options :
Develop a separate aspx web application(using SDK binaries as references and crm web services) and host that outside of CRM (in IIS) and
use that url in an IFrame within company form.
Develop this as a html webresource (with a grid) and somehow make crm web services call from java script and display as a web resource (If so, is this
easy in CRM 2013, since web api is only present in 2016 ?)
Or something else ? (like a SSRS report may be but I think it will
be too slow)
Many thanks for your advise on this.
Thank you.
I work for an organization where most of the times requirements is like yours, so i have already done a separate aspx web application like your option 1.
Following are the few things to keep in mind:
If you go with Option 1 and develop a custom aspx web application and host it in IIS, it will be alot easier to maintain in future and easy to customize based on new requirements. If you have any new requirements like this in future, it will be easy to add a new aspx WebForm to the existing site and refer that new url. You can have common classes for Connection and authentication stuff in your web-application, which is almost re-usable.
I have used the same approach as described here: Best Practices for Working with Custom ASP.NET Pages and Microsoft Dynamics CRM 2011
In case of Option 2, i have tried this once but it is a bit more complex than the Option 1 because it involves more JavaScript code than C#. It is difficult to maintain although will be a bit-fast than the Custom Web App, but not re-usable code in case new requirements. Also Queries in C# (QueryExpression) is way more easy to write than writing Odata Queries in JavaScript.
Thanks.

Microsoft Search server without SharePoint

I am trying to make a kind of 'faceted search' in ASP.NET and am looking for good ways to filter data. That's why I have the following question:
Is it possible to use FAST search on a SQL database using Microsoft Search Server 2010 without using SharePoint? (in other words: can a SQL DB be a content source for the search?) I can't seem to find a definitive answer to this anywhere.
I have found this on the MS website:
The following connectors come out of the box in Search Server 2010
Express and SharePoint Server 2010:
SharePoint sites
Windows file shares
Exchange public folders
Lotus Notes
Web sites
IFilters for additional repositories
Structured content in databases
Federation object model
I would like to be sure that it 'can' work before I start messing around with it.
You will need to install SharePoint Foundation (free version), as well as install the cumulative updates/service packs to install and configure the Secure Store Service. From there, you can use Business Connectivity Services to model your database and present it to Search Server Express. FAST Search is another product altogether and would require additional software installation and configuration.

Accessing SharePoint through Java Application

HI
I want to access my sharepoint site through my java application or through jsp pages. At my website user can search and download documents from sharepoint document library.if any java api? plz send me sample code..
Regards
Siva
http://code.google.com/p/java-sharepoint-library
Library written in Java provided connectivity to Microsoft SharePoint 2007 and 2010 Web Services.
You can check out WSRP then you may be able to show your web parts in java portlets.
http://en.wikipedia.org/wiki/Web_Services_for_Remote_Portlets
I remeber testing it in SharePoint 2007 to show lists in a java portlets.
You can using this http://www.bendsoft.com/downloads/camelot-wcf-service/
http://camelottoolkit.codeplex.com/
http://www.bendsoft.com/downloads/camelot-sharepoint-integration-toolkit/
Alongside with the Camelot ADO.NET Connector it turns SharePoint to an ordinary SQL datalayer so you can select, insert, update and delete from your Lists and Document Libraries (full CRUD support).
I'm not really into java, but there are sample code of using the WCF service and PHP is available here, http://blog.bendsoft.com/2011/04/camelot-php-tools-1-1-for-sharepoint-released/
There are a few soap wsdl clients for java, but it should be a simple task of setting it up.
I have developed an API to access most common Sharepoint Rest API functions (i'm still in work in progress to achieve a full implementation). The idea is to have a very easy to use java API to work with sharepoint sites. You can take a look here
https://github.com/kikovalle/PLGSharepointRestAPI-java

Windows Sharepoint Services 3.0 and Search Service

We've setup the sharepoint services sites and works nicely. We've also setup multiple sites such as: http://192.168.100.52/, http://192.168.100.52/sites/IT, http://192.168.100.52/sites/Finance and couple other sites under the root.
We've setup the search service as per Ms said BUT my impression that when you search you only search within site that you are on so it can't not search a global search. How do I achieve this? From what I heard this is a limitation of WSS, correct? I've also heard that there is another Ms Search Server service that allow to do this. Is this right?
BTW ... we are using WSS 3.0 not SPPS 2007.
I am appreciated your comment.
Thanks
This is indeed a limitation of WSS, for full blown cross sitecollection search you need MOSS. There are some workarounds (like this) and third part tools (KwizCom). Also it is possible to "upgrade" your wss 3.0 installation to Search Server 2008, as per this Technet article.
You can setup a Search Server Express outside the WSS. Then in SSE admin create an index that includes the WSS sites. Finally, create a WSS site called "our company global search" and use it for the cross-wss site searches.
Other than that WSS will only give you search option of searching the currrent site and below.

Resources