Skip to content

Instantly share code, notes, and snippets.

Avatar

Dennis expiscornovus

View GitHub Profile
@expiscornovus
expiscornovus / CustomRowActionSetValueAppendTo.json
Created Nov 22, 2021
Custom Row Action Set Value of MultiUser field with AppendTo
View CustomRowActionSetValueAppendTo.json
{
"elmType": "button",
"customRowAction": {
"action": "setValue",
"actionInput": {
"Text": "Update",
"PeopleWhoRegistered": "=appendTo([$PeopleWhoRegistered], @me)"
}
}
@expiscornovus
expiscornovus / HideButtonWhenNeeded.json
Created Nov 22, 2021
Hide Register Button When Needed
View HideButtonWhenNeeded.json
if(indexOf([$PeopleWhoRegistered.email], @me) == -1 && length([$PeopleWhoRegistered]) != [$NumberofPlaces] && @now <= [$RegistrationEndDate], 'inherit','none')
View create_courseregistration_spolist.ps1
<# .SYNOPSIS
Create list for Course registration.
.DESCRIPTION
You need to have the latest version of PnP PowerShell
Create list for Course registration.
.PARAMETER SiteCollection
Specifies the site collection Url of the SharePoint Online environment.
.PARAMETER ListName
Specifies the name of the SharePoint Online list.
.NOTES
View CourseRegister_ListFormatting.json
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"style": {
"flex-directon": "row",
"justify-content": "left",
"align-items": "center",
"flex-wrap": "nowrap"
},
"children": [
View ShapesItems_Map
Filter('GeoJSON Countries', Title = DropdownCountry.Selected.Title)
@expiscornovus
expiscornovus / SortbyCountry_GeoJSON
Last active Nov 19, 2021
Sort by Country Geo JSON Power Apps
View SortbyCountry_GeoJSON
SortByColumns('GeoJSON Countries', "Title", Ascending)
View DropdownCountry
Gallery_GeoJSON_SharePoint.AllItems.Title
View Createitem_geojson.json
{
"inputs": {
"host": {
"connectionName": "shared_sharepointonline",
"operationId": "PostItem",
"apiId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline"
},
"parameters": {
"dataset": "https://contoso.sharepoint.com/sites/PowerAutomate",
"table": "4f7d3aeb-908f-4d97-8722-9011878a706b",
@expiscornovus
expiscornovus / Featuresproperty_ParseJSON.json
Created Nov 19, 2021
Features property from Parse JSON
View Featuresproperty_ParseJSON.json
body('Parse_JSON')?['features']
@expiscornovus
expiscornovus / parsejsonschema_geojsoncountries.json
Created Nov 19, 2021
Parse Json schema for Geo JSON countries
View parsejsonschema_geojsoncountries.json
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"features": {
"type": "array",
"items": {
"type": "object",