Take a peek, see that little Export Me in the above picture? I just had to click my bookmarklet to produce this link which allows for a direct export of any visible web part. This uses a trick I found on CHUVASH.eu which highlights that there’s a special ‘exportwp.aspx’ page within SharePoint that when handed the webpart GUID and page url will provide the export XML download. Neat? Neat. Bookmarklet... View Article
Hey everyone, was about to jump into changing belts as part of preventative maintenance and found that there were next to no images online regarding the accessory belts. There are two accessory belts for the S40. Both I believe are 5 rib, one 890mm and the other is closer to 865 or so.
A quick tip for anyone still sporting the F4400 Deskjet printer from HP. A common problem I see online, as well have experienced in the past has been an ‘Out of Paper’ issue. There are no indicators on the printer when this happened, it was only when I looked at Windows Printers and seen the error message. Just about every post online refers to the basic HP troubleshooting guide for... View Article
Trying to take my Sunday a bit easy but why not just put in a bit effort to make others lives a bit easier?! If you need to see some JSOM in action for reading property bag values, or just want to see what those darn values are heres a quick script to run in your browser developer console. Outputs all property bag values from the current SharePoint web. Keep... View Article
One principal which always had a shroud over it for to long with me was SharePoint’s SP.SOD functionality. The MSDN isn’t all to helpful, but it still serves as a starting point for where to find the SOD methods. I thought I’d take a step back tonight and play with the system and document how to use this system effectively as well as understanding both sides of the equation when... View Article
Continuing from the last Project Euler post I worked on the Names scores quiz in PowerShell. The problem being: Using names.txt (right click and ‘Save Link/Target As…’), a 46K text file containing over five-thousand first names, begin by sorting it into alphabetical order. Then working out the alphabetical value for each name, multiply this value by its alphabetical position in the list to obtain a name score. For example, when... View Article
PowerShell and Project Euler 23: Find the sum of all the positive integers which cannot be written as the sum of two abundant numbers
A fair chunk of my work involves PowerShell Scripting and as a means to expand my general programing knowledge as well as my PowerShell abilities I had taken on the Project Euler question #23. It states: A perfect number is a number for which the sum of its proper divisors is exactly equal to the number. For example, the sum of the proper divisors of 28 would be 1 +... View Article
I’ve been trying to solve a problem where I have a huge list of numbers within an array and I wanted to ensure that a number was present in this array. With arrays you have the option to use the Contains function but with huge arrays it may be much more efficient to check using a binary search. During a quick search to see if I could leverage someone else’s... View Article
I had some free time to dig around in code to see how some internals of SharePoint CSWP’s worked. One thing that I’ve always noticed but never looked into was the fact that when editing a SharePoint page there was often debugger output in the browsers debugger console. Microsoft put a routine in their code to check if the browser supports a debugger output option. For example, I do believe... View Article
As the title suggests, this is a quick example on how to read user details from users in a SharePoint site’s group. Note that the group name must be adjusted within the code to the one you are requesting. To run this script quickly you can just place a Script Editor part on your page and wrap the code in script tags.