Checklist
Steps to Reproduce
On v1.0.0+, if you submit a toast notification with an activated action, the Toast content XML does not get passed to the event's $Event variable as it did in v0.8.5.
Expected Behavior
Expecting the Toast's XML content to be available so that I can pull specific information from the toast to use in the Event processing.
Actual Behavior
There is very minimal information available once the event variable is executed compared to v0.8.5
v1.1.0 SourceArgs Output
PS C:\Users\user\Documents> $BTTestV110.SourceArgs
Argument UserInput
-------- ---------
CopyItemName {}
v0.8.5 SourceArgs Output
PS C:\Users\user\Documents> $BTTestv085.SourceArgs
Content : Windows.Data.Xml.Dom.XmlDocument
Data :
ExpirationTime :
ExpiresOnReboot : False
Group :
NotificationMirroring : Allowed
Priority : Default
RemoteId :
SuppressPopup : False
Tag :
NativeObject : WinRT.ObjectReference`1[WinRT.Interop.IUnknownVftbl]
HasUnwrappableNativeObject : True
AdditionalTypeData : {}
Arguments : CopyItemName
UserInput : {}
NativeObject : WinRT.ObjectReference`1[WinRT.Interop.IUnknownVftbl]
HasUnwrappableNativeObject : True
AdditionalTypeData : {}
Experience with Toast
Beginner
Environment data: PowerShell
Name Value
---- -----
PSVersion 7.5.5
PSEdition Core
GitCommitId 7.5.5
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Environment data: OS
OsName : Microsoft Windows 10 Pro
OsVersion : 10.0.19045
OsArchitecture : 64-bit
Environment data: BurntToast
Directory: C:\Program Files\PowerShell\Modules
ModuleType Version PreRelease Name PSEdition ExportedCommands
---------- ------- ---------- ---- --------- ----------------
Script 1.1.0 BurntToast Desk {Get-BTHeader, Get-BTHistory, New-BTAct…
Script 0.8.5 BurntToast Desk {Get-BTHistory, New-BTAction, New-BTApp…
Consent to Attribution
Checklist
Steps to Reproduce
Expected Behavior
Expecting the Toast's XML content to be available so that I can pull specific information from the toast to use in the Event processing.
Actual Behavior
There is very minimal information available once the event variable is executed compared to v0.8.5
v1.1.0 SourceArgs Output
v0.8.5 SourceArgs Output
Experience with Toast
Beginner
Environment data: PowerShell
Environment data: OS
Environment data: BurntToast
Consent to Attribution