Skip to content

Instantly share code, notes, and snippets.

View janis-veinbergs's full-sized avatar

Jānis Veinbergs janis-veinbergs

View GitHub Profile
janis-veinbergs / ControlManifest.xsd
Last active July 13, 2023 07:50
Power Apps PCF ControlManifest schema. Some undocumented elements also included found in the wild. Created from:
View ControlManifest.xsd
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="">
<xs:element name="manifest">
Manifest is the metadata file that defines a component. It is an XML file that describes:
- The namespace of the component.
- The kind of data it can be configured, either a field or a dataset.
- Any properties that can be configured in the application when the component is added.
janis-veinbergs / Out-Tree.ps1
Last active January 29, 2024 13:37
PowerShell Out-Tree: View object parent/child relationship within a hierarchy
View Out-Tree.ps1
Set-StrictMode -Version 3.0
function Out-Tree {
View object parent/child relationship within a hierarchy
Outputs objects as a hierarchy, outputted as string. It is important that properties are sorted.
It is very important to sort list before Out-Tree cmdlet by ParentValueProperty. Because if objects come in NOT within sequence, the hierarchy will be "interrupted" and restart
janis-veinbergs / Slick.d.ts
Created February 21, 2022 10:33
Generated from SparkleXrm project using Rosetta.ScriptSharp.Definition.BuildTask
View Slick.d.ts
* File: Cell.cs
declare module Slick {
export class CellSelection {
public row : number;
public cell : number;
public grid : Slick.Grid;
janis-veinbergs / ssis_script_object_output.cs
Last active December 4, 2019 10:49
Use Script Task to output data within object variable as rows. You still have to define output columns.
View ssis_script_object_output.cs
using Microsoft.SqlServer.Dts.Pipeline;
using Microsoft.SqlServer.Dts.Runtime.Wrapper;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.OleDb;
using System.Reflection;
using System.Text;
//Not using any syntax after .net 4.5 as won't be debuggable until 3.2 Preview