sharepoint

How can I add a register link on the sharepoint teamsite indexpage

How can I add a register link on the sharepoint teamsite indexpage and make this link visible only when a user is not connected? ...

Add table to SPDatabase object

I have created a database using a SPDatabase class. How can i add a table to it? and how to execute SQL queries in this database? Thanx.... ...

Retrieving Computer Names from AD in SharePoint 2007

Hi, I want to get the computer names from Active Directory and display it in our SharePoint 2007 site without programming. Can anybody check and help on this ? Is it possible by configuring LDAP query at SSP level ? Awaiting for the reply. Thanks in advance. ...

SharePoint built in Approval workflow not started on item edit event

Hi All, I have requirement where when a user enter new item in a list first approver approves it then publisher approves it. Once publisher approves it the text will be visible to all. I have used SharePoint built in Approval for that where I have set my workflow to start when new item created and item is changed. when I Add new item...

Localize a list's Custom EditForm.aspx in Sharepoint 2010

(I'm a starter in the sharepoint world) See screenshot below. In the default EditForm.aspx, the title is translated automatically. But this custom editform is obviously always displayed with English labels. The Editform was created by just doing "add form" in the List Properties screen in SPD. What do I need to get the same translati...

sharepoint products configuration wizard - Unhandled Exception

Hi, I have just installed SharePoint Server 2010 on a Windows 7 machine, and every time i try to confogire it, i get an Unhandled exception. Reproduction steps are as follows -- Install Sharepoint 2010 (Server Farm or standalone instance, i've tried both) -- Run the configuration wizard -- Click Ok to the messageboxs (Warning about insta...

Non-deprecated code for detecting whether a SharePoint User has a specific Permission Level

In our application, we have some forms which need to show some data specifically if the current user has a specific permission level. These users belong to an SPGroup which includes users who should not see this data, so in this particular case I cannot filter based off of group membership. My current solution has been to use web.Curren...

SharePoint 2010 - Can two or more people edit a file at the same time?

I have a SharePoint 2010 site with a document library for storing Excel files. If someone is editing an Excel file (using stand-alone Excel, not Excel services), everyone else will be forced to open the file read-only until the first person is done editing. Is there a way around this? What I want is to allow two or more people to be a...

how to use caml queries for optional search values in sharepoint

I have a custom search webpart in Sharepoint which have 7 filters. I am getting data from a Sharepoint list using CAML Query. I want to write a generalized SPQuery which will filter out the data based on the search parameters. The search parameters are optional . If user enters any 2 parameters then I need to get data corresponding to th...

Manager property is not available for Full Text Search (SharePoint 2010)

Hi, I had created a web part on MOSS 2007 which displays a organizational chart by searching (Full Text) the user profiles. To identify the subordinates of a user, I used to search for users with the particular user in Manager property. The query looked like this: SELECT AccountName, PreferredName, Manager, WorkEmail FROM scope() WHE...

How to submit/update/delete data through InfoPath Form to an MS Access Database on Sharepoint 2007

Hi I want submit Data/update/delete through InfoPath Form to an MS Access Database on Sharepoint 2007 (MOSS 2007), If custome code require please give code. Thanks ...

Numbered list in Report Builder export to word

I have created a SQL Server Reporting Services Report Builder 3 report that contains a list of several items from a SharePoint list. I would like the list on the report to be a numbered list, so that when exported to Word, if a user adds another item to the document, the numbering is updated automatically. I can simulate a numbered lis...

Sharepoint connected web parts question

I have one web part (the provider) which displays insurance claims in a gridview. When user clicks on one this value(case number) is passed via IWebPartField interface to another web part(consumer) which displays detailed info about the claim. So far so good. I can select different claims in the provider and the details show up in the ...

SharePoint Search is not searching the Wiki Page

Hi all, I am troubleshooting the search in our SharePoint portal. It's using SharePoint 2007. Currently, there is a specific wiki under the root site which is not crawled. I have tried the following ways: 1. Check the permission in the wiki library and ensure that the search account has access to the root site. 2. Rerun the full crawlin...

Feature with different scope for different webapps

Can a feature in sharepoint have a webapplication scope in one webapp say WApp1 and sitecollection scope in another webapp say WApp2. If yes , how? ...

how to associate a custom Page with new doccument in doccument library,also the fields in rhe page will come to the columns.

Hey, I am onto a task in which i have to create a link in a doccument library either upload or new link,clicking on which a form/page "not infopath" will get open and allow to upload the doccument and along with that we have some text boxes on the same page which will be asking for the properties of the doccument(like "Customer of the do...

Using Visual Studio to create web application in Sharepoint 2010

Hello, I am looking for pointers, examples, etc. to create a basic application in sharepoint 2010 using visual studio. The application would show a list on page 1 (driven by linq entities). When you click a row, it shows a details page. I've gone through the tutorials but could not find a basic crud-like example as explained above. Any...

how to achieve "contains" for numeric field using caml in sharepoint

I want to achieve a wildcard search in CAML Query. I used the "Contains" clause to achieve this functionality for text field. I want to achieve the same functionality for a numeric field. Contains does not work for it. Can someone tell me how to achieve this functionality for a numeric field. Is there any operator such as "like" in SQL??...

SharePoint Primer

I recently started working on my first SharePoint (2007) project (C#), so I was wondering if anyone can point me to some good resources that will get me up and running with SharePoint programming basics quickly. I'd like to have a deeper understanding of the various terms I'm hearing such as Features, Lists, wsp, etc. ...

How do I override the OK/Cancel button of new list item form in SharePoint?

I have a custom list in SharePoint, and I want to override the OK/Cancel buttons that are in the New Item form (The form displayed when you click "New" in the default view of the list). I want the saving logic to remain intact, but I just want to change the default page it redirects to, ideally, to a whole separate page on the site that...