sharepoint

Sharepoint 404 error after renaming subsite

こ雲淡風輕ζ 提交于 2019-12-25 03:44:13
问题 I renamed a Sharepoint site directory site from "Sites" to "Team Sites" and then back again. Now whenever I try to access it, or any of its subsites, I get the error HTTP/1.1 404 Connection: close Date: Wed, 04 Nov 2009 13:08:59 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET MicrosoftSharePointTeamServices: 12.0.0.6219 I'd be quite happy just to delete the site and create a new one but it won't let me (using Sharepoint designer) as there are subsites. And I can't delete the subsites

The connection “Connection” cannot be found. Verify that the connection manager has a connection with that name

落花浮王杯 提交于 2019-12-25 03:40:35
问题 I'm using an ODATA connection manager in SSIS to connect to a private Sharepoint Online, I manage to test the connection when I create the connection manager and to do a preview of my list when I'm in the designer. When I try to execute the package in VS I'm getting the following error: The connection "Connection" cannot be found. Verify that the connection manager has a connection with that name OData source failed validation and returned code 0xc020801A. I already created a new package and

Getting the SPWeb for a SPAuditEntry

℡╲_俬逩灬. 提交于 2019-12-25 03:32:35
问题 I'm currently building an app that will parse all of the Audit entries in a site collection and send out a pretty email to users. My problem is that the emails should be based on a particular web (essentially an email summarizing the changes that happened to each subsite). Apparently, there is no information in the SPAuditEntry object about the web it came from except for the DocLocation property. This means I can get any of the following DocLocations (ItemType = Document, Event = Update):

Why is LinkButton not executing the Click function from code behind

旧街凉风 提交于 2019-12-25 03:26:46
问题 I have a GridView which has these two controls: <asp:Button UseSubmitBehavior="false" runat="server" ID="btnShow" CssClass="btnSearch" Text="View All" CommandName="ViewAll" CommandArgument='<%#((GridViewRow)Container).RowIndex%>' OnClick="btnShow_Click" /> <asp:LinkButton runat="server" ID="btnShow2" CssClass="btnSearch2" Text="View Allst" CommandName="ViewAll" CommandArgument='<%#((GridViewRow)Container).RowIndex%>' PostBackUrl="JavaScript:void(0);" OnClientClick="return false;" OnClick=

SharePoint WebParts MVP Pattern

限于喜欢 提交于 2019-12-25 03:21:33
问题 Can anyone explain how to implement MVP pattern for SharePoint Webparts when you have user controls (with dropdowns) and webpart properties (or even more editorparts). Thank you so much. 回答1: Treat the webpart controls and the webpart properties (including the data they store) as view code. You really don't want to persist any domain model information inside the webpart properties. This makes it easier to create a presenter interface the both the webpart property and webpart control views can

SharePoint 2010 multiple users accessing same list issue

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 03:13:26
问题 We have a list with 1000+ phone numbers in it. This list is sorted in a specific order by due dates and other criteria. This order is very important and needs to be maintained in the solution. We have a group of callers (roughly 4) that will be calling the numbers in this list in the order they are sorted by. These callers are to be presented with one list item at a time, via an InfoPath form, and once they make the call they will update the list item and be presented with the next list item

Sharepoint online - Powershell - Rename\Move file

谁都会走 提交于 2019-12-25 03:00:55
问题 We are using online share point as part of our office 365 (my scripts are not running from the sharepoint server itself). I want to rename\Move files in the share point after i finish up processing them. I found a way to download the file to my pc but i cant seem to find the way to rename the file or move it to a different directory in the site. Environment : Sharepoint online Powershell : Powershell 3.0 i am using the following code to get the list of items `$ctx = New-Object Microsoft

Powershell to delete files from SharePoint Document libraries

爷,独闯天下 提交于 2019-12-25 02:55:36
问题 I am trying to multiple files from multiple SharePoint libraries in SharePoint 2010 on Application server in the farm with the below script: $list = Get-Content $libpath $web = Get-Spweb $url $lib = $web.Lists | where { $_.title -eq $libname } foreach ($libr in $lib) { $file = $libr.Items foreach ( $fil in $file) { If ($fil.Name -eq $item) { $fil.Delete() } } } The problem is that $libr.Items is coming up empty even though the library is not empty. $libr.Files $libr.Files.Name All showing up

Is creating SharePoint sandbox field types possible?

送分小仙女□ 提交于 2019-12-25 02:15:31
问题 I want to create custom field type for SharePoint Online. Therefore, AFAIK, it must be sandbox solution. Is there any possibility to create this? Or something that allows me to work on "single item level" on the list (not in edit form but on the list). Maybe some option in item menu or sth? 回答1: you have to remember that SharePoint Sandbox Model doesn't offer custom FieldTypes. There is a really good introduction for Sandboxed SharePoint Solutions on MSDN (http://goo.gl/uXGLo). SPIs like

sharepoint javascript collection not initialized error

我只是一个虾纸丫 提交于 2019-12-25 02:14:27
问题 I have a strange problem. It occurs totally randomly, I have no idea why and in what circumstances it comes. Details: I want to get the members of a Group with the executeQueryAsync function. In the callback the userEnumerator = users.getEnumerator(); row throws this exception: The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested. There is no other async code running. I dont know if this important, but