3.10.1.13

Issue 383 - Fixed issue with document bool values in App Config with XML settings.
This commit is contained in:
Mikael Karlsson
2025-12-07 21:23:01 +11:00
parent 4053b5c672
commit 9ca756bfed
5 changed files with 81 additions and 2 deletions
+12 -1
View File
@@ -2033,11 +2033,22 @@ function Invoke-CDDocumentMobileAppConfiguration
{
$name = $xml.dict.ChildNodes[$i].'#text'
$i++
$value = $xml.dict.ChildNodes[$i].'#text'
if($xml.dict.ChildNodes[$i].Name -eq "true" -or $xml.dict.ChildNodes[$i].Name -eq "false")
{
$value = $xml.dict.ChildNodes[$i].Name
$type = "boolean"
}
else
{
$value = $xml.dict.ChildNodes[$i].'#text'
$type = $xml.dict.ChildNodes[$i].Name
}
Add-CustomSettingObject ([PSCustomObject]@{
Name = $name
Value = $value
ValueType = $type
EntityKey = $name
Category = $category
})
+1 -1
View File
@@ -4563,7 +4563,7 @@ function Save-GraphObjectToFile
{
param($obj, $fileName)
if(((Get-SettingValue "SortJsonProperties") -eq "True")) {
if(((Get-SettingValue "SortJsonProperties") -eq $true)) {
$json = $obj | ConvertTo-JsonSortedGraph -Depth 50
}
else {