PowerShell

Converting JSON Time Format in SharePoint Document Library Metadata

Posted on

The SharePoint farm has a Document Library and a List which are linked for some requirements, while querying information we received some data which are not in proper format. Challenge is to split, remove characters and count the total which is little tedious Example- The Field3 in CSV yields [“\/Date(1444995273796)\/”,”\/Date(1444996968515)\/”] It’s a JSON format and the time format […]

Microsoft

SharePoint Content Management using PowerShell | Dude! it’s a Due Diligence – Part 1

Posted on

October-26-2015: Due to SharePoint tasks I missed MVP Summit 2015; Energy drained out due to disappointment!. So, I engaged 16 hours of my time with SharePoint team to perform a due diligence. Traveled in and around Netherlands for consultations with clients, developers and IT Professionals. Introduction: Though we know each other we gathered at a […]

SharePoint

SharePoint 2010 Publishing Feature Activation

Posted on

One of our clients reported an issue while editing the home page of SharePoint portal. Error: “An Unexpected Error Occurred” Impact: Unable to save the changes made. Reason Provided by the customer: Power User tried to deactivate and activate the publishing feature. Team tried reactivating the publishing feature which caused more pain. The Navigation bar […]

SharePoint

Delete SharePoint 2010 Library View

Posted on

We tried modifying the view in SharePoint 2010 using Designer 2010 and it’s corrupted! No option to delete the view ! Spin up your SharePoint Shell Management and execute the below code Start-SPAssignment -Global $SPWeb = Get-SPWeb $WebUrl $List = $SPWeb.Lists[$ListName] $View = $List.Views[$ViewName] #$view.ID $List.Views.Delete($View.ID) $List.Update() $SPWeb.Update() $SPWeb.Dispose() Stop-SPAssignment -Global     Note: Ensure […]