Hi
I have one sharepoint application, in this i have to show the current user, i used SPContext.Current.Web.CurrentUser.LoginName. then it returns XXXXXX\abida. But i want only the username like abida. How to achieve this requirement?
...
While writing a front-end for the SharePoint Search web service for work, I did some quick testing with the MOSS Search Tool to make sure things were working right under the hood.
What I found was that queries composed only of CONTAINS predicates (FREETEXT ones were fine) would have a rank of 1000 for any results that were returned. Acc...
In my application before uploading i have to check whether file size is greater than upload limit.
How do we get share point file upload limit using web services in C#??
...
Our company is working with a great Business Intelligence tool CorVu 4.2 to analyse the operational and strategic data. Since several years we are successfully working with Sharepoint 2007 to collaborate and share information with colleagues. Most of my colleagues are working with Internet Explorer 7, but step by step Internet Explorer 8...
I am trying to add a GridView dynamically to a SharePoint Web Part. Right now, the first time I load the gridview, everything works fine. My gridview has an edit column enabled... so when I click that, it throws an exception when I try and add the gridview control on the postback.
The exception: "RegisterRequiresControlState can only b...
I want to create a SharePoint list using SharePoint web services (instance is SharePoint Services v3.0). That list should be built from the custom list template that I have created previously. Browsing through MSDN documentation resulted in the following resolutions:
services.ListsService.AddList(title, description, templateID);
or
...
Hi I'm using a xslt based dataview webpart the steps i have taken to create a data view webpart is that
added a list view webpart on the page
Modified the toolbar property to show fulll toolbar
open the web page containing above list view webpart in sharepoint desginer and converted it to xslt based webpart (to make further changes i...
Within the custom branding of a SharePoint 2007 site collection, I need to change the bullet images. Instead of using <li> tags, SharePoint 2007 uses tables and images as follows:
<tr>
<td class="ms-vb" style="padding-bottom: 5px;"><img alt="" src="/_layouts/images/square.gif"> </td>
<td class="ms-vb" style="padding-bottom:...
This field is part of a custom list definition in a feature. Originally this was a required field. The change to not being required was done simply by removing the "Required='TRUE'" from the schema.xml, packaged as a solution, deployed via stsadm -o upgradesolution, etc.
It works as it should on my dev box but not on staging. I've co...
Hi,
I need to get up to speed about developing a commerce site using MS-Commerce server 2009 and SharePoint 2007.
I was wondering where are good resources to get started, to explain the concepts and design, etc.
...
I created a Web Application called testwebapp and then a site collection (testsite). When I try siteCollection = new SPSite("http://localhost"); in Visual Studio 2008 it throws an error Web Application is not found. Of course, the localhost works in IE and I don't know why testwebapp doesn't work. Any ideas? TIA!
David
...
I have a SharePoint 2007 MOSS instance, and I'm on a fact-finding mission. There have been multiple developers, developing multiple webparts and deploying them (using VS2005/2008 SharePoint Extensions).
I thought maybe I could look at the fields in the "Web Part Gallery" list in my site, and look by "Modified by", but it looks like a de...
Environment:
SharePoint 2007 (Integrated Windows
Authentication)
Silverlight 3.0
(Communicating with SharePoint via
WCF)
On the SharePoint site, we have a list that contains links to other sites throughout the SharePoint web application. The silverlight app traverses this first list via Web Service call to /_vti_bin/Lists.asmx and m...
Hi,
On my MOSS site I am trying to save a publishing site as a site template. Then create subsites from this template.
I am able to sucessfully create the site template and it is populated in the site template gallery. Following these instructions.. http://blah.winsmarts.com/2007-7-All_you_ever_wanted_to_know_about_SharePoint_2007_Site...
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...
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...
At this moment every image which is uploaded to sharepoint has to run through the complete workflow before being shown to a end user.
This is not wished behaviour. What we like to approach is that an uploaded image is accessible directly to the end-user, without workflow or even approval action.
Is this possible, and if so, how?
...
Hi all,
I'm currently working on a SharePoint 2007 site which is setup to allow clients to author content on a staging server and then this is automatically pushed up to the live environment via content deployment. The content deployment is setup in the 'Content deployment jobs and paths' in central admin.
Now the problem I've got is t...
We have a SharePoint farm with a mixed set of users from two domains (Let's say A and B). Some of the users are being added with their A domain accounts and some with their B domain identity. We now now need to decommission one of the domain (B) and need all the B domain users to be replaced with their A domain accounts.
The problem lie...
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?
...