sharepoint

SharePoint and proxy problems

Ok, so I'm new to SharePoint and my knowledge of how proxy servers work is not great, so that doesn't help. I've created a custom webpart that needs to be deployed in various client environments. One of my clients is having trouble connecting to a my web services form the webpart, and my assumption is that it's because he's using a pr...

Query all Sharepoint workflows for their internal status

Hi All, I'm trying to get the internal status of all sharepoint workflows. Is there anyway to programmatically query for all workflows, and get their status? Either through a CAML query or the the object model? I realize that I can iterate over all items in sharepoint, and see if there is a workflow attached, and then get the status. H...

How can I do a silent deployment with a wsp solution and exe.config file?

I have a SharePoint solution (packaged in a wsp file) created with WSPBuilder which is coupled with a simple Setup.exe and Setup.exe.config. The Setup.exe.config just points to a WSP solution. Is there a way to pass in values such as which webapplicaiton the solution is deployed to that way our customer can perform a silent install with...

Email users in a role (forms auth. sharepoint)

Hey guys. So... I've got a MOSS 2007 set up with forms authentication. I've also set up some roles with some users attached to these roles. Now, when I add a role to a site (site settings-> People and Groups) and I choose to send a welcome email, the users attached to that role don't receive an email. Is this even possible in MOSS 200...

Sharepoint 2007 - custom context menu for certain file types

Hi, I was wondering if someone could help me out with Sharepoint 2007. What I want to do is to add a custom menu item to a context menu (the menu that opens when you click a document or another item). Right now, the menu looks like this: picture I want to add an item, "Do stuff" for example, to this menu. Major problems: I wish thi...

How do I validate the page title length in sharepoint 2010?

To aid navigation we would prefer our users to only create pages that have a title of less than or equal to 30 characters. Is there a relatively easy way that this can be accomplished? I've seen a javascript solution that uses a method called PreSaveAction but it's not really what I'm looking for as it has got to work site wide (whethe...

TFS Sharepoint site creation fails

I have created a template to use as team project portal template. However, when I try to create a project with portal from this template, I get an error message saying : Module: WSS Exception Message: TF249033: The site template is not available for the locale identifier (LCID). The site template name is: _GLOBAL_#0. The LCID is: 1033....

Does ListInstance QuickLaunchUrl work?

According to MSDN: QuickLaunchUrl Optional Text. Specifies the URL of the view page to open for the list through Quick Launch navigation. I then have the following elements with a mixture of valid and invalid URLs: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"&gt; <ListIn...

schedule Search query reports sharepoint

If there is any way I can schedule search reports and send it to assign person either OOB or custom one... When we go to SSP and search administration we have query reports and we can export it in two formats and save it but instead of going over there every time I want to automate this process so that it should send the reports on its ...

xmlns to sharepoint api object

Is it possible to convert the following string to a Sharepoint API object like SPUser or SPUserValueField? (without parsing it) "<my:Person xmlns:my=\"http://schemas.microsoft.com/office/infopath/2003/myXSD\"&gt;&lt;my:DisplayName&gt;devadmin&lt;/my:DisplayName&gt;&lt;my:AccountId&gt;GLINTT\\devadmin&lt;/my:AccountId&gt;&lt;my:AccountTy...

SharePoint -integrating CKEditor

Hi -I am needing to replace the default HTML editor that comes with WSS 3.0 by CKEditor to edit web parts. I read about adding a new content type but I am working on a limited shared host. Thank you very much for your help. ...

Sharepoint permissions. Require multiple groups.

I have a permission question I hope someone can help me with. I have setup permission groups for each department in an organization, i.e. “Dept-1”, "Dept-2", etc. My plan is to put people in these groups so they correspond with the department they work for. Next I’m setting up groups that correspond to areas of work, i.e. “Area-Tech...

Error publishing workflow in SharePoint 2010

When publishing a workflow in SharePoint 2010 Designer I received the following error. Errors were found when compiling the workflow.The workflow files were saved but cannot be run. Check For Errors indicated the workflow was fine ...

sharepoint DateRangesOverlap - find overlaping items for a date range

Hi Folks, I am looking for a sample syntax to identify what items overlap with my calendar entry. We have a Calendar list in Sharepoint. I would like to build a custom query for identifying overlaping items for the "new" calendar entry. It looks like DateRangesOverlap is what I would need , but its not clear for me , how to set it up ...

SharePoint List Definition Instantiation Error (Cannot find a url for for quick launch element id 0, setting as ")

I’ve run a fairly complex list through SharePoint Solution Generator 2008 and have set it up as a WSPBuilder feature. The list definition project deploys and activates fine but when I try to create a list from it through the GUI it immediately takes me to an error page which has the following text: Exception from HRESULT: 0x81070909 a...

SharePoint 2010 and ASP.Net 4.0 on same IIS

Can the IIS version in Windows Server 2008 R2 host all the following: SharePoint 2010; ASP.Net 4.0; Classic ASP applications; VB6 compiled .dll web applications. If so, can SharePoint 2010 be the Default Web application when accessing the server? Thanks, Aaron ...

How to Change SharePoint 2010 Project from Sandboxed Solution to Farm Solution

I created a new sharepoint project in Visual studio 2010 and by mistake it was sandboxed solution, after finishing my development its wont build because i am adding items to controltemplates and its saying i need to have the project as farm solution, so how to change th eproject type ? ...

Creating user in active directory

I'm gonna build a webpart for creating user in active directory . For creating user account i use method like this : public string CreateUserAccount(string ldapPath, string userName, string userPassword) { try { string oGUID = string.Empty; string connectionPrefix = "LDAP://" + ldapPath; DirectoryEn...

SharePoint Lookup field, what is it?

SharePoint Lookup field, what is it? Please share, thanks. ...

Sharepoint 2010 sandboxed solutions - where to put images/css/javascript files ?

In Sharepoint 2007/ 2010 not sandboxed you could place images/css/javascripts etc. somewhere in Sharepoint root folder or in wpresources folder. What is a good/working place to put these files in sandboxed solutions? ...