sharepoint

SharePoint - simplest solution and feature config to register a server control?

I would like to know what the XML is for the simplest feature and that will register a Server Control in the GAC, and add it the safe controls section of the web.config for the SharePoint site. My assembly: MyServerControl.dll (MyServerControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3249363c0f6f8c59) I can manually add it to...

Export a SharePoint Custom Content Type That Inherits from Contact to Outlook

I've created a custom content type that inherits from the built in Contact content type in WSS 3.0. When I create a list instance and assign my custom content type, there is no "Connect to Outlook" option like there would be if an end user created a new "Contact" directly. Am I doing something wrong or is this a limitation of SharePoin...

Read Data from 2 Lists into the Third List in MOSS 2007

I got 2 lists displaying invoice details, now my boss wants to read specific field from these two lists into a third list, any help will from anybody out there? I'm new to SharePoint. ...

SharePoint Default View Ignores Custom Title DisplayName

I've created a custom content type that inherits from a contact (i.e. <ContentType ID="0x010600...") and I'm trying to rename the "Title" field using the following: <FieldRefs> <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" DisplayName="Last Name" Sealed="TRUE" /> <FieldRef ID="{82642ec8-ef9b-478f-acf9-31f7d...

SharePoint user's AD group membership

I've been tasked with creating a SharePoint web part for our new web site. One of the things it needs to know is which AD groups the current user belongs to (each site user will belong to one or more special security groups within the domain.) Is there a part of the SharePoint API that exposes this information, or do I need to query AD d...

Should I use a workflow or event receiver?

I want to build a custom content type that will be the basis of a list item that will have multiple states. The various states will determine which list will instantiate this item. It will move between the states, and therefore the lists, based on user actions. I have a few choices to implement this: Create workflows on each list th...

How to validate data input on a sharepoint form?

How does one verify a text field with another list's column? I am currently populating a Drop down list with a datasource and then comparing the text field with items in the dropdown using javascript. Is there a better way? The second problem I am having is how to trigger the Validate Function. I am aware of two custom forms for addin...

Sharepoint choice field

I need a choice field (in a site column) to reference a list I am importing into sharepoint. This list will very infrequently be updated to add additional choices. How would I create this column? Programmatically? Well see it is a lookup per say... just trying to figure out how to code it... I'm assuming I need to import the list fir...

How to access the Sharepoint SPNavigationNode.QuickLaunch Property?

I have a site as follows: --SiteA ----Subsite1 ----Subsite2 Now whenever i try to access the QuickLaunch Property its always empty e.g SPNavigation nav = spWeb.Navigation; if (nav.QuickLaunch.Count == 0) { // ALWAYS TRUE } However if i go into the Naviation Settings (Through the UI) of SiteA and reorder any site in the list, o...

Adding a required field validator to a SharePoint webpart

I am writing a webpart for MOSS 2007. I need to validate a text field in that webpart, or which I am using th required field validator. I am creating the required field validator as follows: vldProjectError = new RequiredFieldValidator(); vldProjectError.ForeColor = Color.Red; vldProjectError.ErrorMessage = Resources.LABEL_PROJECT_ERR...

Custom development with "out of the box" Sharepoint

I'm currently working on moving a legacy Visual FoxPro app to the web. Our plans included purchasing an application framework such as Strataframe or MM .NET, both VFP friendly, and also some third-party controls to speed up development. Well, we recently heard that we're probably going to have to host this app using "out of the box" Sh...

SharePoint Web Service Credentials

I'm trying to consume the standard SharePoint web service GetWeb in the code-behind of an InfoPath form. The form is hosted as part of a workflow, so loaded inside the browser with Forms Services. It therefore runs on the credentials of the current user logged into SharePoint. The web service runs if the user is in the Owner group of the...

How do I consolidate entries from multiple employee blogs into a single RSS feed

Our current SharePoint environment has Mysites setup as separate site collections where users create their blogs. It is a real challenge to know these blogs indivdually and I usually grab the RSS feed the first time I visit and then susbcribe from within Outlook. To help out non-techies, we'd like to be able to consolidate the entries fr...

How to implement a sharepoint lists webservice

I want to implement a web-service that uses the same interface as the Lists web service in sharepoint. I do not want to run this through sharepoint. What is a good way to get started in this? I have tried to use the wsdl.exe tool to generate some wrapper classes but the generated wrappers seem to have punted on the structure parameters ...

SharePoint Designer Workflow: Unruly 'Collect User Data' Action

I'm a student in a SharePoint class online. This problem has riddled everyone I've discussed it with, including the teacher. There seems to be some sort of problem when I create a workflow with the collect data action. I can create workflows that send e-mails and use the other actions just fine. What could be causing this problem? My re...

Some SharePoint pages serve as http in https environment

I have a WSS 3.0 system using SSL where every page is supposed to be served as https. Almost all pages do come out as https, but in certain cases I click on a link and that brings up an http version of a page (which does not load). In those cases I have to put the 's' in by hand to get the page to load. Places where this happens are: /...

C# VSTO Outlook 2007 / Sharepoint: AddIn wont save contact item

can somebody help: i have an AddIn which reads contacts from a Sharepoint Server. The user can load a contact and make some changes or create a new one. At his point, saving the item works well. The Form closes and the item is beeing transfered to Sharepoint. But if the user reopens the same contact again and trys to make a simple change...

MOSS - Which would you choose - 120+ additional columns, or a separate linked List?

Hi folks, I have a design conundrum that I could use some feedback on, so I'm hoping my fellow SharePoint experts can help me work this out. I am managing a set of Projects in a single MOSS List (List1), where the "Project Name" column will be treated as a 'primary key' (at least in my mind) for related Lists. Each Project will have as...

Is it possible to obtain a reference to a silverlight's page from a WebPart?

Hi. I'm wondering how to communicate with this Page class defined in Page.xaml.cs: public partial class Page : UserControl { public Page() { InitializeComponent(); } private void TextBlock_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { if (HelloWorldTextBlock.Text == "Hello World") ...

PerformancePoint and Sharepoint list as a data source

I was asked to create a very simple dashboard using a Sharepoint list as my data source using the Dashboard Designer tool. I can create the datasource, retrieve the list and see the data in a tabular format. Now, when I try creating a KPI or a ScoreCard out of that list, I get a 'Unable to retrieve list' error. Has anybody else run in...