sharepoint

Can't preview web parts in web parts gallery

I get an "Unknown Error" when I click on any of the web parts in the gallery. What can cause this? Thanks, Eric ...

sharepoint list relationship question

I have two custom lists in sharepoint with a one to many relationship on a column in both lists. So list A has text column 1 and list B has a lookup column 1' on list A's column 1. I want to display the rows in list A, where column 1 has a match on column 1' and a 2nd column in list B with a specific text string. I have Sharepoint Des...

SPWeb.Webs, Site vs SubSite

Hi, I have a very basic question here. I am confused between SPSite. SiteCollection and SPWeb. So my understanding is (or what I could research on this) that, http://My_server >>> TOP Level SIte or SPWEbApplication http://My_server/My_site >>>> Site Collection or SPSite Now a site under SPSite that will be referenced through SPWeb. ...

sort by date in caml query

I want to sort my list items by date: I m using <OrderBy><FieldRef Name='SortDate' Ascending='True'/></Order By> but its giving me results randomly.Is it possible to sort by date in CAML if not then if there is any other way to retrieve list items sorted on the basis of date.... ...

WCF, Timer Jobs, Web Service which is better ???

I am working with a Web application, based on Asp.Net 3.5 and WSS 3.0 platform. Recenlty i've got a task as follows. Import bank statement using FTX - Desktop application and parse those statements into database in every 24 hours ie. i need to download bank statement with the help of a desktop application(which i can call by batch fil...

batch update SharePoint data

Hi, I need to import user profile information to a sharepoint list. Also, the user profile information will be periodically updated to the list , therefore i think i should use a timer job to update the information. Importing for the first time works without any issues. But can you suggest what can be the best way to update informatio...

How to get all possible values for SPFieldLookup

Hello! I have a lookup field in sharepoint which just references another list. I wonder how do I programatically enumerate all possible values for this field? For example, my lookup field "Actual City" refers list "Cities" and column "Title", I have 3 cities there. In code I would like to get list of all possible values for field "Actu...

Where can I find settings for Sharepoint Addin VS2008

does someone know where to find the deployment target settings for vs2008 when using sharepoint dev addin? Changed the web server and cannot find where to change the deployment target in my solution... did have a look in .sln and .csproj but no settings found Get reasonable error message saying it cannot connect to 127.0.0.1:8010 which ...

sharepoint - quick launch bar got expanded to full width on adding a custom control

We added one custom ascx in quick launch bar of the default master page in SharePoint. But after adding the ascx the whole layout of the site changed. The layout of the quick launch bar got expanded to full width. any solution ? ...

project hours worked to be sum of tasks hours worked.

i have a sharepoint list called project . this list has column called hours worked. Then i also have a list called tasks. this list also has a column called hours worked. the task list also has a lookup field where we select project ID from project list. Thus for each project we can have many tasks. now tasks list items are created by ...

How to update data in the user information list when using FBA

I've got to support a SharePoint web application which uses FBA with a custom membership and a custom role provider to authenticate the user against two different LDAPs. The user data are only stored in the user information lists. The SSP user profiles are not used. Now one of the users got married and therefore her surname got changed ...

Find the name and size of the uploaded document using Fiddler?

Will I be able to identify the name and size of a document that I am trying to upload into a SharePoint 2007 document library using Fiddler2 tool? ...

Can the ID from a referenced column be obtained when using SharePoint's Data View Part?

I have a Data View Part pulling from a list that has a lookup column to another list (title linked by ID) And somewhere in the XSLT of the data view web part configuration, it reads <xsl:value-of select="@ColumnX"/> Now since ColumnX is a reference to another list (linked to item), how do I go about obtaining the ID rather than the t...

Open an SPWeb from a single Url

When I want to get to a web, I usually have to do code like the following which is fairly self explanatory. using (SPSite site = new SPSite(siteUrl)) { SPWeb web = null; if (string.IsNullOrEmpty(webName)) web = site.RootWeb; else web = s...

No Business Data Connectivity Service associated with current web context error

I am running on a new dev setup for SharePoint 2010 and trying to setup some External Content types. I think that I have setup BCS correctly (since I see it running in the central administration). When I go into SharePoint designer 2010 and try to setup a new External Content Type, I get the following error: "There is no Business Conn...

SharePoint Document management Example

Hi All, I Need an example that will illustrate SharePoint Document management process in details. Any link,Case study for SharePoint document management will be appriciable. Thanks Sachin... ...

Sharepoint NewForm adding attachments programatically

I have a list with a custom form which contains a custom file upload control. As soon as the user selects a file and clicks upload, i want this file to go directly to the attachments list within that listitem. However, when adding the file to SPContext.Current.ListItem.Attachments on a new item, the attachment wont show up in the list a...

Feature Activation

We want to activate the existing future for more than 100+ site-collections, what would be the right choice? can we achieve this through Powershell? ...

Sharepoint Blog Category view - Pagination issue...

Folks, I am facing a rather strange issue. In my Sharepoint Blog, I am not able to view more than 10 posts when I click on the Category filter page. The page only shows the latest 10 posts and when I click on the pagination for the next 10, it simply says that "There are no posts in this category." I tried searching online and some one...

retrieving documents from sharepoint via web services using jquery

Hi, I am trying to develop a mobile application which can interact with a MOSS Site via web services. i expect it to be be able to; 1) retrieve documents (pdf, doc, docx, excel) 2) retrieve reporting services reports in a PDF or excel form. i will be using either phonegap or rhomobile to develop this app and i know that i can consume ...