sharepoint

Mapping Infopath fields to Sharepoint columns

Any one has any idea how to map an infopath field to a sharepoint column of type choice? The infopath field is a repeating field, so the user can select multiple options, I want to be able to map those to the choice field in sharepoint. Any ideas? update: What I'm trying to do is the following. I have a choice column in sharepoint which...

programatically add user permission to a list in sharepoint

how do i programatically add user permission to a list in sharepoint. i want to add the permission "Contribute" to a user or group for a certain list. im using c# Thanks.. ...

I can't add service at VS2008 to Sharepoint services

Hi I can't add service at VS2008 to Sharepoint services when i tried to http://tomasekweb.com/Test1/_vti_bin/Lists.asmx and click on GO The user and password was needed,I typed it but, it's still needed. I don't know, what i have to set on sharepoint site. I have only one user on Sharepoint server. ...

How to create a task in SharePoint with c#

I need to create tasks in a SharePoint Task List with c#. Can I use SharePoint API like SPList.Items.Add() ? I will not be monitoring the task changes after creation. Or Should I consider using Outlook API? ...

Do I have to use InfoPath forms for every task within a SharePoint workflow?

Is it possible to use InfoPath forms within a SharePoint workflow for all but one of the workflow tasks? Our customer wants a particular task to use the default sharepoint page for editing that list item but disabling the form I was using for that task just makes the workflow default to the Task0_FormURN defined inside workflow.xml. If I...

How to determine if a file exists in a Sharepoint SPFolder

Is there a way other than looping throug the Files in a SPFolder to determine if a give filename (string) exists? ...

Can you create a "Comments" section in a SharePoint wiki?

I'm trying to create a Comments section in my wiki. There's one solution on the Web involving the creation of a "column," but that seemed to just create a second text block under the main article block. This is impractical, because subsequent edits don't create new comments - they seem to just edit the existing comment. There are a fe...

Sharepoint Conditional fields in Edit.aspx

I would like to display certain meta data fields in the edit form based on the value of a fields. Example: Users upload a document to the Doclib to be approved by there manager. They are allowed to change the meta data Name,Case No, Location until the item is approved by the manager. Once the item is approved I would like to set Name a...

Using fields from a 'lookup-ed' sharepoint list

I have two Sharepoint lists: - Assignments - Activities The activities list has a lookup field to the assignments list as activities (e.g. monthly review of X) are related to an assignment. My question is, how would I display other fields from Assignments in a view of Activities using standard Sharepoint 2007 (we have restrictions ...

Unit testing Event Handlers in SharePoint?

Is it even possible? So far, I found that we can buy TypeMock to mock the SharePoint objects and then use any free Mocking framework (Moq?) to do the rest of the job. What do you think? It seams that without TypeMock, it's impossible to do unit test within SharePoint. To properly test our events, we need to give the event a SPItemEve...

How can the styling be changed on the sharepoint page so that my data in access datasheet view is visible

How can the styling be changed on the sharepoint page so that my data in access datasheet view is visible ...

Possible to override site creation in Sharepoint?

We want to customize the "My Site" templates for different roles, say Students and Teachers. So basically we want to have one Site Def. for each and when they press "My Site" we want to create a new site using a different template depending on the role of the user (Student vs. Teacher). Does anybody know if this is even possible? Or any ...

How do I display default text if a Data View Web Part in Sharepoint has no data?

I am trying to use the Data View Web Part in Sharepoint. There are many articles on the web related to populating it with data. My question is, what if the data source is empty? Is there a way to display a default message in this scenario? ...

stopping sharepoint workflow programatically

well the thing is i am having a scheduled script that checks some changes in a different database (Oracle), if the change happens i need to cancel /kill/ stop a workflow if it is in progress on a specific item of my list i couldnt find how to do that hope you people can help ...

Best way to migrate site content into a new SharePoint site

My team is working on a project to migrate a .com site into SharePoint. After all our look and feel assets, master pages, content types, and page layouts are created, we need to actually "move" the actual site pages into SharePoint. I'm trying to come up with the most effective way to do this. Our topology consists of an Authoring an...

Is it possible to create a multi-server SharePoint farm in the DMZ without using a domain?

I'm working with a client to plan the topology for a public facing SharePoint internet site. The SharePoint installation will live in the client's DMZ and the plan is to use an existing SQL Server machine to host the SharePoint databases. The problem is that there is no domain in the DMZ - and the client doesn't want to create one wi...

Removing scrollbars from Content Editor/Page Viewer Webpart

I am trying to display an HTML page inside another SharePoint webpart page. I used the Out-of-the-box page viewer webpart, but the page viewer webpart displays a disabled scrollbar inside it. I also tried using a content editor webpart with an IFRAME tag in it, but still it didnt't work. This is the code i used in the content editor w...

RSS viewer in SharePoint strange

well i am getting into strange situation regarding the rss viewer on sharepoint well i have two enviroments of sharepoint (production & testing) i was showing a specific rss news (abc) on both of them , and it was working after setting the proxies and other stuff. suddenly (may be due to some changes done on the production without tes...

Sharepoint: is performance of iteration through all subsites bearable?

Hi all, I need to create feature which will iterate through all subsites of site collection and add some sample content to each of them (sample content=new pages,images,documents,possibly some lists). There is solution that uses recursion to loop through sites (it can be found here). So i'm asking: Did any of you implemented somethin...

How to alter sharepoint workflow task status?

Hi, I am novice in sharepoint programming. I have a following code: SPWorkflowTask task = some_getter(); task["Status"] = "Canceled"; task.Update(); and I am getting SPException: Microsoft.SharePoint.SPException: "This task is currently locked by a running workflow and cannot be edited." at Microsoft.SharePoint.SPListItem.Prepa...