sharepoint2010

Sharepoint 2010 FullTextSqlQuery using LIKE predicate does not find anything

Hi I'm trying to execute a search in SharePoint 2010 with the FullTextSqlQuery class: using (SPSite site = new SPSite("http://localhost")) { using (FullTextSqlQuery query = new FullTextSqlQuery(site)) { query.QueryText = "SELECT Title, FooText FROM scope() WHERE FooText = 'Foo2'"; query.ResultTypes = ResultType.RelevantResu...

Why does $Resources:wss work in a web control, but $Resources:core does not?

When I have the following in my ascx web control: <asp:Literal runat="server" Text="<%$Resources:core,Description%>" /> I get this error: The resource object with key 'Description' was not found. But when I change the Literal to: <asp:Literal runat="server" Text="<%$Resources:wss,viewlsts_desc%>" /> The control renders just fine. ...

Sharepoint 2010: insert items in a list with BCS fiels

Hi, I have a list with 3 fields in Sharepoint 2010: ID (counter), Description (String) and ProductCode (Business Data). All works fine if I use the user interface and I'm able to choose che ProductCode from the BCS entity. Now I need to write code to insert items in this list. I simply use this: element["Description"]=var1; element["Pro...

How to fetch from a large list with Throttling enabled?

We have a SharePoint list containing 50.000 items, and want to fetch some data from it without disabling SP2010's default throttling. From the MSDN artical on handling large lists, we figured the key ingredient would be using a small RowLimit on the SPQuery, and using ListItemCollectionPosition for batching. However, with our code (so...

How to restore MOSS 2007 intranet site into share point 2010?

I have my company intranet portal in Moss 2007,i need to implement it into 2010,What are the possible way to do this.is that possible to restore the content data base in 2010 portal. ...

How to set default value from cookie to the lookup field?

How to set default value from cookie to the lookup field ? I use Microsoft inforpath 2010. can You help me? Thanks. ...

What is the point of Sharepoint?

My company have started to use Sharepoint. Now as a software developer I simply can not understand the advantages of such a system. To me it just looks like a browser based application through which you access/edit files; has windows not allowed this for 20 + years? I can understand it is an intranet for messages etc. so why not just a...

Do I have to write an HTTPMODULE for my SharePoint Instance ?

I want my users to type http://mysitehosturl/username and see their profiles (mysite). Do I need to write an HTTPModule for this and if so, I would appreciate for a tutorial about that. ...

Can sharepoint apps be developed in a Visual Studio 2010 stand alone dev box?

Can Sharepoint apps be developed in a Visual Studio 2010 dev box only or does the dev box need to connect to a Sharepoint server? Can the Sharepoint Server be a stand alone machine (no domain controller between the two machines)? ...

Silver light web part could not be displayed while using it with ADO.NET service in SharePoint 2010

Hello Everybody, I have created a silver light application which leverages the ADO.NET Data Services in SharePoint 2010 and trying to achieve the CRUD functionality through ADO.NET data service. For that I have added service reference by specifying URL as http://:1111/_vti_bin/listdata.svc to my silver light application in visual 2010. ...

Sharepoint 2010: How to access analytics data to create summary roll-up web parts?

I know there is a web analytics web part out of the box, but it isn't configurable and is limited to "most viewed" and "most searched terms". I want to display data like "most emailed" and "recently viewed" information too. Is there an API that exposes this data from the SharePoint 2010 analytics repository?? Many thanks! ...

Can not access listdata.svc directly

Hi, I have a sharepoint 2010 farm solution and i have now problem accessing "http://mysite:2222/_vti_bin/listdata.svc". I am also not able to add service reference. However it was working fine for some times. and suddenly it stops working.. The case here is, when i directly try to access "http://mysite:2222/_vti_bin/listdata.svc" it s...

SharePoint 2010 Bulletin Board - User can only edit their post

Hi, I need to create a bulletin board in SharePoint 2010 and ideally we'd like people to make posts but they should only be able to edit their posts and not others. Is this possible at all? Also if anyone knows of any off the shelf solutions (not necessarily with the above mentioned edit abilities) that I could trial please let me kno...

How can I set up continuous deployment for a SharePoint 2010 Visual Studio solution?

I want to automatically build .wsp packages and re-deploy them on a staging server after each commit. I know how to setup CruiseControl.Net for continuous integration, but I don't know how to build and deploy the packages. So far I got MSBuild to generate .wsp files , but I am struggling with a automatic re-deployment script. What I got ...

How to hide Site Actions tab, but show Sign In link in a different place.

Hello. I am new on SharePoint 2010 and trying to make basic web sites. First, created a new site. Using domain authantication. I've done to hide Site Actions tab. Surrounded the tags with <SharePoint:SPSecurityTrimmedControl ID = "spstcSiteActions" runat = "server" PermissionsString = "ManageWeb"> When you do this, end-user cant see...

SPWebConfigModification class will not update Central Admin application's web.config file.

Using SharePoint 2010 I am trying to use the SPWebConfigModification class to make some basic changes to web.config files on applications in the farm, including the Central Administration web.config file using web application scoped features with feature receivers handling the addition/removal of the modifications: public override void ...

sharepoint regional settings are differenet from server settings

How to force sharepoint 2010 to use hosting server settings just as date and time i have problem in hijri date , sharepoint's date is different from server's date (hijri only) any ideas please ? ...

Why does packaging my Sharepoint 2010 project break my references?

Hello everyone, I'm having a very frustrating issue where my SP2010 project in VS2010 where everything seems to be perfectly normal when I build/rebuild the solution, but when I go to "Package" the SP2010 project, though it builds and deploys successfully, one of the dependent assemblies loses one of its references to a different projec...

How to implement SP 2010 visual web part in MOSS 2007 site?

I have created a Visual web part for SP2010 site, What I need is to implement it into MOSS 2007 site. Does MOSS2007 support visual web part,and how to do this? ...

Querystring filter for PerformancePoint

Hello, Keep in my I am using Dashboard Designer, SharePoint 2010 and PerformancePoint Server 2010. I have a dashboard homepage showing a KPI for sales, by brand. I added a custom property "View detailed report" on my KPI. When I click on that, I want to be able to go to a second dashboard page featuring 5 scorecards and 2 reports for m...