sharepoint

Populating an InfoPath control with SharePoint users

I am trying to use the UserGroup.asmx Sharepoint web service to populate a dropdown list in InfoPath 2007 (2003 compatible form). I followed the instructions here: http://tim.bellette.net/2008/12/13/getting-sharepoint-users-in-infopath-2003. I put the following code in the OnLoad event for the form, and if I set a breakpoint I can see ...

Localizing a SharePoint site collection at runtime?

So I have a requirement to change the locale of a site collection at runtime. I am deploying a .resx file into the web applications App_GlobalResources folder, then I am using: <asp:Literal runat="server" Text="<%$Resources:MyResource,MyLocalizedStringID%>" /> to insert the right localized string. This works fine for the default r...

Implement Different Expiry Dates on Documents in a Library

I need to be able to set different expiry dates for each document in a document library; some with no expiry date. What is the best approach for this? Information Policy Management or custom code? If custom code, how would I go about it, use a Site Column for the date? ...

Could Not Load File or Assembly Sharepoint 2007 WebPart

Hey SO: I am playing around with Sharepoint 2007. I have a virtual machine (win server 2k3) with an instance of sharepoint server 2007 running on it. I am now working on creating web parts. I have successfully created simple ones, such as this one that displays text: public class SimpleWebPart : WebPart { private string _displayTex...

How do you link Sharepoint Lists across different sites

I have googled this and seem to only be able to find the same Tutorial here or variations thereof. I have two lists. Each one is on a different site. I need to make a list/view joining these two lists. One site contains basic employee data, (such as department) and the other site contains details about that department that we need to...

SPWeb.Site, should you call Dispose() on it?

Updated 06/08/2009 15:52: Short answer NO. Original question: I can't find any reference which gives guidance on SPWeb.Site regarding disposing. I've gone through some of the more popular best practises documentation on disposing SharePoint objects: http://www.sharepointdevwiki.com/display/public/When+to+Dispose+SharePoint+objects htt...

Page freezes after clicking a linkbutton

I have a user control inside a webpart inside sharepoint that I add some linkbuttons dynamically during runtime. each one when clicked is supposed to download a certain file from the database. however when one of those linkbuttons is clicked, this file is downloaded for once and then i can't click any other buttons or links or even the s...

InfoPath Forms Services is not turned on

Hello, I installed MOSS 2k7 Enterprise and now, I would like to use the Workflow feature. The problem is that : 1.When I start any workflow, I have got the error "InfoPath Forms Services is not turned on" 2.In Central Administrator -> Application Management -> InfoPath Forms Services, I tried to : (a)"Manageform templates" (b) "config...

How to execute code when a view is updated in sharepoint?

How to execute code when a view is updated in share point portal? I can not write an event receiver for it because it only fires when list items are updated. I want to write a handler of some sort that gets executed every time a view is updated. What are my options? By updated view I mean columns are added or removed. ...

sharepoint package setup

i am new to sharepoint. i have a sharepoint application. i have to create a package setup (install shield kind of thing) that can deploy the sharepoint solution on the client machine. in my application we have .dll,.ascx,.xml etc files available. i think i have to deploy the dlls,ascx, xml files. Can any body help me on this? how shlou...

Sharepoint Workspace EventHandling

I want to capture the Event when a User Deletes a WorkSpace /Site , I have to perfomr some Action. how to capture the Website deletion Event? ...

SharePoint Designer 2007 - link to a Document Library on a site from another site?

I am trying to create a link to an existing Shared Documents folder on another site. Both sites are on the same server. Here are the steps I take to create a link to an existing Document Library: I create a document library web page in Share Point 2007. I open the document library (AllItems.ASPX) in Share Point Designer. I delete the...

Determine the Next SPListItem ID in a MOSS SPList?

Hi, I am trying to determine what the ID of the next list item to be created in a MOSS list will be. Is there any way of doing this? Thanks, MagicAndi ...

PtQuery and dsquery help

I want to use the List Data retrieval web service in sharePoint to query a list for it's records. Do I use the dsQuery or ptquery objects? What is the difference? ...

Access sharepoint web services in iphone app

Hi All, I am trying to access sharepoint default web services from my iPhone app. Can some one help me with how to construct the request and get the proper response. Thanks, Naresh ...

Does anyone have experience with modifying Sharepoint Applications?

Hi SO: I am currently working on a call log project. The boss wants me to use Sharepoint as a base, so I set up a virtual machine with an instance of MOSS 2007. I downloaded microsoft's call center template and installed it. I have been playing around with it for a little while now and it seems pretty simplistic. How can I modify this t...

How to make Incoming Links appear as a drop-down in Sharepoint wiki?

The incoming links feature of the Sharepoint wiki is cool, but it's a hassle having to go to another page to see the list. Is it possible to replace the Incoming Links hyperlink with a drop-down menu showing the links on the same page? ...

How hard is it to build CMS driven websites in WSS/MOSS?

We build CMS's with ASP.NET using tools such as Umbraco and DotNetNuke etc A client is asking us if we can build a site in WSS which I think is Windows Sharepoint Services. Are there any experienced MOSS people out there who can tell me how hard we would find this? Would it be just like learning another CMS? Or will it be a nightmare? ...

Attach EventReceiver to all lists of a sharepoint site

Can we write an eventreceiver that gets fired when any list is updated. The listtemplateid that we have to specify for an eventreceiver makes our code specefic to one breed of lists. What if we want to have the code execute for events on all lists of site? ...

What may cause 'Following URL address is not valid' when publishing InfoPath form to MOSS and to cope with it?

Hi, we have a rather old MOSS installation with SP2 installed, which quite recently ceased to include the MicrosoftSharePointTeamServices header in replies to Protocol Discovery OPTIONS HTTP requests. This causes problems like Excel 2003 complaining of being unable to connect to SharePoint site to synchronize lists, etc. The Excel proble...