We’re pleased to announce the release of version 126.96.36.199 of the Lightning Conductor content rollup client-side web part! The following changes are included:
At the request of our customers, you can now format group headers! Change the color or font style of Parent and/or Child group headers, or even turn them into an icon if you wish. This can be for all group headers, or based on some condition. To access this feature, on the Display tab of the Advanced configuration wizard, click the … next to a column for which you’ve enabled grouping, and click the icon for Group Header Formatting.
This will open a dialog similar to the one for column formatting. Here, we’re setting the group header to be in bold red if the priority is High:
And here’s the result in the Lightning Conductor display:
Another new formatting feature customers have asked for is the ability to add alternate-line shading for rollups containing a lot of data. To enable this feature, you’ll use the new Is Alternate boolean (true/false) “column” we’ve provided in the conditional formatting dialog. On the Lightning Conductor’s Display tab, open the Formatting dialog on any column, and select to format based on the Is Alternate property. You can either tick the checkbox or not, depending on whether you want the shading to begin on row 1 or 2. You will probably want to select the toggle for Entire Row (to shade the whole row), and then choose a Background Color, probably something a light shade of your site’s theme color.
Here’s the resulting display using the settings above:
Calendar display updates
As you may know, the Lightning Conductor has for years included a built-in calendar display which you can use for event or task rollups, or really anything that contains start and end dates. Beginning with version 3.2, you can choose to have an event from our calendar view open in a modal (popup) dialog.
To use this feature, on the Display tab of the Lightning Conductor Advanced Configuration wizard, choose the LightningToolsCalendar.js file to use the built-in calendar display. Then enable the Open Event in Dialog option. If you wish, you can also enable the Use Modern Event Page option to have the dialog window look like a modern event. Note: recurring events will always open in “classic” SharePoint view, as SharePoint currently doesn’t support rendering recurring events in a modern view.
The above settings will render as shown below… As you see, if you’ve set an image in the modern Event UI, it’ll appear here, too!
We’ve made a few changes “under the hood” as well. If you have lists larger than SharePoint’s 5000-item list view threshold, the Lightning Conductor’s Search rollup option has always helped avoid the list view threshold error. But if you’d rather stick with the easy configuration of the Object Model rollup, the Lightning Conductor now provides a Batch Size option in the Settings area of the Data Source tab. This sets the number of items for the Lightning Conductor to retrieve from a list at one time. The default Batch Size is 5000, but you can set it to meet your needs.
A small technical update is around more user-friendly messaging if you mistakenly try to import an incompatible Lightning Conductor configuration. For example, if you try to import a single Lightning Conductor view into an entire multi-view Lightning Conductor instance, or vice versa.
And lastly, we’ve fixed a reported issue with previously selected lists being de-selected when reopening the configuration dialog. This was occurring when lists were specifically selected which were in the tenant’s root site collection.
NOTE: Because of the new calendar modal dialog feature, this version of the Lightning Conductor requires a package update to enable all of the above changes. If you have a prior version of the Lighting Conductor, you’ll need to download the 188.8.131.52 sppkg file from here, and upload it to your App Catalog. You can find your current version number on the second page of the configuration pane of any Lightning Conductor instance.