Skip to content

Commit 113beef

Browse files
authored
Stop forcing field names to lowercase (#286)
1 parent 4d4c84a commit 113beef

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

ServiceNow/Private/Invoke-ServiceNowRestMethod.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function Invoke-ServiceNowRestMethod {
127127
}
128128

129129
if ($Property) {
130-
$Body.sysparm_fields = ($Property -join ',').ToLower()
130+
$Body.sysparm_fields = $Property -join ','
131131
}
132132

133133
if ( $Body ) {

ServiceNow/Public/Export-ServiceNowRecord.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
If providing just an Id, not with Table, the Id prefix will be looked up to find the table name.
1818
1919
.PARAMETER Property
20-
Return one or more specific fields otherwise all fields will be returned
20+
Return one or more specific fields otherwise all fields will be returned.
21+
Field names are case sensitive.
2122
2223
.PARAMETER Filter
2324
Array or multidimensional array of fields and values to filter on.

ServiceNow/Public/Get-ServiceNowRecord.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
The comparison performed is a 'like'.
2626
2727
.PARAMETER Property
28-
Return one or more specific fields otherwise all fields will be returned
28+
Return one or more specific fields otherwise all fields will be returned.
29+
Field names are case sensitive.
2930
3031
.PARAMETER Filter
3132
Array or multidimensional array of fields and values to filter on.

0 commit comments

Comments
 (0)