sharepoint-2007

How to use the GetChanges method of SiteData WebService

那年仲夏 提交于 2019-12-11 02:04:09
问题 Can anyone elaborate on the parameter values to be supplied for GetChanges method of SiteData Web Service? Basically I am not able to understand what value should we supply for startChangeID and EndChangeID and from where can we get these values? Any help on this would be greatly appreciated. Thanks. 回答1: Try calling GetContent first with string result = mysiteDataServiceInstance.GetContent(SiteDataService.ObjectType.ContentDatabase, myContentDbGuid.ToString(), "", "", false, false, ref

SharePoint: Do not see any Filter Web Parts

只谈情不闲聊 提交于 2019-12-11 01:29:56
问题 In the official Office 2007 site there are numerous reference to Filter Web Parts. When I try to add one of them, the Web Part list in my Sharepoint doesn't show any Filter Web Parts. Please post if anyone experienced the same and any resolution. Thanks 回答1: in MOSS activate the Office SharePoint Server Enterprise Site Collection features Feature 回答2: Maybe you are using wss 3.0 ( Windows SharePoint services) and not the MOSS 2007? wss does not have filter web parts. 回答3: As Nico said they

Feature Event Handler called multiple times for Farm level feature - sharepoint 2007

妖精的绣舞 提交于 2019-12-10 23:16:00
问题 I've a farm scoped feature which has an event handler. The feature is activated by default on installation. After I installed the feature I found that the FeatureActivated event has been raised mutiple times (I've three web apps in total excluding central admin and it is called three times). Because of this the feature deployment is extremely slow (as I'm doing some webconfig modifications for each web application). Any ideas? 回答1: I have had a similar problem in the past. I created a static

SharePoint 2007: How to Restrict Access at the Field Level?

£可爱£侵袭症+ 提交于 2019-12-10 19:05:25
问题 Is it possible in a SharePoint 2007 list (MOSS, though I don't think that this is Enterprise Edition) to allow users in one SharePoint group to edit values in some fields and users in another group to edit values in the other fields? From all the searching I've done, this does not appear to be possible, so as a fallback I'll accept answers that suggest the best way to accomplish something like this (e.g. maintain the items in separate lists, linking them by ID). I do not have access to

how to check-out document in document library programmatically in sharepoint

眉间皱痕 提交于 2019-12-10 18:42:32
问题 how to set a document in check-in/out mode programmatically by using webservices or objetmodel in sharepoint 回答1: You need SPListItem.File.CheckOut / SPListItem.File.CheckIn from the object model. I don't know how to do this using the web service though. 回答2: You need the CheckInFile and CheckOutFile web methods of the Lists webservice. The calls are pretty straight forward. Hope this helps. 来源: https://stackoverflow.com/questions/2431397/how-to-check-out-document-in-document-library

Sharepoint UpdateList Method : Newly created Columns are not visible

两盒软妹~` 提交于 2019-12-10 17:22:41
问题 I worked on code .It is working successfully. But Problem i am facing is: New Columns are not visible in List ( I tried with With Setting Required = "TRUE" ). I tried with compairing Field Value of Both Visible and No-Visible Columns. Difference i found is : Visible Columns (Created Manually) doesn't contain Version value. wereas columns i am creating have it. So i tried with passing null value to "ndVersion.Value". But it is still not working and automaticaly putting some value to version.

Publishing an Excel Workbook in Sharepoint Site

三世轮回 提交于 2019-12-10 16:17:05
问题 I have an excel workbook and I need to publish it in a SharePoint site using Excel VBA. So I created a method in a module using the below code: Private sc_Lists As SoapClient30 Public c_WSDL_URL As String Private Const c_SERVICE As String = "Lists" Private Const c_PORT As String = "ListsSoap" Private Const c_SERVICE_NAMESPACE As String = "http://schemas.microsoft.com/sharepoint/soap/" Private Sub Class_Initialize() Dim str_WSML As String str_WSML = "" Set sc_Lists = New SoapClient30 c_WSDL

How to Programatically Download files from sharepoint document library

一世执手 提交于 2019-12-10 13:58:12
问题 On button click event or on Link button click, I want to download document from sharepoint document library and save it to the user's local disk. Plz help me on this,If you have any code sample then please share 回答1: The problem with outputting a direct link to the file, is that for some content types it may just open in the browser window. If that is not the desired outcome, and you want to force the save file dialog, you'll need to write an ASP/PHP page that you could pass a filename to via

where is csharp source code is used sharepoint [closed]

强颜欢笑 提交于 2019-12-10 12:37:28
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 9 years ago . please provide the csharp area in sharepoint. what are the part csharp source is used. how can be document loaded in the sharepoint. whether it can be done through by c sharp. 回答1: Almost everything on SP is

Get all webpart properties via PowerShell for each page on a SharePoint site

流过昼夜 提交于 2019-12-10 11:28:57
问题 I have a site in SharePoint 2007 (not mine personally) with some subsites. For each subsite, and each of its pages, how can I get all the webpart's properties? This is using PowerShell (the server does not have Visual Studio, another matter). 回答1: You will probably have to do some batch programing, iterate sites, pages ... but maybe you can find solution on these links: Automating SharePoint 2007 Configurations via STSADM and PowerShell Enumerate Page Web Parts You can also write program on