sharepoint

how to set different views for admin and user

Hi I am little new to SharePoint. Here is my question How can we make different views for administrator VS logged in user. For instance I need to display the quicklaunch only to admin and not for user. And user should not see site actions tab. How can we set this. Please can anyone come up with solution or any blog that we can refer? ...

Sharepoint workflow: creating a task at another site

Hi all is it possible to create a task in a task list in a site other than the site to which the workflow is deployed to. thanks ...

Multi-step Workflows: make Workflow A depend on results of Workflow B and/or Workflow C

I have been tasked with creating a Software Installation Approval section for our Intranet. When a person requests that a particular piece of software be installed on their workstation, we need to get IT approval and then business approval. Once those are obtained, it is to be installed. I am using Sharepoint Designer to do this. I have...

SPException: Catastrophic failure (Exception from HRESULT: 0x8000FFF (E_UNEXPECTED) in Sharepoint

Hi all: I've been trying to programmatically copy custom content type and its custom columns from one web to another for some time now, and I always get different errors or exceptions every time. After yet more tries, I received more strange and cryptic exception from Sharepoint after clicking onto a newly copied custom column in a cu...

SP Gridview link button column not working

Hi I have one sharepoint custom page application which is rendering from a user control. In the user control page, i had used SPGridview for displaying data. My first column is Title Column (link button column), when the user click on the link, then one popup window will open with corresponding data. But the problem is the link button i...

how to hook up default beforeunload event on an aspx page ?

I have a custom web part placed on one of the application page in SharePoint. This page it seems already have a function which gets executed on windows beforeunload javascript event. My problem is that i too need to execute some client side code (to prompt user for any unsaved changes in my web part) on windows beforeunload event. Ho...

SharePoint form-based authentication with custom database

Hi, I have SharePoint site and I want to use form-based authentication, not Windows how it is by default. For this I read that I have to modify the web.config from Central Administration and web.config from my site with the membership and roleManager tags configured properly. But if I use this: <membership> <providers> <add name="My...

i m new to sharepoint and confuse, where coding take place in sharepoint application as other normar asp.net application

hello, i m new to sharepoint and bit confuse, i don't understand where coding take place in sharepoint as other asp.net application. how it work if i have to create a page for adding record to database. ...

Building webparts with Visual Studio 2010 Express

Hi, I'm trying to get started with building my own webparts, planning to follow this MSDN article. I've downloaded Visual C# 2010 Express - I'm not quite at the point where I feel comfortable dropping 1000 big ones yet, and I installed Visual Web Developer 2010 Express via the WPInstaller. Following through the tutorial, aside from th...

What's the best free open source alternative to MS Team Foundation Server?

I have a team developing software in MS Visual Studio and now they want to start using MS Team Foundation Server, mainly for versioning and maybe patch and bug tracking. They don't have any experience with MS Team Foundation Server, but they are very enthusiastic with MS products. So whats the best free open source alternative solution? ...

Search an item based on a custom property

I started this task assuming it to be pretty trivial one. However, going to the depths i find that its either not that simple or may be i am using a wrong approach here. In my case i have a number of documents which are not in the same directory however, they have the same names/title. What i want is to carry out a site based search and ...

How can i create a shortcut file to a sharepoint document library so that i can email it to people

I need to create a shortcut file that links to a sharepoint document library and then send that in an email (don't worry about outlook blocking lnk files). I have had a look at how to how to create a standard shortcut file in C# but this fails when you give it a server address (\servername\site\documentlibrary) Does anyone have an idea...

How do I remove the help icon and link from the SharePoint header?

According to Microsoft, the SharePoint help pages present a security concern and should be disabled. Since we don't want users clicking on a broken help icon, it needs to be removed as well. What's the best way of removing the icon and the separator pipe that's to the left of it? ...

Sharepoint webpart combobox of lists

Hi, I have a webpart that works off of a list but what I'm trying to do create a dropdown that contains a list of sharepoint lists so that when the user edits the page and selects 'modify shared webpart' they are able to choose a list item and that gets parsed back to the webpart. Any examples or links to examples appreciated! Thanks ...

GetListitems results from SharePoint?

The GetListitems web service relies on XML to retrieve data from SharePoint. Some actual working code is: var doc = new XmlDocument(); doc.LoadXml("<Document><Query><Where><Contains><FieldRef Name=\"DeliveryStatus\" /><Value Type=\"Text\">Created</Value></Contains></Where></Query><ViewFields /><QueryOptions /></Document>")...

WCF Service w/ SharePoint Error: Could not find default endpoint element that references contract....

Full error message: Could not find default endpoint element that references contract 'PublicationServices.IPublicationService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be fou...

Asynchronous Webpart

Dear all, I have a DataGrid control on webpart. DataSource of it connect to SQL. How can we use Asynchronous mode in this case ? Please help me ! Thanks / Phong Dang. ...

How to modify my Response.Document XSD for getting author name form Sharepoint

Hi, This is my XSD currently <?xml version="1.0" encoding="Windows-1252"?> <xsd:schema xmlns:tns="urn:Microsoft.Search.Response.Document" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="urn:Microsoft.Search.Response.Document" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt; <xsd:import namespace="urn...

Sharepoint - Discussion replies show as ‘Dispform.aspx’ in search results

In a sharepoint search search, the results page shows 'dispform.aspx' as the page title on replies to discussion posts. Ideally i'd want it to say 'RE: discussion title'. Does anyone have any idea how to achieve this? EDIT - should probably point out that we have dozens of discussion forums and new ones are being created all the time....

any way to get sharepoint groups with a given site url

Hi all. I'm getting a stuck. Suppose that I create 5 sites. For each one, I create a few sharepoint groups. So, I create a dropdownlist control to bind 5 sites and when I click on any site there, I will get sharepoint groups created on it. But I always see the dropdownlist used to bind these groups still never change. I mean it only bin...