Classes
Methods
(async) execute() → {Promise.<void>}
Execute migration.
- Source:
Returns:
- Type
- Promise.<void>
(static) print(data, params)
Prints console information
Parameters:
Name | Type | Description |
---|---|---|
data |
* | |
params |
Help4.MigrateFioriSpaces.PrintParams |
- Source:
Throws:
Error
(static) printEntityUrls(info, ids, params)
Shows links to projects in Manager UI.
Parameters:
Name | Type | Description |
---|---|---|
info |
Help4.MigrateFioriSpaces.DownloadInfo | |
ids |
Array.<string> | |
params |
Help4.MigrateFioriSpaces.PrintEntityUrlParams |
- Source:
Type Definitions
DownloadInfo
Type:
- Object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
url |
string | the server URL as configured for SAP Companion | |
ids |
Array.<string> | the project IDs | |
contextTypes |
Object | the project contextTypes | |
xcsrf |
string | the XCSRF token | |
serverBaseUrl |
string | the server base URL | |
waBase |
string | the server's relative workarea URL | |
waName |
string | the server's workarea ID | |
entities |
Array.<Help4.MigrateFioriSpaces.EntityStreamList> |
<optional> |
entity information |
whoAmI |
Help4.MigrateFioriSpaces.WhoAmI |
<optional> |
my identification data on the server |
blocked |
Array.<string> |
<optional> |
all UIDs that are blocked; WTs cannot be acquired |
toBeAcquired |
Array.<string> |
<optional> |
all UIDs where WTs must be acquired to perform operation |
acquired |
Array.<string> |
<optional> |
all UIDs where WTs have been acquired |
notAcquired |
Array.<string> |
<optional> |
all UIDs that we were unable to acquire WTs |
returned |
Array.<string> |
<optional> |
all UIDs where WTs were returned |
notReturned |
Array.<string> |
<optional> |
all UIDs that we were unable to return the WT |
modified |
Array.<string> |
<optional> |
all UIDs where we modified data |
saved |
Array.<string> |
<optional> |
all UIDs that were successfully saved |
failed |
Array.<string> |
<optional> |
all UIDs that were save failed |
- Source:
EntityInfo
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
Meta |
Help4.MigrateFioriSpaces.EntityMetaInfo | entity Meta information |
uid |
string | entity UID |
- Source:
EntityMetaInfo
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
Streams |
Array.<Help4.MigrateFioriSpaces.EntityStreamInfo> | |
wt |
number | string | whether WT is available |
wt_location |
string | location of WT, if acquired |
wt_owner |
string | owner of WT, if acquired |
- Source:
EntityStreamInfo
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
name |
string | stream name |
- Source:
EntityStreamList
Type:
- Object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
uid |
string | entity UID | |
Streams |
Array.<Help4.MigrateFioriSpaces.EntityStreamInfo> | streams of entity | |
entity_txt |
Object |
<optional> |
content of entity.txt |
lesson_js |
Object |
<optional> |
content of lesson.js |
project_dpr |
XMLDocument |
<optional> |
content of project.dpr |
- Source:
MigrationInfo
Type:
- Object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
migrationMap |
Object | the migration map; data-help-id vs data-help-id2 | |
ro |
Help4.MigrateFioriSpaces.DownloadInfo |
<optional> |
the download information for RO |
rw |
Help4.MigrateFioriSpaces.DownloadInfo |
<optional> |
the download information for RW |
- Source:
PrintEntityUrlParams
Type:
- Object
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
text |
string | caption | ||
level |
number |
<optional> |
2 | the level of indentation |
warn |
boolean |
<optional> |
false | whether this is a warning |
error |
boolean |
<optional> |
false | whether this is an error |
abort |
boolean |
<optional> |
false | whether an error should be thrown |
- Source:
PrintParams
Type:
- Object
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
isText |
boolean |
<optional> |
true | whether data is text |
level |
number |
<optional> |
1 | the level of indentation |
warn |
boolean |
<optional> |
false | whether this is a warning |
error |
boolean |
<optional> |
false | whether this is an error |
abort |
boolean |
<optional> |
false | whether an error should be thrown |
- Source:
ProjectIdList
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
ro |
Array.<string> | the RO project IDs |
rw |
Array.<string> | the RW project IDs |
- Source:
WhoAmI
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
name |
string | assembled user name: " |
uid |
string | user UID |
- Source: