Usually, business people keep their documents in the SharePoint portal. I am (as a developer) would rather keep them in TFS (or any other source code repository) closer to the source code. Also in the latest case I would make folders structure in way like "Src", "Doc", "Data" to keep everything more consistent.
Could you please share wh...
Hello,
So, here is a problem that I am having with asp.net app inside of SharePoint (as page viewer).
When the Default page is loaded, it works fine. However, when I try to go to next page, i am getting a null reference exception. It looks like my session variables are becoming null on the next page (even though I set them on the pre...
Hi Everybody,
I have written a custom workflow in visual studio 2010 with custom Task Edit Form which is associated with content type and that content type is in turn associated with Task List. When an item is created in the target list to which my custom workflow is attached, a task item is created when I click on that task item it l...
I have a SharePoint 2010 portal, and it seems as though some people receive alert's with a language other than English for the alert's title.
You have successfully created an alert for '럢镛乪佟犋֣␓'
Can someone help me understand how that would happen? Is that a configuration on the SharePoint side? Configuration on each site? Configurati...
Recently, I've started getting the following error whenever I try to deploy certain State Machine Workflows to my local SharePoint instance:
This method implicitly uses CAS policy, which has been obsoleted by the .NET Framework. In order to enable CAS policy for compatibility reasons, please use the NetFx40_LegacySecurityPolicy conf...
Hi,
I'm running a number of CAML queries against a large list in SharePoint 2010, and displaying the results in a gridview to the end user. I wish to page through the results returned by the query to improve performance. However, I am required to display a total count of the items returned by the query on the paging control. My questi...
I'm using ajax to call a webservice which updates a sharepoint list.
It works when I call the code from unit tests, but running the code in a browser causes an exception:
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPCo...
For a project I am working on, I am trying to do the following thing.
There's a Sharepoint 2010 environment, with a few Custom Lists created in Visual Studio. I am adding some fields to them using background code in the FeatureActivated function in the EventReceiver.
What I am doing there is adding a lookup field to the Sharepoint Lis...
How do I get the value from a SPFieldBoolean object? Do I simply cast it to a boolean or do I need to do something further with it?
I am fetching it in an EventReceiver class during an ItemAdded event from properties.ListItem["fieldname"].
If there is a chance the field might not exist (and be null), how do I check for that?
...
This is a strange issue that I'm wondering if others have encountered when editing documents in a SharePoint document library.
Basic problem is as follows:
User1 edits document X
User1 checks in document X (say this new version is version 12)
Days later, User2 checks out document X, but the document they begin editing is actually vers...
It was previously asked but I won't include it for me.
Here is the code I'm using to include users from active directory to MS sharepoint:
private static Collection GetDirectReportsInternal(string ldapBase, string userDN, out long elapsedTime)
{
Collection result = new Collection();
Stopwatch sw = new Stopwatch();
sw.Start();
str...
Hi,
I have created a custom field type (derived from SPFieldText) and added a custom property "MyProperty". Now what I am looking for is, I need to use this field type in my Content Type feature.
How can I specity my custom property within a Content Type definition file, just like what we do with OOB field types?
I've seen a workarou...
I have a SharePoint 2007 custom list that I have saved as a list template. I am looking for a way to create a new list from the saved template via a web service call from an outside application.
I have already looked into the the basic web services available for SharePoint 2007 http://msdn.microsoft.com/en-us/library/bb862916(office.12...
I need to access a sharepoint application from my desktop application (written in C#). How should I pass credentials and verify authentication?
...
I am in the process of making a feature that consists of multiple items.
Currently it contains a Feature.xml file with 4 ElementManifest entries; two for a specific contenttype (Field definitions and FieldRefs), one for some webparts and the last is for a custom pagelayout. All of that is working fine.
I have altered the file with the ...
So, now that my previous problem was fixed, I was trying to organize the files a little bit. I found out a 'Note' type field (A multi-line textbox) was supposed to be a Multi-Pick User field. So, I decided to change that.
I seemed to change everything, but it just doesn't want to change the type. Which is much a good thing to do, seeing...
hi all,
in my sharepoint site, there is anonymous access. When the user clicks "Cancel" button in login dialog box, 401 unauthorized is coming. I want the page to remain on the welcome page of the sharepoint site with anonymous access, when he clicks cancel button. how to do this?
...
Hi
We have built 2 web sites on MOSS 2007 which have many customizations on pages and many ajax web parts.
Currently one of the sites is live and the configuration is as follows
Web server
Xeon 4 core processor
12 GB RAM
50 GB harddisk
SQL Server
Xeon 4 core processor
16 GB RAM
150 GB disk space
Servers are deployed as virtual ma...
What I am doing might be really stupid, if so, please correct me, but I am trying to do the following thing:
I want to have a list with (for example) the following items:
List Addresses
-Name
-Address
-City
-Country
But, based on their Country, I want to display different columns that I want to record in a List. For instance:
Count...
I have a SharePoint 2010 Site Configured with Claims based FBA. I have also made My Site work with FBA.
My question is:
In 2007 I would create a seperate SSP for FBA based my site and Set all configuration there. As SharePoint 2010 supports Service Application Proxy how can I isolate FBA based My site and Other AD sites.
While I was ...