Hi everyone! Recently I needed to come up with a way to conditionally show or hide a set of HTML markup (or ASP.NET markup – web parts / web controls, could be anything) on a master page. Decided to create a web control based on SharePoint audiences functionality. Principle is dead […]
Continue reading »SP2013 top navigation – reposition dynamic flyout content if it goes off screen
Hi everyone! Lately my top navigation submenus have been growing rather long in terms of items shown, and this appeared to be causing problems for clients with lower resolution screens, as items dynamic flyouts would go off screen, either to the right, or down to the bottom. I’ve come up […]
Continue reading »Yi 2 action camera in action. Evening drive, hyperlapsed
So, recently we bought a Yi 2 action cam. I’m hoping to film with it in a whole bunch of different settings, but for now we just did a built-in timelapse video function and filmed our evening commute from Macclesfield, Cheshire to Biddulph, Staffordshire. Here’s the result
Continue reading »SP2013 – Get all 2010 and 20130 style custom workflows associated with lists in web application
Hello everyone! It’s time to do some reporting on our farm – how about listing all of the workflows you have implemented throughout? It’s quite easy to do with our trusty PowerShell! So, without further ado here it is:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
[system.reflection.assembly]::LoadWithPartialName("Microsoft.SharePoint.WorkflowServicesBase") | out-null $webApp = Get-SPWebApplication https://abc.contoso.com $webApp.Sites | Foreach-Object { $_.AllWebs | Foreach { $wfSubscriptionManager = new-object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager $_ $wfSubscriptionService = $wfSubscriptionManager.GetWorkflowSubscriptionService(); $webUrl = $_.Url $_.Lists | Foreach { $_.WorkflowAssociations | Foreach { if ($_.Name -notlike "*(Previous Version*") { Write-Host "[2010] SiteURL: " $_.ParentWeb.Url ", List name: " $_.ParentList.Title ", Workflow name: " $_.Name } } $listTitle = $_.Title $wfSubscriptionService.EnumerateSubscriptionsByList($_.ID) | Foreach { Write-Host "[2013] SiteURL: " $webUrl ", List name: " $listTitle ", Workflow name: " $_.Name } } } } |
Basically, we need to load up “Microsoft.SharePoint.WorkflowServicesBase” dll to be able […]
Continue reading »SP2013 – Promoted links resizing
Hello everyone! My organization has taken a liking in how promoted links are looking and want certain pages to show several groupings of the links. Problem is – they different sizes for different groupings, different amount of items per row, and, preferably for tiles to dynamically resize themselves should their […]
Continue reading »SharePoint 2013: Provisioning a custom error page
Hello everyone! Today I wanted to share with you an example to how custom access denied page could be implemented and applied to a web application scope. In my case I wanted to list emails of all the people who has Full Control permissions set on the accessed web, either […]
Continue reading »My relationship with PC gaming (part 2)
Hello everyone! Picking up from where we left in part 1 I’d like to continue a story about my relationship with PC gaming. TL;DR from part 1 would be something like: “No time for games until age 13-14, compulsive gaming since then. No allowance, high game prices in comparison to salaries […]
Continue reading »SharePoint: render Microsoft.SharePoint.WebControls.AspMenu web control asynchronously
Hello everyone! Today, I’m going to follow up on the post I wrote recently about how I created a custom navigation provider for SharePoint’s top navigation, and how it was quite a resource costly module, resulting in slowness of page loading, thus substracting from end user experience and satisfaction. A number […]
Continue reading »SharePoint 2013: I’ll build you a custom navigation provider – applying audience visibility (part 2)
Hello everyone! In my part 1 of this series I have covered most of the building blocks that will allow you to create a custom navigation provider for SharePoint. The part I omitted for brevity was the page in central administration that I created that allows me to apply audience […]
Continue reading »SharePoint 2013: I’ll build you a custom navigation provider (part 1)
Hello everyone, today I will be talking about my experience with building a custom navigation provider that is used in global top navigation across my company’s intranet. This is going to be a rather long post, containing huge chunks of code, as I want to share the end result here, […]
Continue reading »