New answers tagged

0

You can use LocalTime to UTC convertion. Example in pnp js: const yourDateTime = new Date(); const timezone = sp.web.regionalSettings.timeZone; const dateTimeForCaml = (await timezone.localTimeToUTC(yourDateTime)).toString(); Its solve my issue even when I have time zone differences with SharePoint.


0

So I had a case where I needed to get the value that was in the people picker field on page load, store it, then compare it if/when it was changed on the page prior to saving - and if so, set a checkbox field on the page so a workflow could grab the new person field value and send them a notification. I just used a REST call to get the value, initially, ...


1

We could enable and use IE Mode in Microsoft Edge to make the open with explorer works again. Try following steps to enable it: Open Microsoft Edge. Click the Settings and More (ellipsis) button on the top-right corner. Select the Settings option. Click on Default browser. Under the “Internet Explorer compatibility” section, turn on the “Allow sites to ...


0

Follow up answer here since the above workaround didn't apply and I still got error after downgrading to .Net 4.5 on Server 2012 R2: Check the SharePoint Server Setup(date).log file in %userprofile%\AppData\Local\Temp. You may have an incorrect version of the pre-requisites. For me it was WCF 5.6 is missing, but 5.0 was installed. Then I discovered that 5.6 ...


1

This is not possible using SharePoint out of the box capabilities. You have to break the item permissions & then grant necessary permissions on list item. You can achieve this using SharePoint designer 2013 workflow which will run on item creation/update & perform above operations. Check this documentation for 2013 workflow actions: Workflow actions ...


0

It's a bad idea to modify any file on the server. This can be accomplished with one line of JavaScript: document.body.setAttribute("spellcheck",true); If this is in a Script Editor or in th MasterPage it would have the same effect.


0

Try using below to set "Show Field" to "Account": $column.LookupField = "Name"; $column.Update(); Source: Setting 'Show field' for 'Person or Group' type column using PowerShell in SharePoint


1

The "AnonymousSearchAccessList" permission cannot be displayed in the list of available permissions, which requires additional configuration by the administrator. Please following steps: StepA: Enable anonymous access at the web application level a1.Go to SharePoint 2013 Central Administration as an admin >> Application Management >> ...


0

Try as following: Open SharePoint Designer 2013 then click Account. Sign out and sign in again with the right account to access the SharePoint site. Restart SharePoint Designer 2013. Open the SharePoint site again. If the issue still exist, clear SharePoint designer cache via deleting everything from %USERPROFILE%\AppData\Local\Microsoft\WebsiteCacheand ...


0

The call to $item.Update(); actually triggers an event ItemAdded (the initial .AddItem does not do anything in the DB until the first .Update). I suspect you have a very slow ItemAdded Event Receiver (ER) attached to the list. That's the thing to check first. However, both your ItemAdded and/or your ItemUpdated ER can be the cause of the delay if they are ...


0

Try using below formula: ="<div><img src='/sites/<site-name>/SiteAssets/" & IF([Source Column] = "Yes", "yes.png", "no.png") & "'></div>" Microsoft documentations: Calculated Field Formulas Examples of common formulas in lists


Top 50 recent answers are included