You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To sort your modules in the launcher, you can use the `SortIndex` property within the `appsettings.json`. This property allows you to define the order of modules by assigning them an index value. Modules with lower index values will appear before those with higher values.
5
+
The launcher generates a config file named `Moryx.Launcher.LauncherConfig.json` in your configuration directory. This file contains settings for the launcher, including module sort-indices and external modules.
6
+
7
+
### Sorting
8
+
9
+
To sort your modules in the launcher, you can use the `ModuleSortIndices` property. This property allows you to define the order of modules by assigning them an index value. Modules with lower index values will appear before those with higher values.
6
10
7
11
````json
8
12
{
9
-
"Shell": {
10
-
"SortIndex": {
11
-
"moduleA-route": 10,
12
-
"moduleB-route": 20,
13
-
"moduleC-route": 15
13
+
"ModuleSortIndices": [
14
+
{
15
+
"Route": "Orders",
16
+
"SortIndex": 1
17
+
},
18
+
{
19
+
"Route": "WorkerSupport",
20
+
"SortIndex": 10
21
+
},
22
+
{
23
+
"Route": "example",
24
+
"SortIndex": 100
14
25
}
15
-
}
26
+
]
16
27
}
28
+
17
29
````
18
30
19
-
## External Modules
31
+
###External Modules
20
32
21
-
To define external modules in the launcher configuration, you can use the `ExternalModules` property within the `appsettings.json`. This allows you to specify
33
+
To define external modules in the launcher configuration, you can use the `ExternalModules` property. This allows you to specify
22
34
modules that should be loaded from external sources rather than being bundled with your application.
23
35
24
36
External modules are integrated with the `<embed>` tag; the external web-page must support being embedded in an iframe.
25
37
26
38
````json
27
39
{
28
-
"Shell": {
29
-
"SortIndex": {
30
-
"example": 10
31
-
},
32
-
"ExternalModules": [
33
-
{
34
-
"Route": "example",
35
-
"Title": "Example",
36
-
"Url": "http://www.example.com",
37
-
"Icon": "globe"
38
-
}
39
-
]
40
-
}
40
+
"ExternalModules": [
41
+
{
42
+
"Title": "Example",
43
+
"Url": "http://www.example.com",
44
+
"Icon": "globe",
45
+
"Description": "Example description of the external module.",
Copy file name to clipboardExpand all lines: docs/migrations/v8_to_v10.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,10 @@ With MORYX 10, several changes have been made to the data model to improve perfo
44
44
- If you were using `ProductFileEntity`, consider using alternative storage solutions such as file systems or dedicated file storage services to manage product-related files.
45
45
- The `ProductFile` was removed completely.
46
46
47
+
## Launcher
48
+
49
+
- The `SortIndex` configuration was moved to the `Moryx.Launcher.LauncherConfig.json` configuration file. Refer to the [Launcher](/docs/articles/launcher/Launcher.md) documentation for more information.
50
+
47
51
## Removal of Modules-Analytics
48
52
49
53
The analytics module was doing nothing and the web module was replaced by supporting external modules in `Launcher`. Its now supported to embed external web-pages into the shell. Refer to the [Launcher](/docs/articles/launcher/Launcher.md) documentation for more information.
varcompiledPageActionDescriptors=awaitTask.WhenAll(pageActionDescriptors.Select(async pad =>awaitPageLoader.LoadAsync(pad,EndpointMetadataCollection.Empty)));
62
+
varcompiledPageActionDescriptors=awaitTask.WhenAll(pageActionDescriptors.Select(async pad =>await_pageLoader.LoadAsync(pad,EndpointMetadataCollection.Empty)));
64
63
65
64
// Filter permission
66
65
if(contextis not null&&_clientis not null)
@@ -87,16 +86,22 @@ public async Task<IReadOnlyList<ModuleItem>> GetModuleItems(HttpContext context)
0 commit comments