sharepoint

SharePoint : Query list items added/ updated after user's last visit

Hi, We need to fetch the items added/updated after the user's last visit. We need this information from 3 separate lists under the same web. Pointers on how to accomplish this would be very helpful (and does SharePoint provide any API for this). Kind regards, ...

Sharepoint 2007: what do developers need to know?

I have worked with Sharepoint 2007, and as a developer, it was a nightmare. I left my internship after 1 month because of this technology. I thought that all developers would think similar to me, but this question has taught me a differenly. It seems possible for a developer to say "I love Sharepoint". Perhaps they've fallen into madnes...

session variable issue with user control in Son of smart part webpart

The user control is a search screen that consists of a gridview. I am string the filtered results of the gridview in a datatable and storing the datatable in the session. I am accessing the datatable in the session on the next postback. The problem is that when I am storing the dattable in the session, even though the lines of code don'...

.NET Sharepoint Create Directory

I can upload a file to sharepoint with the webclient as follows using (System.Net.WebClient webclient = new System.Net.WebClient()) { System.Net.NetworkCredential credentials = new System.Net.NetworkCredential( Encryptor.Decrypt(ConfigurationManager.AppSettings["username"]), Encryptor.Decrypt(ConfigurationManager.AppSettings[...

SharePoint 2007 x64 workflow with Visual Studio 2008?

I have development environment with 64-bit SharePoint 2007. I tried to create SharePoint workflow with Visual Studio 2008 and got error message "A 32-bit version of SharePoint Server is not installed. Please install a 32-bit version of SharePoint Server". Is there any way to solve this problem? ...

What are some good resources on integrating web apps with SharePoint?

I need to get up to speed on various ways to integrate ASP.Net C# web apps with SharePoint. From the most loosely coupled (just pull a bit of content from SharePoint) to full bidirectional sync, version control, workflow, etc. What are some links or books that can quickly get me oriented as to best options and approaches? ...

Sharepoint deployment with Exchange 2007

I am planning to deploy a single-server Exchange 2007 configuration and I'd like to also start using Sharepoint for collaboration - what would the recommended deployment scenario be to accomplish this [Sharepoint will also run on its own server] to allow use of OWA + Sharepoint sites both as public resources as well as common space for d...

SharePoint, WCF and Anonymous Access

Does a WCF service on SharePoint require that Anonymous Access is enabled? We have an application page which is calling the service using Ajax.Net, if Anon Access is off then we get prompted for the username and password, if it is on then all is well. We are not using a WCF client, it is purely being called by the scriptmanager <confi...

Override SPList.WriteSecurity behaviour?

As MSDN states, then WriteSecurity has 1 of 3 states possible: 1 — All users can modify all items. 2 — Users can modify only items that they create. 4 — Users cannot modify any list item. But if I want behavour nr. 2 plus users can modify items that are assigned to them? Well if I grant a user full permissions (put in owners group) ...

Workflow initiated by difference in Modified and Current dates - SharePoint

Good Morning, I'm using SharePoint Designer 2007 to create a workflow for a MOSS site I have created. What I'm looking to do is have the workflow send out an email if a document in the library hasn't been modified for the past 30 days (and it's Status field is not set as "Closed"), but I'm stumped as to how I can do this. Any help wo...

How to create a ASP.NET association form for a SharePoint Workflow?

Hi, I'm reading Professional Microsoft SharePoint 2007 Workflow Programming. This book provides some detailed info on how SharePoint works, but not the procedures to create workflow. I wonder how to create a ASP.NET association form (instead of InfoPath form). Thanks in advance! ...

What does the "ONET" in ONET.xml stand for?

In SharePoint, a file named ONET.xml is usually needed when creating a custom site definition. Out of curiosity, does anyone know what ONET stands for? ...

Where can I find tutorials or webcasts for doing Sharepoint development?

Where can I find tutorials or webcasts for doing Sharepoint development? ...

How do I add Paging to a sharepoint DataFormWebPart?

I'm creating an archive of news articles in a sharepoint publishing site. users can browse or search the archive. browsing is a simple list of article dates titles. I'm using the DataFormWebPart to display the contents of the Pages (articles). as there are thousands of articles, i'l like to show maybe 50 on a page. I see no built in...

Write to eventlog from within Sharepoint webpart

Hello All, I'm trying to create a custom webpart. To implement error handling I would like to write to the eventlog. To do so, I'm trying to use the following code; protected void btnExceptionTester_Click(object sender, EventArgs e) { try { throw new Exception("this is a test"); } catch (...

Sharepoint - Retrieving user group and permission rights programmatically

Hi all, currently I'm trying to retrieve all the groups that is in my sharepoint site. After which, I need to know which users are in the group and the level of site permission for each user. I'm using WSS 3.0 , developing in C# (visual studio 2008). Help really needed as I'm still new in this area. Thanks in advance! ...

What are the best practices for permissions on a publishing site within MOSS 2007 Standard?

Here's the scenareio: I have a single site collection, with the publishing infrastucture feature activated. Seveal levels below this I have a publishing site with the publishing features turned on. I also have unique permissions for this site. The problem is that no one except site collection administrators can "Create Page". I have ...

Stsadm export hangs after sometime

I am trying to export a SharePoint site using stsadm, but everytime I start the process it hangs at a particular point in the export process, it always hangs exporting a particular list item. But if I delete the list item the export hangs at the previous item. I have waited for mre tan 10 hours for the export to complete but it does no...

SharePoint Approval Workflow

I have a custom content type in SharePoint which has an approval workflow associated with it. The content type contains several Choice Site Columns. There is now a requirement to change the values of the choice columns AND update the existing content to reflect the new values. Eg, Existing Choices: Choice 1 Choice 2 Choice 3 New Choic...

Moving from custom ASP.NET application to Sharepoint Services

Our company has an ASP.NET application for customer information database. The application started small but has grown without proper design. Now a new version of the app should be developed, which basically would mean designing and implementing it from scratch. The company is interested in making use of Microsoft Sharepoint Services in f...