Hot answers tagged

8

I run one at SharePoint Updates. Todd Klindt runs another.


7

We might have to manipulate/update the data without changing the Modified or Modified By fields to meet the business needs and also retaining the document/Item status without incrementing the version is also important aspect to be considered. In such cases SystemUpdate() method of SPListItem can be leveraged. This basically updates the content database with ...


6

After banging my head around for some days, the problem was solved by flushing the blob cache. This is the command I used on the Front end server $webApp = Get-SPWebApplication "<WebApplicationURL>" [Microsoft.SharePoint.Publishing.PublishingCache]::FlushBlobCache($webApp) Write-Host "Flushed the BLOB cache for:" $webApp https://technet.microsoft....


6

In this scenario you have to be clear about , If the solution contains the same set of files and features , that is no new features or files been added in the existing Installed solution then you can use Update-SPSolution command 2.If any new files been added or features been in the existing installed solution then you you need to foloow below steps: ...


5

I applied the CU for 2013 and so far no issue at my Test farm. A quick google tells me that their is one issue. March 2015 CU Task List Filter Issue SP2013 But this issue fixed in the May 2015. Also check this https://www.vioreliftode.com/index.php/sharepoint-incoming-e-mails-stuck-in-drop-folder/ As a Best practice, please apply the patch and perform the ...


5

There is no way to uninstall the CU from SharePoint. You have to rebuild the farm and restore from the backup. But in your situation, you dont need to worry, simply install the SharePoint server CU on top of Foundation everything will be ok. You will be safe. On side note, SharePoint Server bits include the SharePoint foundation binaries in it.


4

You can make use of JavaScript Date Object for that. For example, while reading the data var scheduledTime = new Date(oListItem["ScheduledTime"]); Now you can calculate the new Time as follows var today = new Date(); var newScheduledTime = new Date(today.getYear(), today.getMonth(), today.getDate(), scheduledTime.getHours(), scheduledTime.getMinutes(), ...


3

First, you don't declare Content Types via CAML. You declare them using XML. CAML is the Query-Language used to query lists. If you declare Content Types via XML and deploy it by a Feature, the Content Type is created/updated on site collection level. However, if you use a Content Type in a List, then the list contains a child of that Content Type, which is ...


3

The only way to achieve this with a workflow is to have an "old" column of the changed column. For example, let's say you have a column called ColumnA and another called ColumnA_old. ColumnA_old will be a hidden column. Your workflow is triggered when an item is changed. The changed value will be in ColumnA and the original value will be in ColumnA_old. At ...


3

This is quite an old post but let me say something here. Created and Modified dates are readonly fields. To my understanding, to be able to modify them you need to first set their readonly property to false. Secondly I have tested your script and with some changes following seems to be working in my case. $web= Get-SPWeb -Identity "WebURL" $web....


3

I've found an answer here - https://social.msdn.microsoft.com/Forums/vstudio/en-US/a3acdbb0-079a-4c14-97f8-72d0af64eff8/updating-sp2013-workflow-custom-activities?forum=sharepointdevelopment So, the instruction how to update an existing workflow if it’s necessary to make changes to the workflow, but all running workflows must keep going: Add ReplaceContent=...


3

Here is a working solution by Beau Cameron: http://www.aerieconsulting.com/blog/update-using-rest-to-update-a-multi-value-taxonomy-field-in-sharepoint. I can't say it's a very nice solution, but hes done some impressive work. I have tested the hack, and it works! To sum it up must find the InternalName of the taxonomy field which holds the value. It has ...


3

I suspect this is something have to do with permissions. Check if the account running the configuration wizard have: The domain user account permissions. Must be a member of the local administrators group on each server in the SharePoint farm. Must must have access to the SharePoint databases. If you use any Windows PowerShell operations that affect a ...


3

You rang? :) I have a SharePoint 2013 list at http://www.toddklindt.com/sp2013builds and SharePoint 2010 at http://www.toddklindt.com/sp2010builds. I also maintain two Twitter acccounts, @sp2010patches and @sp2013patches if you want push updates. tk


3

No, not all SharePoint patches will change the build number. There are two factors: If the schema is updated and/or if Microsoft.SharePoint.dll is updated. The build number on the KB has a higher build number than the Microsoft.SharePoint.dll. These will cause the build number to not increment to the expected version and is perfectly normal.


3

Unfortunately configuration of user profile properties in SharePoint cannot be performed using JSOM or CSOM. There's no remote APIs exposed for these capabilities, so they can only be modified using server side object model. This also means that only option to control those settings in SharePoint Online is by manually controlling them from the admin UIs. ...


3

You have to add ReplaceContent = "TRUE" to each resource file It will replace with updated file using Update-SPSolution


3

Looks like permission issue, Please make sure Service accounts (Running the services) has right permission on the Workflow & Service Bus databases. also try to stop the SB host and then start it. using Stop-SBHost & Start-SBHost.


2

In ItemUpdated you can get previous field values only from item's version history In the ItemUpdating your can set up AfterProperties["YourFieldInternalName"] to set new filed values to current list item


2

Additional to what Aanchal wrote, it's always good to apply a planned Service Pack or CU/hotfix to your test or staging environment first and check so it solves your problem, and on the other hand monitor that it won't break anything else. There is really no good or supported way to remove an update so once it there, you're stuck with it. Check your ...


2

Looks like SPResourceSecurity not properly registered. open cmd as administrator type: cd C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\BIN then type: psconfig.exe -cmd secureresources Source: https://social.technet.microsoft.com/Forums/sharepoint/en-US/edf7946a-a178-46e8-b7f3-82f80ad4a194/have-anyone-set-up-mysite-on-a-...


2

Did you run the PSconfig wizard after the SharePoint security patches? Could you please Run the Psconfig command-line tool for SharePoint Products as follows: Psconfig -cmd secureresources Also try to restart the search service. Verify that no group policies have been set on the local user groups 'WSS_WPG' and 'WSS_ADMIN_WPG'. https://support.microsoft....


2

You can actually do this in two requests. You can upload the file to SharePoint and get the returned URL. Then use the returned URL to update the Title. The example below uses JavaScript, but you can see the required headers you need to set in order to update the title. You can also see the other steps you need to take if you do not want more than one ...


2

Several people ran into the issue that list views stop working after installing MS16-004. The security fix contains a code change which requires as well an update to the not localized and to the localized files of the SharePoint foundation component. Localized and not localized file are installed through two different msp files and the security fix package ...


2

The endpoint you are using cannot be used to change the Name of the folder because the Name property is not editable. Make a GET request to get the item id/URI and the type of the folder. ENDPOINT URI: <SiteURL>/_api/web/GetFolderByServerRelativeUrl('<FoldFolderPath>')/ListItemAllFields From the response of the above request, extract uri ...


2

Normally if versioning enabled, you need to do the following: Check out Upload Check in Check out: sprequest.post("https://my_sharepoint/sites/dev/_api/web/GetFileByServerRelativeUrl(@FileUrl)/CheckOut()?@FileUrl='" + encodeURIComponent(fileServerRelativeUrl) + "'", { headers: { 'X-RequestDigest': digest } }); Upload: ...


2

The SharePoint 2013 with SP1 is supported with SQL Server 2012 SP3, so there is not impact on the farm, but this operation will require an outage. So, it's recommended to Apply this operation first on a test farm before applying it directly to production. Apply this operation out working hour. Take a backup of all SQL Database.


2

Its not possible to update using REST, you can try below JSOM code to update its value: 1) Either when you have ID function updatePublishingImage() { var clientContext = new SP.ClientContext(siteUrl); var oList = clientContext.get_web().get_lists().getByTitle('Pages'); var oListItem = oList.getItemById(1); oListItem.set_item('...


2

Ok, I've got the answer on MS Technet Community: Most time is tracked and translated via UTC and not local time. So as long as the TZ isn't changing, you should be alright.


2

Interesting. It had to do with how I was accessing the SPListItem objects. I needed to explicitly get myList.Items[i] as an SPListItem. Once I changed the inner part of the for loop to be // loop through items by index instead of foreach to avoid the "collection was modified" error for (var i = 0; i < myList.ItemCount; i++) { SPListItem item = ...


Only top voted, non community-wiki answers of a minimum length are eligible