sharepoint

Presence icon only showing for first person

I am trying to show my colleagues in my custom webpart. So I adding presence Icon to each of colleague. It is showing fine when colleague is 1 only. If We have colleague more than 1 Presence Icon showing for 1st colleague you can dropdow that Icon also but other colleagues it is show simple Presense Icon (grayout) (not drop down is commi...

How to Create a Folder in the Current Document Library if it's not already present?

I modified the code. I can now upload to current document library (not more hardcoding the document library or the acutal url). All i need to do now is to make sure folder exists or not. create folder if it does not exists in the current document library. I will continue to update the code if I came across the solution. Thanks public o...

How to Export Blog Posts from SharePoint Team Site?

I have a team site blog with many posts that I wish to export. I don't see any option outside of exporting the post titles to an Excel sheet. Any ideas? OPML? ...

Sharepoint Workflow doesn't trigger after created/edited tickets

I have a workflow created in Sharepoint designer that works fine when manually triggered. I want it to trigger when a new ticket is created and when an existing ticket is edited. I have tried everything, but it makes no sense that it works when manually triggered, but does not appear to trigger when tickets are created/modified. Any h...

Pop-up and font colour based problems in a form which is designed in Share Point.

I am designing a system in Share Point via Share Point Designer. We have a form in my Share Point site. Users have to fill some fields in the form and send it to the approval committee. We cannot upload anything to the servers. The design is site based. Our problems are: 1- I want to add small (?) icons for the descriptions of that fi...

How to identify document in SharePoint

You can put your documents in SP - cool, but, when its time to reorganize folders structure what I should do with old links? Is there a way how to identify document instead of using URL where path to the document is used? I need something like permanent link: http://mysharepoint/doc-123, where 123 is the document identifier. I need URL...

Sharepoint:Cannot insert item when referencing a control from code behind

Hi all I have a custom NewItem.aspx form made as a new asp from the existing one. I modified a form field and replaced it with an ASP.NET TextBox as in this the text box is like this <asp:TextBox runat="server" id="txtDesc" __designer:bind="{ddwrt:DataBind('i','txtDesc','Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Gene...

Redirecting user from an old web to another in Sharepoint

Hi all: I want to add the ability to redirect users when they visit certain old sites. The URL of the old sites are unknown, but the server name is the same, e.g. Old site url: http://sharepoint/mySite/default.aspx New site url: http://sharepoint/myNewSite/... There are a lot of other pages within mySite, most of which must be r...

Sharepoint Web Application

We are really in a mess. The following is what happened. We have taken backup of WSS_Content database. From Central Administration Page we remove the database. Added a new database for the website. Now we are getting the below error HTTP/1.1 404 Connection: close Date: Wed, 07 Apr 2010 10:04:54 GMT Server: Microsoft-IIS/6.0 X-Power...

Error in SPUtility send email

Hi, I am trying to send an email in the button click event in the webpart.However, the email sending is failed and error is logged in both sharepoint logs and event viewer of the machine. The error is : Cannot connect to SMTP host Outgoing email settings in central admin is already configured. Alerts are also working fine. Below is my...

Multilingual sharepoint Site Creation - The Site definition I have developed does not appear to create site

I am new to Sharepoint. Currently I am using VS 2005, WSS 3.0 for creating a site definition. My requirement is to create a site definition with master pages, web parts, etc... I have created a site definition in VS 2005 using team site definition option. deployed the developed site definition to sharepoint. When I try to create site u...

Problem in implementing IAlertUpdateHandler interface

I've implemented IAlertUpdateHandler interface in a class and used it for handling creation and updating of alerts. The code is fired but it goes into endless loop by calling itself again and again. Actually I want to suppress email notification so I'm calling a.Update(false); but this again calls PreUpdate or PostUpdate method and the...

persist values/variables from page to page

Hello, I'm wondering if there's another solution to my problem, that's considered more the Sharepoint way. FIrstly, my site is an Internet site, not Intranet. The problem is, all I'm trying to do is save values/variables from page to page in Sharepoint. I know the issue with Session Variables, but this seems to be the only way I can s...

How to add a FormToolbar with upload functionality to a custom form

Hi all I have a custom sharepoint form where I want to add a FormToolbar with upload functionality to it. I added it like this <SharePoint:FormToolBar runat="server" ID="ft" ControlMode="New" /> when I click on the attach file link it diplays a message saying "this form was customized not working with attachemnets". I searched for ...

Open source alternative to WebEx WebOffice?

I have a client who has been using WebOffice (from WebEx) for a variety of tasks within their small organization. The problem is that they only really need a small subset of the features WebOffice provides (Contact list, Database, and Document Storage). They've asked me to develop a website focused on these three features with the ra...

List of default managed properties in SharePoint search

Hi, I would like to what are the default managed properties available with default installation of a SharePoint. Also would like to know what is the default crawling property name maped to a managed property "ModifiedBy". Thanks. ...

I am adding a new splistitem to a sharepoint list but it always gives me an exception: "object reference not set to an instance of an object"

_site = new SPSite("http:\\MySite"); _web = site.OpenWeb(); { list = _web.Lists[sListName]; _web.AllowUnsafeUpdates = true; items = list.Items; item = items.Add(); item["Title"] = "new Title"; item["UserName"] = CurrentUser.ToString(); item["Configuration"] = sConfiguration.ToString(); } item.Update(); _web.Allo...

Sharepoint: Convert a SPFieldMultilineText to SPFieldText

Hi Is it possible to programmatically change a "multi-line text field" to "single-line text field" ? SPFieldMultiLineText field = list.Fields["sample"] as SPFieldMultiLineText; // how to change the type to 'single line' now ? Or do I need to create an additional field (with a similiar name) and migrate the content? Thanks for any he...

Using Custom HttpHandler to redirect users in Sharepoint

Hi all: I need to redirect a user to a different page if they visit a certain set of pages in a web. There is one condition: I'm not allowed to touch the IIS. I have googled around and found a thing called the custom HttpHandler for WSS 3.0. It sounded like something that I can use to capture the URL the user enters (the most malicio...

Sharepoint Variations Error

I'm getting some crazy errors when trying to create variations in Sharepoint. Has anybody seen this error? PublishingPage::AttemptPairUpWithPage() Ends. this: http://wseasp05/PT/Paginas/Destaque1.aspx, destPageUrl: /ES/Paginas/Destaque1.aspx Begin DeploymentWrapper::SynchronizePeerPages(), sourcePage = Paginas/Destaque1.aspx Dep...