Skip to content

Commit 8fd2eb7

Browse files
committed
Bug fix + Readme update
1 parent d8e828d commit 8fd2eb7

5 files changed

Lines changed: 23 additions & 11 deletions

File tree

.DS_Store

2 KB
Binary file not shown.

01 - Connector/pbiAdminAPI.mez

35 Bytes
Binary file not shown.

03 - Development/pbiAdminAPI/pbiAdminAPI.pq

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -313,14 +313,6 @@ MetricsNavigation = () as table =>
313313
"Function",
314314
"GoalValuesAndNotes",
315315
true
316-
},
317-
{
318-
Extension.LoadString("GroupsCaller"),
319-
"GroupsCaller",
320-
pbiAdminAPI.GroupsCaller,
321-
"Function",
322-
"GroupsCaller",
323-
true
324316
}
325317
}
326318
),
@@ -504,6 +496,14 @@ FunctionsNavigation = () as table =>
504496
"Function",
505497
"OwnAPICall",
506498
true
499+
},
500+
{
501+
Extension.LoadString("GroupsCaller"),
502+
"GroupsCaller",
503+
pbiAdminAPI.GroupsCaller,
504+
"Function",
505+
"GroupsCaller",
506+
true
507507
}
508508
}
509509
),
@@ -637,7 +637,7 @@ pbiAdminAPI = [
637637
Headers = [
638638
#"Content-Type" = "application/json"
639639
],
640-
Query = Record.AddField(queryRecord, "$skip", Text.From(index))
640+
Query = Record.AddField(queryRecord, "$skip", Text.From([index]))
641641
]
642642
)
643643
)[value]?,
@@ -3317,10 +3317,14 @@ ScannerAPIStatusAndResult = (optional scanId as text) =>
33173317
in
33183318
functionVarTester;
33193319

3320+
//**** GroupsCaller
3321+
[
3322+
DataSource.Kind = "pbiAdminAPI"
3323+
]
33203324
shared pbiAdminAPI.GroupsCaller = Value.ReplaceType(GroupsCaller, GroupsCallerType);
33213325

33223326
GroupsCallerType = type function (
3323-
optional workspaceId as (
3327+
optional expandParameter as (
33243328
type text meta [
33253329
Documentation.FieldCaption = "expandParameter",
33263330
Documentation.FieldDescription = "expandParameter represents what you want to expand. If you want to expand all, just leave it empty.",
@@ -3382,7 +3386,7 @@ GroupsCaller = (optional expandParameter as text) =>
33823386
Headers = [
33833387
#"Content-Type" = "application/json"
33843388
],
3385-
Query = Record.AddField(queryRecord, "$skip", Text.From(index))
3389+
Query = Record.AddField(queryRecord, "$skip", Text.From([index]))
33863390
]
33873391
)
33883392
)[value]?,

03 - Development/pbiAdminAPI/resources.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,4 +312,10 @@
312312
<data name="ExportedReportBy30Days" xml:space="preserve">
313313
<value>Exported Reports By 30 Days</value>
314314
</data>
315+
<data name="Domains" xml:space="preserve">
316+
<value>Domains</value>
317+
</data>
318+
<data name="GroupsCaller" xml:space="preserve">
319+
<value>Groups Extended Caller</value>
320+
</data>
315321
</root>

Readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ ID | Name | Description
3333
│ ├── Avaiable Features
3434
│ ├── Encryption Tenant Keys
3535
│ ├── Imports
36+
│ ├── Domains
3637
│ ├── Links shared to whole organization
3738
│ ├── Reports published to Web
3839
│ ├── Tenant Settings
@@ -88,6 +89,7 @@ ID | Name | Description
8889
└── Functions library
8990
├── (fx) Execute Query against dataset
9091
├── (fx) Own API Call
92+
├── (fx) Groups Extended Caller
9193
├── (fx) User - Artifact Access
9294
└── (fx) User - Subscriptions
9395

0 commit comments

Comments
 (0)