Author Archives: russgove

Debugging SPFX Gulp build tasks in VS Code

In VS Code click View==>Debug from the main menu The Debug box will appear: Click the dropdown in the Debug Box and select Add Configuration. From the list of configurations select {} Node.js: Launch Program:   Create a configuration with … Continue reading

Posted in javascript, react, spfx, Uncategorized | Tagged | Leave a comment

Search-Based Global Navigation in SharePoint On-line

While migrating our Team Sites from SharePoint 2010 to SharePoint On-line we noticed that response time of the sites on SharePoint Online was significantly slower than SharePoint 2010. Researching it we discovered that the issue was caused by our use … Continue reading

Posted in Uncategorized | Leave a comment

Powershell Script to move documents between sitecollections with version history

##see https://shannonbray.wordpress.com/2010/06/26/moving-sharepoint-2007-sites-to-another-environment-with-powershell/ Add-PSSnapin microsoft.sharepoint.powershell -ErrorAction SilentlyContinue [void][System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint.Deployment”) $fileName = “exportedWeb.cmp” $fileLocation = “c:export” $SourceSiteURL = “http://edmsqa.kznsands.local/sites/CP” $docid=“CPDOC-46-30” $DestinationSiteURL = “http://edmsqa.kznsands.local/sites/cpccold/” $DestinationWebName = “MPPProd” # need to add logic to use rootweb if this is null $DestinationLibraryName=‘Documents’ ##############################################The Export Script $SourceSite … Continue reading

Posted in Uncategorized | Leave a comment

An AngularJS directive for SharePoint Lookup Columns

Recently I’ve been researching how I can use AngularJS in my SharePoint 2010 environment. Specifically I’ve been working on using the Angular UI-Grid to edit SharePoint lists. I was able to edit most of the columns of  a standard Task … Continue reading

Posted in Uncategorized | Tagged , , , , , | 6 Comments

AngularJS displaying ng-grid group information inside the grid as in a treeGrid

I had a need to group information in an ng-grid by more than one column (cname, maturity, Buy/Sell and Price), and to display summary data for each group within the grid(not in the ‘label’ format that ng-grid normally uses for … Continue reading

Posted in angular, ng-grid | Tagged , , , , , , , | 1 Comment

Making Angular ng-grid expand only one group

I had an ng-grid set up with a single ‘group’ column set in the gridOptions. I needed to make it so that only a single group is expanded at any time (i.e. when a user clicked to expand a group,the … Continue reading

Posted in angular, ng-grid | Tagged , , | Leave a comment

Rendering JSON from an XSLTListViewWebPart

I recently built a site on SharePoint 2010 that used lots of JavaScript for custom form validations.  The JavaScript made ajax calls back to listdata.svc to get the data to perform the validations. Things worked fine locally, but when a … Continue reading

Posted in ajax, javascript, sharepoint | Leave a comment