@mohsinonxrm/pptb-fetchxml-studio 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1240 -1039
- package/LICENSE +661 -661
- package/README.md +432 -426
- package/SECURITY.md +13 -13
- package/dist/assets/index-DtvfGsXm.js +109 -0
- package/dist/icons/icon.svg +12 -12
- package/dist/index.html +13 -13
- package/index.html +70 -70
- package/package.json +106 -102
- package/pptb.config.json +46 -46
- package/dist/assets/index-BQgTOj7B.js +0 -107
package/dist/icons/icon.svg
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="4 8 56 48" width="56" height="48">
|
|
2
|
-
<!-- Variant K — "Clean hex split" / FXS
|
|
3
|
-
Same chassis; tool glyph is < /> (angle brackets + tag-slash). -->
|
|
4
|
-
|
|
5
|
-
<path d="M 18 8 L 46 8 L 60 32 L 46 56 L 18 56 L 4 32 Z" fill="#0E5A9C"/>
|
|
6
|
-
<polygon points="46,8 60,32 46,56 18,56" fill="#2B8FD9"/>
|
|
7
|
-
|
|
8
|
-
<!-- Tool glyph — < /> in white -->
|
|
9
|
-
<polyline points="24,22 16,33 24,44" stroke="#fff" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
|
|
10
|
-
<polyline points="40,22 48,33 40,44" stroke="#fff" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
|
|
11
|
-
<line x1="35" y1="22" x2="29" y2="44" stroke="#fff" stroke-width="2.5" stroke-linecap="round"/>
|
|
12
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="4 8 56 48" width="56" height="48">
|
|
2
|
+
<!-- Variant K — "Clean hex split" / FXS
|
|
3
|
+
Same chassis; tool glyph is < /> (angle brackets + tag-slash). -->
|
|
4
|
+
|
|
5
|
+
<path d="M 18 8 L 46 8 L 60 32 L 46 56 L 18 56 L 4 32 Z" fill="#0E5A9C"/>
|
|
6
|
+
<polygon points="46,8 60,32 46,56 18,56" fill="#2B8FD9"/>
|
|
7
|
+
|
|
8
|
+
<!-- Tool glyph — < /> in white -->
|
|
9
|
+
<polyline points="24,22 16,33 24,44" stroke="#fff" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
|
|
10
|
+
<polyline points="40,22 48,33 40,44" stroke="#fff" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
|
|
11
|
+
<line x1="35" y1="22" x2="29" y2="44" stroke="#fff" stroke-width="2.5" stroke-linecap="round"/>
|
|
12
|
+
</svg>
|
package/dist/index.html
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<title>FetchXML Studio</title>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>FetchXML Studio</title>
|
|
7
7
|
<style>
|
|
8
8
|
/* Reset browser defaults for PPTB iframe */
|
|
9
9
|
* {
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
scrollbar-width: thin;
|
|
62
62
|
scrollbar-color: rgba(128, 128, 128, 0.4) transparent;
|
|
63
63
|
}
|
|
64
|
-
</style>
|
|
65
|
-
<script type="module" crossorigin src="/assets/index-
|
|
64
|
+
</style>
|
|
65
|
+
<script type="module" crossorigin src="/assets/index-DtvfGsXm.js"></script>
|
|
66
66
|
<link rel="modulepreload" crossorigin href="/assets/monaco-editor-CSKh0Kpy.js">
|
|
67
67
|
<link rel="stylesheet" crossorigin href="/assets/monaco-editor-BhPcksyq.css">
|
|
68
|
-
</head>
|
|
69
|
-
<body>
|
|
70
|
-
<div id="root"></div>
|
|
71
|
-
</body>
|
|
72
|
-
</html>
|
|
68
|
+
</head>
|
|
69
|
+
<body>
|
|
70
|
+
<div id="root"></div>
|
|
71
|
+
</body>
|
|
72
|
+
</html>
|
package/index.html
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<title>FetchXML Studio</title>
|
|
7
|
-
<style>
|
|
8
|
-
/* Reset browser defaults for PPTB iframe */
|
|
9
|
-
* {
|
|
10
|
-
margin: 0;
|
|
11
|
-
padding: 0;
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
html,
|
|
16
|
-
body {
|
|
17
|
-
margin: 0;
|
|
18
|
-
padding: 0;
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
position: fixed;
|
|
23
|
-
top: 0;
|
|
24
|
-
left: 0;
|
|
25
|
-
right: 0;
|
|
26
|
-
bottom: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
#root {
|
|
30
|
-
width: 100%;
|
|
31
|
-
height: 100%;
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
position: absolute;
|
|
34
|
-
top: 0;
|
|
35
|
-
left: 0;
|
|
36
|
-
right: 0;
|
|
37
|
-
bottom: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/* Modern scrollbar styling */
|
|
41
|
-
::-webkit-scrollbar {
|
|
42
|
-
width: 8px;
|
|
43
|
-
height: 8px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
::-webkit-scrollbar-track {
|
|
47
|
-
background: transparent;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
::-webkit-scrollbar-thumb {
|
|
51
|
-
background: rgba(128, 128, 128, 0.4);
|
|
52
|
-
border-radius: 4px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
::-webkit-scrollbar-thumb:hover {
|
|
56
|
-
background: rgba(128, 128, 128, 0.6);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/* Firefox scrollbar */
|
|
60
|
-
* {
|
|
61
|
-
scrollbar-width: thin;
|
|
62
|
-
scrollbar-color: rgba(128, 128, 128, 0.4) transparent;
|
|
63
|
-
}
|
|
64
|
-
</style>
|
|
65
|
-
</head>
|
|
66
|
-
<body>
|
|
67
|
-
<div id="root"></div>
|
|
68
|
-
<script type="module" src="/src/main.tsx"></script>
|
|
69
|
-
</body>
|
|
70
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>FetchXML Studio</title>
|
|
7
|
+
<style>
|
|
8
|
+
/* Reset browser defaults for PPTB iframe */
|
|
9
|
+
* {
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
html,
|
|
16
|
+
body {
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
position: fixed;
|
|
23
|
+
top: 0;
|
|
24
|
+
left: 0;
|
|
25
|
+
right: 0;
|
|
26
|
+
bottom: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
#root {
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100%;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
position: absolute;
|
|
34
|
+
top: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
right: 0;
|
|
37
|
+
bottom: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Modern scrollbar styling */
|
|
41
|
+
::-webkit-scrollbar {
|
|
42
|
+
width: 8px;
|
|
43
|
+
height: 8px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
::-webkit-scrollbar-track {
|
|
47
|
+
background: transparent;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
::-webkit-scrollbar-thumb {
|
|
51
|
+
background: rgba(128, 128, 128, 0.4);
|
|
52
|
+
border-radius: 4px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
::-webkit-scrollbar-thumb:hover {
|
|
56
|
+
background: rgba(128, 128, 128, 0.6);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Firefox scrollbar */
|
|
60
|
+
* {
|
|
61
|
+
scrollbar-width: thin;
|
|
62
|
+
scrollbar-color: rgba(128, 128, 128, 0.4) transparent;
|
|
63
|
+
}
|
|
64
|
+
</style>
|
|
65
|
+
</head>
|
|
66
|
+
<body>
|
|
67
|
+
<div id="root"></div>
|
|
68
|
+
<script type="module" src="/src/main.tsx"></script>
|
|
69
|
+
</body>
|
|
70
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,102 +1,106 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@mohsinonxrm/pptb-fetchxml-studio",
|
|
3
|
-
"version": "1.4.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"displayName": "FetchXML Studio",
|
|
6
|
-
"description": "A powerful, modern FetchXML query builder and data explorer for Microsoft Dataverse and Dynamics 365.",
|
|
7
|
-
"author": "Mohsin On xRM",
|
|
8
|
-
"main": "index.html",
|
|
9
|
-
"icon": "icons/icon.svg",
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/mohsinonxrm/pptb-mxrm-fetchxml-studio.git"
|
|
13
|
-
},
|
|
14
|
-
"contributors": [
|
|
15
|
-
{
|
|
16
|
-
"name": "Mohsin On xRM",
|
|
17
|
-
"url": "https://github.com/mohsinonxrm"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"name": "Jonas Rapp",
|
|
21
|
-
"url": "https://github.com/rappen"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"license": "AGPL-3.0-only",
|
|
25
|
-
"keywords": [
|
|
26
|
-
"powerplatform",
|
|
27
|
-
"dataverse",
|
|
28
|
-
"toolbox",
|
|
29
|
-
"power-apps",
|
|
30
|
-
"dynamics-365",
|
|
31
|
-
"fetchxml",
|
|
32
|
-
"crm",
|
|
33
|
-
"xrm",
|
|
34
|
-
"microsoft"
|
|
35
|
-
],
|
|
36
|
-
"features": {
|
|
37
|
-
"multiConnection": "none",
|
|
38
|
-
"minAPI": "1.2.2"
|
|
39
|
-
},
|
|
40
|
-
"bugs": {
|
|
41
|
-
"url": "https://github.com/mohsinonxrm/pptb-mxrm-fetchxml-studio/issues"
|
|
42
|
-
},
|
|
43
|
-
"configurations": {
|
|
44
|
-
"repository": "https://github.com/mohsinonxrm/pptb-mxrm-fetchxml-studio",
|
|
45
|
-
"website": "https://fetchxml.studio",
|
|
46
|
-
"readmeUrl": "https://raw.githubusercontent.com/mohsinonxrm/pptb-mxrm-fetchxml-studio/refs/heads/main/README.md"
|
|
47
|
-
},
|
|
48
|
-
"files": [
|
|
49
|
-
"dist",
|
|
50
|
-
"index.html",
|
|
51
|
-
"LICENSE",
|
|
52
|
-
"README.md",
|
|
53
|
-
"CHANGELOG.md",
|
|
54
|
-
"SECURITY.md",
|
|
55
|
-
"pptb.config.json"
|
|
56
|
-
],
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"@fluentui/react-
|
|
74
|
-
"@fluentui/react-
|
|
75
|
-
"@
|
|
76
|
-
"
|
|
77
|
-
"react": "
|
|
78
|
-
"react-
|
|
79
|
-
"react
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"@
|
|
87
|
-
"@types
|
|
88
|
-
"@
|
|
89
|
-
"@
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@mohsinonxrm/pptb-fetchxml-studio",
|
|
3
|
+
"version": "1.4.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"displayName": "FetchXML Studio",
|
|
6
|
+
"description": "A powerful, modern FetchXML query builder and data explorer for Microsoft Dataverse and Dynamics 365.",
|
|
7
|
+
"author": "Mohsin On xRM",
|
|
8
|
+
"main": "index.html",
|
|
9
|
+
"icon": "icons/icon.svg",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/mohsinonxrm/pptb-mxrm-fetchxml-studio.git"
|
|
13
|
+
},
|
|
14
|
+
"contributors": [
|
|
15
|
+
{
|
|
16
|
+
"name": "Mohsin On xRM",
|
|
17
|
+
"url": "https://github.com/mohsinonxrm"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "Jonas Rapp",
|
|
21
|
+
"url": "https://github.com/rappen"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"license": "AGPL-3.0-only",
|
|
25
|
+
"keywords": [
|
|
26
|
+
"powerplatform",
|
|
27
|
+
"dataverse",
|
|
28
|
+
"toolbox",
|
|
29
|
+
"power-apps",
|
|
30
|
+
"dynamics-365",
|
|
31
|
+
"fetchxml",
|
|
32
|
+
"crm",
|
|
33
|
+
"xrm",
|
|
34
|
+
"microsoft"
|
|
35
|
+
],
|
|
36
|
+
"features": {
|
|
37
|
+
"multiConnection": "none",
|
|
38
|
+
"minAPI": "1.2.2"
|
|
39
|
+
},
|
|
40
|
+
"bugs": {
|
|
41
|
+
"url": "https://github.com/mohsinonxrm/pptb-mxrm-fetchxml-studio/issues"
|
|
42
|
+
},
|
|
43
|
+
"configurations": {
|
|
44
|
+
"repository": "https://github.com/mohsinonxrm/pptb-mxrm-fetchxml-studio",
|
|
45
|
+
"website": "https://fetchxml.studio",
|
|
46
|
+
"readmeUrl": "https://raw.githubusercontent.com/mohsinonxrm/pptb-mxrm-fetchxml-studio/refs/heads/main/README.md"
|
|
47
|
+
},
|
|
48
|
+
"files": [
|
|
49
|
+
"dist",
|
|
50
|
+
"index.html",
|
|
51
|
+
"LICENSE",
|
|
52
|
+
"README.md",
|
|
53
|
+
"CHANGELOG.md",
|
|
54
|
+
"SECURITY.md",
|
|
55
|
+
"pptb.config.json"
|
|
56
|
+
],
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": ">=22"
|
|
59
|
+
},
|
|
60
|
+
"scripts": {
|
|
61
|
+
"dev": "vite",
|
|
62
|
+
"build": "tsc -b && vite build",
|
|
63
|
+
"preview": "vite preview",
|
|
64
|
+
"typecheck": "tsc -b",
|
|
65
|
+
"lint": "eslint . --max-warnings=0",
|
|
66
|
+
"test": "vitest run",
|
|
67
|
+
"test:watch": "vitest",
|
|
68
|
+
"validate": "pptb-validate",
|
|
69
|
+
"format": "prettier --write .",
|
|
70
|
+
"format:check": "prettier --check ."
|
|
71
|
+
},
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"@fluentui-contrib/react-data-grid-react-window": "^1.4.2",
|
|
74
|
+
"@fluentui/react-calendar-compat": "^0.4.7",
|
|
75
|
+
"@fluentui/react-components": "^9.74.9",
|
|
76
|
+
"@fluentui/react-datepicker-compat": "^0.6.39",
|
|
77
|
+
"@fluentui/react-icons": "2.0.343",
|
|
78
|
+
"@fluentui/react-timepicker-compat": "^0.4.41",
|
|
79
|
+
"@monaco-editor/react": "^4.7.0",
|
|
80
|
+
"exceljs": "^4.4.0",
|
|
81
|
+
"react": "^18.3.1",
|
|
82
|
+
"react-dom": "^18.3.1",
|
|
83
|
+
"react-window": "^2.2.3"
|
|
84
|
+
},
|
|
85
|
+
"devDependencies": {
|
|
86
|
+
"@eslint/js": "^9.36.0",
|
|
87
|
+
"@pptb/types": "^1.2.3",
|
|
88
|
+
"@types/node": "^24.10.4",
|
|
89
|
+
"@types/react": "^18.3.27",
|
|
90
|
+
"@types/react-dom": "^18.3.7",
|
|
91
|
+
"@types/react-window": "^1.8.8",
|
|
92
|
+
"@vitejs/plugin-react": "^5.1.0",
|
|
93
|
+
"eslint": "^9.36.0",
|
|
94
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
95
|
+
"eslint-plugin-react-refresh": "^0.4.22",
|
|
96
|
+
"globals": "^16.4.0",
|
|
97
|
+
"jsdom": "^30.1.2",
|
|
98
|
+
"monaco-editor": "^0.54.0",
|
|
99
|
+
"prettier": "^3.9.10",
|
|
100
|
+
"scheduler": "^0.27.0",
|
|
101
|
+
"typescript": "~5.9.3",
|
|
102
|
+
"typescript-eslint": "^8.45.0",
|
|
103
|
+
"vite": "^7.3.0",
|
|
104
|
+
"vitest": "^5.0.4"
|
|
105
|
+
}
|
|
106
|
+
}
|
package/pptb.config.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
{
|
|
2
|
-
"invocation": {
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"capabilities": ["fetchxml"],
|
|
5
|
-
"prefill": {
|
|
6
|
-
"description": "Pass 'fetchXml' (the root entity is derived from the FetchXML itself), a 'viewRef' to an existing view, or just 'entityLogicalName' to start a fresh query on that entity. All fields are optional; with no prefill the tool opens empty.",
|
|
7
|
-
"properties": {
|
|
8
|
-
"fetchXml": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"description": "Serialized FetchXML query string. The root entity is parsed from this — no separate entity name is required."
|
|
11
|
-
},
|
|
12
|
-
"entityLogicalName": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "Root entity logical name, e.g. 'account'. Used to start a fresh query when no 'fetchXml' or 'viewRef' is supplied. Ignored when 'fetchXml' is present, since the root entity is then taken from the FetchXML."
|
|
15
|
-
},
|
|
16
|
-
"viewRef": {
|
|
17
|
-
"type": "object",
|
|
18
|
-
"description": "EntityReference to an existing view. When provided, the FetchXML is retrieved from the view record. Use instead of 'fetchXml'.",
|
|
19
|
-
"required": ["id", "entityLogicalName"],
|
|
20
|
-
"additionalProperties": false,
|
|
21
|
-
"properties": {
|
|
22
|
-
"id": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"format": "uuid",
|
|
25
|
-
"description": "GUID of the view record."
|
|
26
|
-
},
|
|
27
|
-
"entityLogicalName": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"enum": ["savedquery", "userquery"],
|
|
30
|
-
"description": "Dataverse entity logical name: savedquery = system/public view; userquery = personal view."
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"returnTopic": {
|
|
37
|
-
"description": "Returns the current FetchXML query back to the invoking tool.",
|
|
38
|
-
"properties": {
|
|
39
|
-
"fetchXml": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"description": "Serialized FetchXML query currently shown in the FetchXML pane."
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"invocation": {
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"capabilities": ["fetchxml"],
|
|
5
|
+
"prefill": {
|
|
6
|
+
"description": "Pass 'fetchXml' (the root entity is derived from the FetchXML itself), a 'viewRef' to an existing view, or just 'entityLogicalName' to start a fresh query on that entity. All fields are optional; with no prefill the tool opens empty.",
|
|
7
|
+
"properties": {
|
|
8
|
+
"fetchXml": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Serialized FetchXML query string. The root entity is parsed from this — no separate entity name is required."
|
|
11
|
+
},
|
|
12
|
+
"entityLogicalName": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Root entity logical name, e.g. 'account'. Used to start a fresh query when no 'fetchXml' or 'viewRef' is supplied. Ignored when 'fetchXml' is present, since the root entity is then taken from the FetchXML."
|
|
15
|
+
},
|
|
16
|
+
"viewRef": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"description": "EntityReference to an existing view. When provided, the FetchXML is retrieved from the view record. Use instead of 'fetchXml'.",
|
|
19
|
+
"required": ["id", "entityLogicalName"],
|
|
20
|
+
"additionalProperties": false,
|
|
21
|
+
"properties": {
|
|
22
|
+
"id": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": "uuid",
|
|
25
|
+
"description": "GUID of the view record."
|
|
26
|
+
},
|
|
27
|
+
"entityLogicalName": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": ["savedquery", "userquery"],
|
|
30
|
+
"description": "Dataverse entity logical name: savedquery = system/public view; userquery = personal view."
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"returnTopic": {
|
|
37
|
+
"description": "Returns the current FetchXML query back to the invoking tool.",
|
|
38
|
+
"properties": {
|
|
39
|
+
"fetchXml": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "Serialized FetchXML query currently shown in the FetchXML pane."
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|