Local storage and offline Flashcards

1
Q

How can you create a local copy of xerver side entities?

A

Right click on Local Storage and select “Add Entity from DB…”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the restrictions on local entities?

A
  • No data preview available

- Can’t be bootstrapped

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How can I secure small amounts of sensitive data in the local storage?

A
  • Use the device’s Keystore/Keychain with the Keystore Plugin from the forge, then the encryption is done by the device itself
  • Use a Javascript encryption frameto encrypt data before storing it. Then youn still need to secure the encryption ke, this can be done using the keystore
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can I secure large amounts of sensitive data in the local storage?

A
  • Encrypt the whole local storage with the Ciphered Local Storage Plugin
  • Then you have a performance overhead
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What Sync Actions are available wnd where are they?

A
The Synvc actions can be found in the Logic Tabs's folders Client/Server actions.
Client Actions:
-OfflineDataSync
-OfflineDataSyncConfiguration
-TriggerOfflineDataSync
Server Actions:
-ServerDataSync
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the content of the offline data sync event block?

A
Actions:
-On Configure
-On Sync
-Trigger OnSyncStart/Error/Complete
Events
-OnSyncStart/Error/Complete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can I react to a Network Status Change?

A

There is a Network Status Changed block with event which is part of the MobilePatterns/Private Section

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When could you do offline data sync?

A
  • OnLogin
  • OnOnline
  • OnResume
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the OfflineDataSync Config variables? What are their default settings?

A
  • SyncOnOnline False
  • SyncOnLogin False
  • SyncvOnResume False
  • SyncOnError False
  • RetryIntervalInSeconds 30
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How is the OfflineDataSync called in the TriggerOfflineDataSync Routine and what are the parameters?

A

It is an action from the SILKUI private block which will start the sync to run in background. The parameters are:
SyncUnit
-DiscardPendingSyncUnit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the typical Sync patterns?

A

-Read Only Data
Read Only Data - Optimized
-Read Write Data - Last write wins
-Read Write Data - With Conflict Detection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What buttons/functions are available while debugging?

A
  • Step over
  • Step into
  • Step Out
  • Break on all Exceptions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How are watches used in debugger?

A

Right click on variables, their content is then listed and updated in the watches tab of the debugger

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How is an exception handler selected?

A

OS always chooses the most specific one. If no handler applies in current context OS bubbkles up until arriving at the GlobalException handler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Where can the global exception handler be configured?

A

In the Onexception action in Folder Common of UI Flow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What properties of an Exception Handler can be configured?

A

-Abort transaction
If true, it rolls back all DB changes which were made so far by the process which raiosed the exception. Is only available on server side/server actions.
-Log Error
Defines if the error should be logged in the OS platform logs. If configured for Client side actions, the logs will be synced as soon as the user is online

17
Q

-What is available in the monitoring for the App?

A

Details About:

  • Error Logs
  • Database query durations
  • Web service cvalls
18
Q

Where can monitoring be accessed?

A

In the monitoring tab of OS Servicecenter under myName.outsuystemscloud.com/servicecenter

19
Q

Can I refresh an aggregate in a Client action?

A

No, Aggregates can only be refreshed in screen action

20
Q

Assume data is fetched in a screen action by an aggregate, how can I refresh the agrregate after updating the corresponding entities?

A

You can only refresh screen aggregates in a client action. The only way ist to call another aggregate to obtain the modified data.

21
Q

Can I use functions in an aggregate, e.g. to calculate data in a calculated attribute?

A

Yes, you can. Even self programmed User functions. But you can not pass the data which should be fetched as an input to it.

22
Q

If you bootstrap data from a sheest of an excel with several sheets, what will be the name of the table?

A

The name of the selected sheet.

23
Q

If you perform an advanced SQL query, what is the correct structure?

  • SELECT * FROM Entity.Name
  • SELECT * FROM [Entity].{Name}
  • SELECT * FROM {Entit}.[Name]
A

SELECT * FROM [Entity].{Name}