moss

SharePoint Personalization With Application Pages

末鹿安然 提交于 2019-12-06 14:32:42
问题 I am trying to implement personalization (WebPartManager and WebParts) on ASP.NET application deployed to SharePoint as application pages (Separate application and aspx pages deployed to _layouts). I'd like to take advantage of SharePoint personalization provider, so I can just wire up the provider to WebPartManager in the ASP.NET application. However SharePoint seems to call SPRequest object to perform these tasks, and does not have a provider for personalization. The second option I tried

Saving a document to SharePoint brings up “Web File Properties” dialog with incorrect metadata

人走茶凉 提交于 2019-12-06 14:23:33
问题 Situation: A custom "Master Document" content type inherits from Document The "Master Document" content type has five additional choice fields There are five custom "Document Template" content types that inherit from the "Master Document" content type Each of the "Document Template" content types uses a different Word document template (.dot) file Each of the "Document Template" content types have been added to a document library Problem: I click on a document in the library Document opens up

Sharepoint, ajax and page title

一个人想着一个人 提交于 2019-12-06 08:03:32
问题 I have strange problem with sharepoint and ajax functionality. We have an UpdatePanel placed inside webpart. When partial postback occurs, page title gets missing. We have found that temporary partial solution is to write title element into one line and not use any spaces or controls inside it..not even a literal control. But we need some way to provide sommon title for all pages, so title would look like this: My default title - Current page title Any ideas how to solve this? 回答1: I don't

Creating Sharepoint/MOSS sitemap

懵懂的女人 提交于 2019-12-06 07:26:14
I'm trying to create a sitemap for my MOSS publishing site, i've got two approaches but seem to be stuck with both. My first approach is to use the PortalSiteMapProvider, which is already created and nicely cached... PublishingWeb rootWeb = PublishingWeb.GetPublishingWeb(SPContext.Current.Site.RootWeb); //Get the URL of the default page in the web string defaultPageUrl = rootWeb.DefaultPage.ServerRelativeUrl; PortalListItemSiteMapNode webNode = (PortalListItemSiteMapNode)PortalSiteMapProvider.CurrentNavSiteMapProviderNoEncode.FindSiteMapNode(defaultPageUrl); HttpContext.Current.Response.Output

In a meeting workspace get all agenda items from a list programmatically

落爺英雄遲暮 提交于 2019-12-06 06:59:50
问题 I want to get all items from a specific list in recurring meeting workspace. I tried to execute the following CAML: <Query> <Where> <IsNotNull> <FieldRef Name='ID' /> </IsNotNull> </Where> </Query> But it only displays data for the upcoming meeting. However when I open list, from actions menu I can choose to display data from all meetings. That makes me think it is possible. I know I can convert the list to series items so they appear in all meetings, but it is not that I want. 回答1: Yeehaaw!

An unexpected error has occurred

蹲街弑〆低调 提交于 2019-12-06 06:28:44
I have created an asp.net web application on my local machine and I am deploying it to sharepoint. For that I am refereing the following Deploying ASP.NET Web Applications in the Windows SharePoint Services 3.0 _layouts Folder [ http://msdn.microsoft.com/en-us/library/cc297200.aspx] Its works perfect on my local machine but when I was trying to deploy the same on clients machine it was giving me the " An unexpected error has occurred. " Error. The scenario is, There is not visual studio install on my clients machine so what I was doing is I simply copying my solution folder in 12'hives LAYOUT

MOSS 404 errors for some users on certain sites, sometimes

ⅰ亾dé卋堺 提交于 2019-12-06 05:47:36
Everything works fine for most accounts 100% of the time but here and there some users who are able to access a subsite fine one day are greeted with a standard 404 the next. This can last for an hour or two days, it's really inconsistent. I check the iis logs and it says the status is also a 404 for these requests, nothing else looks unusual. Sharepoint logs have nothing for the timestamps either. Correct me if I am wrong but if it was a permission issue an access denied message would be shown. It is not the individual computer because when a user is having this problem and I can log in with

Customize MOSS People Picker (PeopleEditor) Control

拥有回忆 提交于 2019-12-06 04:43:39
问题 I have modified my MOSS 2007 configuration to query a given target AD successfully. I would like to show some custom LDAP fields (such as country) in the PeopleEditor control and allow users to search against these fields. Can someone point me towards useful resources/tutorials showing how to do this? Thanks, MagicAndi. 回答1: You need to inherit from the EntityEditor control (just as PeopleEditor does) and write your own queries and validation. Some background (read community content):

How to get notified about changes on SharePoint groups.

与世无争的帅哥 提交于 2019-12-06 04:43:15
问题 I'm actual looking for a way to get notified about any changes on a SharePoint group. First I though I would be able to this by attaching a event handler to some kind of group list. But unfortunately there are no such list representing SharePoint groups. My second attempt was to bind a event handler to the content type SharePointGroup but this didn't work either. So are there any other options to get notified about events on a SharePoint group? EDIT: Thanks for the reply so far. I forgot to

Data disappearing after ItemUpdate in Sharepoint with Office 2007 documents

拟墨画扇 提交于 2019-12-05 22:47:09
I have a simple event handler with a ItemAdding event that changes a column value that I need in the ItemUpdated method. After uploading a word 2007 document (*.docx, *.pptx or xlsx) the value of the column is changed, but when I protect the document the value of the column disappears in the ItemUpdated method. This only happens for office 2007 documents, other files don't clear the value. The event handler runs in a document library in MOSS 2007. Thanks We have the same issue. It appears that the properties from the list are added to the office 2007 doc, but only with the default values for