sharepoint

SharePoint -copy library template when creating a new item

Hi -I have a document library with 4 content types, each having a default template. Users click on "New" and choose the content type for the new item. I need WSS 3.0 to create a copy of that template (in the current folder) so that the users can edit it. I do not want WSS to open the template in a client application -I need it to leave ...

SharePoint- Problem with converting permission mask into role

Hi, I have a problem retrieving permissions on a list or site. I'm using SharePoint's Permission Web Service and the GetPermissionCollection method. This method return somethink like this: <Permission MemberID="4" Mask="1067654015" MemberIsUser="False" MemberGlobal="True" GroupName="Collaboration demo Owners" /> I'd like to be able t...

XSL matching strings trouble

Hi all, I've been having the issue from here: http://stackoverflow.com/questions/3840502/sharepoint-issue-selective-behavior and I think I've narrowed the problem down to this XSL code: <xsl:if test="contains(translate(string(@Author), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'ab...

Users have "read" access to Sharepoint site even when all user permissions were removed.

I have a Sharepoint site (MOSS 2007 SP2) that all domain users seem to have read access to even if I remove all user permissions to the site. I have no problem granting users all levels of permissions. For example, I can grant userA full access to my site, but when I remove the user completely from the site they still have read access. ...

Retrieving User Name in Sharepoint?

Hi all, How does Sharepoint retrieve the user's actual name as displayed in the top right corner? e.g Welcome John Smith I need to call this name as a variable or parameter on custom code in the XSL editor but I can't figure out how I can retrieve it, is it a global variable? ...

SharePoint Designer Deletes Web Part Connections Upon Saving Page

I have a custom ASPX page hosted on SharePoint with the following web part connection, from a PerformancePoint filter to a SSRS ReportViewWebPart: <WebPartPages:SPProxyWebPartManager id="pwpm_0d7e10d6dc8f4b00a8a0aeb2a354c814" runat="server"> <SPWebPartConnections> <WebPartPages:SPWebPartConnection ConsumerConnectionPointID="...

Is it possible to modify Dashboard Designer deployment process?

Hi there, I want to know if it is possible to do some custom code that would be executed when you click on "Deploy to SharePoint" on a dashboard element in Dashboard Designer. Basically, what I would like to do is set some of the WebPart properties while I generate my dashboard. I'd like to see the WebPart navigation URL with one of t...

Can't bind JQuery Datepicker with asp:TextBox in sharepoint

Hi everybody. I have the next trouble. I am creating the web part in sharepoint. I need a Jquery datepicker. When i try to bind it with the html textbox it works. But when i try to bind it with the Asp:textbox it doesn't work. Does anyone have any ideas? Thanks. I will appreciate any help. <script type="text/javascript"> $(document...

Infragistics "Cant init Editor" Error in Sharepoint

Hi, I deployed sharepoint with infragistics couple of weeks ago. it was working fine then but now i am getting error "Cant init Editor" in infragistics controls which are deployed on sharepoint. i have try to debug this problem with many angles but in vain. can anybody have the solution for that. i am using infragistics assembly vers...

What user credentials do I need to access Sharepoint Web Services

I currently have a web config file in a web service that is using the following code snippet so that it can access resources on Sharepoint <identity impersonate="true" userName="[domain admin]" password="[password]"/> Clearly this situation is not a good idea and we are currently replacing this with the correct way of doing things. Ho...

How to configure sharepoint timer job to run multiple times a day?

How can I configure a sharepoint timer job to run multiple times a day. For example: Daily between the intervals 14:00-16:00 and 20:00-24:00 I want to do it using SharePoint object model. ...

Why should i upgrade to Sharepoint 2010 for an intranet site

What possible reasons can be there for me to upgrade my intranet to SP 2010 from MOSS 2007. Are there some big leaps in functionality and/or performance? ...

Soft Limits for Sharepoint2010 document libraries, page libraries and lists

Our client plans to migrate from the existing Content Management System(non-Sharepoint) to Sharepoint2010. We need to specify soft limits for document library, page library and list to the client from a migration perspective(even i didn't understand what this is about :P)but my Team Lead told me this. I have been searching on soft limits...

How to add a People Picker SPField to a SPList in SharePoint?

Looking for a snippet of code. ...

Detecting dead accounts and cleaning them from a SharePoint site

Hello I've been asked to create a solution which detects the dead accounts and cleans it up from a SharePoint site. I found a code snippet here (in the comments) which checks each user against the AD and cleans up the account. But the LDAP details are hardcoded in the code. What happens if i want to detect it dynamically and check the ...

How to get rid of tempuri.org in WCF service created by SharePoint Service Factory

I am exposing a WCF service on SharePoint 2010 using a Service Factory class and cannot completly get rid of the tempuri.org namespace in the generated WSDL. Here is what I do: The svc file in the ISAPI folder <%@ServiceHost Language="C#" Factory="Microsoft.SharePoint.Client.Services.MultipleBaseAddressBasicHttpBindingServ...

I want to move to something new...

Hi, Currently I'm a .NET developer, I've been working with WinForms, WPF,a little with ASP.NET, Silverlight and recently with raw HTML/JavaScript/CSS and using IIS/.NET as server side only. And I've really enjoyed this last one, because now I understand what ASP.NET is doing under the hood, and that has made me a better developer, I thi...

Sharepoint: Custom view permissions

I created a custom list to be used as a form on our Sharepoint 2007 Standard Server. When I click on “New Item” I can fill out the form but it goes back to the list with all the entered forms. I notice that there is NO permissions on the VIEW, but how can limit so that the user views only his created forms? ...

Sharepoint 2010 Uploading Documents

How would I go about uploading an entire directory and all sub-directories and files to a SharePoint 2010 Server? I don't think this function is specifically built into SharePoint (just uploading multiple documents in one folder). But the way I understand it, I can write something in VB or C# to accomplish this. How would I go about do...

Recurring SharePoint timer jobs

I have a situation where I need to move some huge data using a timer job. But I can't do this using OneTimeSchedule as it may impact the performance of my sharepoint application during the peak hours. I want to make it run for maximum of 5 hours a day starting at 20:00 everyday. What is the best way? ...