Showing posts with label SharePoint Error Log. Show all posts
Showing posts with label SharePoint Error Log. Show all posts

Friday, July 24, 2020

powershell update Peoplepicker in List In SHarePoint

#Read the CSV file 
#stored local variable 
$delimitercsv = "|" 
$filePath = "C:\peakfinders.csv" 
$userid = "EmpID"
$useremailowner = "Owner"

#Get the SharePoint List
$tWeb = Get-SPWeb -identity "http://sharepoint.peakfinders.com" 
$list = $tWeb.Lists["Employee"]
$CSVData = Import-CSV -path $filepath | ForEach-Object {
    Write-Host "$($_.ID) ,$($_.'Email-Address')";
foreach($sitem in $items)
{

$userid = $sitem['EmpID']
if($userid.LookUPid -eq $($_.ID)){
$sitem["mail"] =$($_.'Email-Address');
$sitem.Update()
}
}
}

Wednesday, March 30, 2016

Configuring Auditing in SharePoint 2010

In this below script, Configuring Auditing in SharePoint 2010

Configuring Auditing in SharePoint 2010

  • Go to site Settings
  • select Site collection Administration
  • Choose Audit log Reports
  • Delete Deletion
  • Please the save location 
  • I'll save this report to the Shared Documents Library, however in production this is where I create a document library with unique permissions so only Site Collection Administrators can see the contents. I click on Browse.
  • View Report 
  • You ll get excel report format

Thursday, March 17, 2016

WSP gets stuck in "Deploying"


  • stsadm -o execadmsvcjobs on the server running Central Admin
  • Install-SPSolution has only the -Force, 
  • Check for Sharepoint 2013 Timer service






Add-SPSolution –LiteralPath "d:solution.wsp" 

install solution and we executed the following command:

Install-SPSolution -Identity "solution.wsp" -WebApplication http://peakfinders.com/  –GACDeployment

Monday, February 15, 2016

SharePoint Auditing logs?

  1. Site Settings –> Site Collection Administration, 
  2. There was no link avaliable in to "View Audit Logs" 
  3. When we creating the following templates were used to create the default site: 

  1. Document Workspace
  2. Wiki
  3. Blog
  4. Records Center
We have to run PowerShell script for this enable below mention script:

stsadm -o activatefeature -name Reporting -url http://mysite/ -force
This activated the feature

Friday, February 12, 2016

How to add History Log to OOTB Sharepoint custom List

Scenario :

Submitted, User1, 01/11/2016
Approved, User2, 02/11/2016
Rejected, User3, 05/11/2016
Completed,User4, 05/11/2016


Set WFvar1 to Current Item:Status
Set WFvar2 to [%Variable: WFvar1%] "New Status Update Line"
Set Status to Variable:WFvar2
Set WF3 to Currentdate 

Monday, October 26, 2015

SP Subsite is blank with no message or error

I have created a subsite in SP 2013. Now I am trying to access this site but showing blank page with no error or message.


  • Check event and SharePoint logs to trace this issue.
  • If possible try to create the site using PowerShell as well as from UI.It will help to troubleshoot the issue. 
  • Once done restart the web client service and IIS reset.
  • Try to check from the load balancer end if it causing any issue.
  • Anyhow you should change the master page by appending /_layouts/settings.aspx at the end of your sub site URL may be it works for you,
  • Took backup of the site and restore to another and it's working.