I am trying to print the breadcrumb and title of a page in share point using a custom.master. I tried using the following code:
<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" />
<asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server" />
This is not outputting anything to the screen. The brea...
I want my Custom Action Menu to be applied to particular list; currently its specified with the following XML and it gets applied to all the lists!
More specifically speaking; I even want this custom action to be applied to a particular view of the particular list...
<CustomAction
Id="MyCustomActionId"
Title="My Custom Action"
...
Below are 2 code snippets used to check if a folder exists in a SharePoint document library.
The PROPFIND method seems to work, while the other method, using HEAD results in a 401.
Can someone please tell me why? Don't get distracted by the credentials, I've set it to the same in both examples, and it works fine....
Here is the code ...
I found this web part for Exchange 2003, but in exchange 2007 even after user login, web part shows exchange 2007 owa login page (instead of current user inbox).
How I can show current user's exchange 2007 inbox in moss 2007? Any Idea?
...
I've developed a SharePoint 2007 custom list with a single custom content type derived from Item. The problem is that I only get major versions when enabling versioning on the list. Is it possible to get minor version on a custom list? If not, does anyone know of a post explaining a good approach around how this might be accomplished for...
In the MOSS 2007 "Site collection users" page (... > Site Settings > Site Usage Summary > Site users), under the "User activity (past 30 days)" section there is a list of site users with their statistic (e.g. sharepoint\system). However, the link associated with each user points to a local server port URL (e.g. http://ssn1:23543/Person.a...
I have a document library that I am accessing programmatically as an SPList. When I use the LastItemModifiedDate property of the list, the DateTime returned is {1/7/2010 1:37:41 AM} but when I browse to the document library (with my web browser) I can see the most recent modified date is 7/01/2010 12:37 PM (this is the correct local time...
Hi
I was able to retrieve all the web application names within a farm using object model.
But I could not find a way to display all the web application URLs within a farm.
Can some one help me with this?
Thanks
Carol
...
Hi,
This is my code which checks if a SharePoint site exists or not.
string URL = Console.ReadLine();
using (SPSite objSite = new SPSite(URL))
{
using (SPWeb objWeb = objSite.OpenWeb())
{
Console.WriteLine(string.Format("Site Exists: {0}", objWeb.Exists.ToString()));
}
}
However, it doesn't seem to work. The "Exists...
I have 2 SharePoint servers, an old pilot SP 2003 server and a new SP 2007 production server.
One of the sites in the 2003 server is invaluable and contains a couple of advanced custom lists and document areas that would be a real pain to manually transfer over.
I've looked everywhere for a solution to EASILY move or copy the site from...
Hello everyone,
I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I want to develop a portal application with login function (logged-in user could have more function to use on the site).
I want to know what are the pros and cons compared of using publishing portal v.s. collaboration portal template?
tha...
Is there a way to search profiles in MOSS from the object model? I need to search for profiles that have a certain value set on their profile and then perform some action for them.
I need to write some c# code that can search the profiles database and return the matching profiles. Basically,
List of Profiles = Select Profiles Fr...
Hello, I'm trying to use FullTextSqlQuery in to find a list of sharepoint sites a user has access to. Here's my code:
SPFarm farm = SPFarm.Local;
SPWebServiceCollection webServices =
new SPWebServiceCollection(farm);
foreach (SPWebService webService in webServices)
{
foreach (SPWebApplication webApp in webService.WebApplicatio...
Hello everyone,
I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. And I want to develop a WebPart, like a tab based control, like task manager, items (e.g. processes, users, etc.) are managed by tab on the top for different categories, and in each...
Hello everyone,
I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. And I want to develop a WebPart, which refers css and javascript (.js) files. My question is (1) how to deploy css/javascript files and (2) ho...
I'm attempting to structure multiple levels of site navigation by using the "Modify Navigation" setting (Site Actions > Site Settings > Modify Navigation)
But it seems the UI on that page doesn't let me create pages which are children of other pages, or create folders which are children of other folders.
Basically, I need to create not...
Hi,
I am trying to use Sharepoint solution installer to package and deploy my wsp file. My question is how do I deploy the images associated with my webpart? Do I use setup.exe.config (part of Sharepoint solution installer) [http://www.codeplex.com/sharepointinstaller] or do I do this within my WSP template project itself then use the W...
I've create a custom list and included the basic pieces (schema.xml, list template,..) to package it as a .wsp. I have a list instance defined, but I would like to add some folders to the xml. I know you can add SPListItems using ..., but I'm not sure how to add an SPFolder. Ultimately I want to add some SPFolders to the list instance b...
I have a similar situation to this question.
I have a custom sequential SharePoint workflow, deleoped in Visual Studio 2008. It is associated with an InfoPath form submitted to a form library. It is configured to automatically start when an item is created.
It works sometimes. Sometimes it just fails to start.
Just like the questio...
I've create a custom list with schema.xml, custom DefaultTemplates.ascx [copy of the DefaultTemplates.ascx render template "ListForm"], and custom variations of the NewForm.aspx, EditForm.aspx, and DispForm.aspx. I've hooked up the forms in the schema.xml and clicking "New" on the default AllItems view does go to NewPage.aspx as I would ...