sharepoint

STSADM.exe - "Operation completed successfully" - Twice?

For a command such as this: C:\>stsadm -o upgradeSolution -name zzz.wsp -filename zzz.wsp -allowGacDeployment -local I receive two outputs of the success statement rather than just one: Operation completed successfully. Operation completed successfully. It seems to be related to the -local flag, so my guess would be that it succes...

SharePoint 2007 - RunWithElevatedPrivileges - Pitfalls of using this

I have a strong gut feeling that using SharePoint RunWithElevatedPrivileges should be avoided like the plague, but need to convince some others as to exactly why. Here's what I have. Spawns a new thread with elevated privileges Blocks other operations until the passed delegate returns Security problems (runs with a high level of privi...

Creating "Append-Only" Comment Field in Custom SharePoint List

I am relatively new to SharePoint, working with WSS SharePoint 2.0. The "Issues" list template contains an "append-only" comment column. The great thing about this append-only comment column is that it saves a history of the comments entered every time you save, and it clears out the comment field for the next time you edit the item. ...

What tool can I use to allow multiple teams to share files?

I need to work with several teams and need to be able to share requirements and design documents. Most people won't be too technical, so I want to avoid source code tools. The main requirements are: Easy sharing via links. I don't want people to have to install multple tools just to see a file or learn anything about svn checkout. P...

How to make SharePoint accept attachments with special characters in the file name?

Hi, I noticed that every time I try to attach a file to a SharePoint list, if the file name contains any special characters (#, &, @, ...) it will not go through. Will not be attached and will cause an error. Is there any way around that? Thanks, ...

WSS - WSRP producer

I am trying to use the WSRP producer with WSS. Is this possible or do I need MOSS? How can i pass the user credentials to SharePoint Server? Please see my log http://pastebin.com/m501eef46. ...

why GetSiteData(query) returns wrong values

Hi. I do a caml query on the forms libraries in entire site collection with SPWeb.GetSiteData(SPQuery). For the field "ServerUrl" it returns just "/" instead of "/site name/library name/formName.xml". With item["ServerUrl"] is returns the right value, but i need to use the GetSiteData method. Here is my code: SPSiteDataQuery q = new SP...

Custom Workflow + Custom Action + ASPX For Activating The Workflow

I need to add a custom action to the ECB of all the lists in the site. This Action calls an ASPX page that contains a people picker. After the user selects the people they want, they can click a button that invokes a workflow. This sends an email notifying the selected users of item creation. What I want to know is guidelines, best pra...

Programmatically Add Site Template (.stp) to SharePoint

Hi, I would like to programmatically add a custom site template (.stp file) to a MOSS team site collection as part of my build process. Can anyone point me towards the best way to do this? Thanks, MagicAndi. ...

How can I capture event on adding item in Sharepoint Blog Site

I have tried Visual Studio Site Solution generator for building Sharepoint Site solution. My requirement is to validate blog entries with some criteria at run time. I want to add the same Bad Keyword thing I had asked earlier. But Visual Studio Site Solution generator is unable to create solution for Blog Site and showing below error ...

Moving Sharepoint project Dlls from GAC to Bin

We have a Sharepoint project where we have deployed the dll's of the project to the GAC. We have seen that the best practices is to have them in the bin directory. This is based on the information in the answer to this question: http://stackoverflow.com/questions/1073347/web-part-dll-in-gac-or-bin-using-sharepoint-2007 What are the ste...

powershell check sharepoint URLs

I'm trying to write a script that iterates through a bunch of sharepoint URLs and verifies that they exist. From what I can find, it looks like this should work: $webclient = new-object System.Net.WebClient $webclient.Credentials = new-object System.Net.NetworkCredential ("username", "password", "domain") $webpage = $webclient.Downlo...

Infopath SharePoint Document Libraries

I need to display a list of document libraries a user has permission to on an infopath form for a workflow. I can build my list of libraries just fine but I can not for the life of me figure out how to populate (in anyway) the infopath form with the list of libraries and allow the user to somehow say "yes" or "no" to each (checkbox is id...

How to link to a folder in document library from sharepoint list item?

Hi, Background: I have an items on the sharepoint list. I also have a corresponding folder in a document library that contains documents about this item. I want to be able to get to this folder straight from the item properties. I have tried to create a lookup column containing folder ID, but that doesn't help cause folder is not a typ...

SharePoint 2010 My Sites versus custom code for Social Networking / Micro-Blogging

What kind of features does the upcoming SharePoint 2010 have in regards to functionality that is like those found in: FriendFeed, Twitter, Google Wave? Flickr or Digg (tagging and voting)? How much of this do you get "for free" with SP 2010 or would you still have to code it all yourself? Any one know what that have added to My Sites? ...

Create Feature to Upload Site Template File (.stp) in MOSS

Hi, Following on from this question, I have created a feature to upload an site template file as part of an automated build of a SharePoint site. However, while the feature deploys the .stp file correctly to the hive, and the solution appears in the CAS | Operations | Solution Management page, the site template does not appear in the s...

Remove "Create blog" link from My Site

Hi, what is the best way to remove the upper-right link "Create blog" from My Site ? I have found this article, but I hope there's another solution than doing that ! link text I'm using MOSS 2007. Thanks for your help, Raphaël ...

SharePoint Client JavaScript Documentation

I'm attempting to improve the usability of a client's SharePoint deployment via JQuery; and am hitting a brick wall when trying to find any sort of documentation of what's happening in core.js (aside from painfully digging through and trying to parse any sort of meaning out of it --all 250kb of it!!!!--) Anyone have any pointers, or doc...

SharePoint 64bit or 32bit

Is it ok to have 32bit dev and test environments with SharePoint? The reason that I am asking is because in my experience most productive large scale MOSS implementations are 64bit. I work for a company now who have very little experience with SharePoint, and I would like to give them the best advice possible, that is to try and keep t...

Catalog items in Sharepoint

As a feed from external system we get a Catalog items (They are product info) as part of feed once a day. We need to take this feed and store in Sharepoint. Following are things we want to achive with this. Need to search those items and show as part of standard search resutls. There will be Insert (New Items) , updates and deletes to...