sharepoint

Adding attributes to SharePoint Web Control

I'm trying to add an attribute to a SharePoint web control: Microsoft.SharePoint.WebControls.BooleanField which basically renders as an html input checkbox control. How do I add an attribute to this? such as an event? Normally for an asp.net web control, you can just do: sampleControl.Attributes.Add("onclick", "alert('test');"); An...

Sharepoint as an Enterprise Content Management (ECM)

I work for a large organization and we have been utilizing SharePoint for document library. Yesterday my boss called me to his office and asked me: "I heard that SharePoint is an ECM! So what can it do for us?". "What kind of problem do you want us to solve utilizing SharePoint?", I replied. "I want to know what it means when they s...

SharePoint crawling files in a file server

Is SharePoint capable of crawling files that are store in a file server? If yes, how? ...

How to change Site Title and Description using Sharepoint Web Service?

I want to read and change the Title of sharepoint site (both SPSite and SPWeb) using Sharepoint web services. I have the url to the sharepoint site. Wanted to change the title of the page using the sharepoint web service. Cannot create a SPWeb. Any input. Thanks ...

Migrating document libraries from sharepoint 2003 to sharepoint 2007 with version history tool problem

I'm actually trying to get splistcp to work (referenced in hxxp://stackoverflow.com/questions/272630/how-to-documents-from-sharepoint-2003-to-sharepoint-2007-with-versioning/884609#884609), it seems perfect for my situation. However I keep getting a message saying that there was a problem accessing the destination SharePoint list web ser...

sharing common data on sharepoint

I have a large list of projects with project dates both projected and actual. I want to share all the dates and all the projects with our internal team, but want to limit the access of our external contractors to just those projects their company is assigned to complete. I tried managing the content with folders and permissions, but di...

Sharepoint Navigation URL in All Capital Letters

I see this behavior from time to time where a site's URL will be in all capital letters when linked from the navigation. The site's name is not all caps, and the URL is properly cased in most situations. The all uppercase treatment appears to come and go, and is not related to anything. Has anyone else seen it or know how to stop it from...

use sharepoint forms authentication users to login to remote sql server

The Sharepoint setup I am dealing with is as follows: - forms-authentication sharepoint server - with the users database stored on a remote sql server - we have a custom asp .net application put on tip of sharepoint, that is being run from the __layouts_ folder; the application gets all its content from a remote sql server (nothing to do...

PlaceHolderPageTitleInTitleArea

For some reason the asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" Visible="true" is not outputing a value in the root of my site - it works perfectly for all the subsites, just not the main one. Any ideas ...

Execute SPDatasource query in Console App?

Is it possible to execute an SPDataSource object query in a console app for testing? e.g.: SPDataSource source = new SPDataSource { UseInternalName = true, DataSourceMode = SPDataSourceMode.List, SelectCommand = "<View/>" }; source.SelectParameters.Add("WebId", TypeCode.String, "rootweb"); source.SelectParameters.Add("List...

Difference in Sharepoint and .Net development?

What is difference in developing applications using .Net Framework, Asp.net and developing application in Sharepoint (MOSS or WSS)? ...

How should SharePoint developers work with the graphics designer on their projects?

The graphics designers that I've worked with on SharePoint projects don't know/understand a lot of SharePoint. Particularly they don't know SharePoint Designer which is basically required for developing publishing sites. To get around this, I've found the following workflow typically eventuates: Use a web browser to save off a copy of...

Customize SharePoint:FormFields to a specific height..

Hi All, I'm customizing a NewForm.aspx page and I've created a few new SharePoint:FormFields in the form of textboxes. I'm looking to customize the height of these boxes on a case-by-case basis, but I can't figure it out. I've looked into DisplaySize, but that only controls the width of a specific textboxe, and I've seen adding in: <s...

Custom field type derived from SPFieldCalculated

I am trying to create a custom field type which will display values based on another field in the same list. (basically, display some images based on the value of the source column) Since this column derives it's data entirely on the basis of another column, i need to make sure the column values are not stored in the database. So, i t...

Sharepoint WSP Solutions and page URL's

I’ve been playing about with wsp solutions and a question has occurred to me about how to access an aspx file that is located on the file system from within the sharepoint web application. For instance, here is my visual studio explorer view… You can see the aspx file I’ve created, when I browse to this file in my sharepoint web appli...

sharepoint - deploy web service without creating a virtual directory

I have a wcf web service and want to deploy that to my sharepoint solution. in IIS I have created a virtual directory that points to the webservice in C:\Inetpub\wwwroot\wss\VirtualDirectories\80_wcf. the web service was copied across from the 12 hive to this directory. is there a nicer way of just deploying the web service and not hav...

SharePoint - get value of calculated field without manual parsing

I have a calculated field in a list with this formula: =CID & " - " & Title. When viewing the list, it might display as: "2 - Big Meeting". When I grab the value from code like so: myItem["CIDandTitle"] the value comes back as: "string;#2 - BigMeeting". Is there a "correct" way in sharepoint to extract the value or should i simply spl...

Is it possible to use VBScript or JScript to instantiate SharePoint objects?

I want to be able to run VBScript or JScript on a server using cscript.exe to manipulate SharePoint through the object model. For example, to update the log file location: Microsoft.SharePoint.Administration.SPDiagnosticsService serv = new Microsoft.SharePoint.Administration.SPDiagnosticsService(); serv.LogLocation = @"E:\"; serv.Updat...

Publish Cognos Content in Sharepoint 2003

What are my options? I'm researching a 3rd party called QueryVision, but would like to explore other alternatives. ...

Programmatically creating list from CheckoutStepsTemplate throws exception

(This question has been cross-posted on the MSDN forums here.) I'm working on a custom SharePoint/Commerce Server site, and I have a custom feature which is designed to do two things: provision some pages through modules, and provision a list of checkout steps, using the CheckoutStepsList template in a feature receiver. For some reason,...