Kapitel 6 Flashcards

1
Q

Welche Web-Technologien benutzt der Hybrid Web Container?

A

Hybrid Web Container uses:

  • HTML
  • CSS
  • JavaScript

These web technologies make it easy for you to customize the generated files by using JavaScript code

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

Wie wird der HTML-Code bzgl. Seiten unterteilt und wie kann man den generierten HTML-Code bearbeiten?

A

The generated HTML files contain all screens for the workflow app, each in their own <div> section of the
document

  • Files can be opened with third-party Web development tools and modified
  • Any changes made using a third-party tool will be overwritten if generated from the Mobile Workflow deployment tool
  • Mobile Workflow Forms Editor includes a HTMLView control that can be placed on a screen, and in which custom HTML
    code can be inserted
  • Will be published in-line when the file is re-generated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Welche CSS-Library wird verwendet und welche Plattformen verwenden dann doch etwas anderes?

A

jQueryMobile CSS file is embedded as the default look-andfeel for iOS, BlackBerry 6, and Android
- Windows Mobile and BlackBerry 5 uses a different CSS library

Can select from the variety of themes within the jQueryMobile framework or use your own CSS rules for skinning pages and
screen elements
- These can be device specific
- You can use your own CSS

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

Welche Datei steht für eigene JavaScript-Funktionen zur Verfügung?

A

Customization points have been provided in custom.js to allow modifications
- Customization of the HTML page can be executed using embedded JavaScript in these customization points

Additional custom JavaScript files can be added to the Mobile Workflow package

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

Welche Dateien werden generiert für den Mobile Workflow?

A

Files created each time a generate is performed:

  • manifest.xml
    • A compilation of all resources used in the application
  • .zip
    • The deployment unit for the application
    • This is what is actually deployed to the device

Files re-created for a generation:
- workflow.html (Container of all screens in the workflow app, each in their own <div>
section of the document)
- workflow_CustomLookAndFeel.html (Same as above, but for BlackBerry 5.0 devices)
- workflow_jQueryMobileLookAndFeel.html (Same as above, but for iOS, Android and BlackBerry 6.0 devices)
- WorkflowClient.xml (Mappings between the keys and the MBO parameters, operations and attributes)
- Resources.js (Functions to determine the locale – do not edit)
- Workflow.js (Internal functions called by the generated code – do not edit)

Re-Created if the file does NOT exist:

  • API.js (Public functions that can be called by the developer, Recommend you do not edit this file)
  • Utils.js (Internal workflow functions, Recommend you do not edit this file)
  • All * css files
  • Custom.js
  • WorkflowMessage.js (objects that allow you to easily view and manipulate the contents of the in-memory data that the workflow application is using)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Wie ist Custom.js aufgebaut?

A

Contains pre-defined customization points (function stubs) that can be coded with JavaScript: WorkflowLoad, Submit,
NavigateForward, NavigateBackward, ShowScreen, MenuItemClick, Save
- Each customization point has a Before and After version, i.e. BeforeWorkflowLoad
- Before methods return a boolean
- If true, the default behavior is executed, i.e. NavigateForward (next screen)
- If false, the default behavior is replaced with the developers custom code

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

Welche Schritte sind notwendig für ein Server-initiated Lookup?

A

Online lookup can also be added to server-initiated workflow applications
The Object Query will be automatically generated:
- Create an MBO with one load parameter
- Map the parameter as a propagate-to attribute
- Then assign the MBO to a cache group that uses an Online policy

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

Wozu dient der On-Device-Result-Cache?

A
  • When value is non-zero, the results of the query will be cached and encrypted in a cache on the device
  • Subsequent requests using the same parameter values will use the results from the cache rather than a new result set retrieved from the server
  • The contents of the cache can be cleared through custom code, either selectively or entirely
  • Can now specify a timeout value when making an online request that invokes an object query
  • Formerly referred to as “synchronous submit”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Was ist lokalisierbar?

A

The following can be localized in a Workflow application:

  • Screens
  • Screen Controls
  • Menu items

Localization is accomplished by defining conversion instructions within a locale properties file

Lokalisierung geschieht im Workflow-Forms-Editor in einem separaten Tab (Localization) und wird in einem separaten Properties-File abgespeichert.

Language, Country, Variant können angegeben werden.

Application names can not begin with a numeric

Combination Requirements:
- If you add a locale that includes a country, must also include
the locale that contains only the language
- If you add locale that includes a variant, must also include a locale with the language and country

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

Wie kann Authentifizierung im FlowDesign aktiviert werden?

A

Static certificate-based authentication can be specified at design-time (Click Generate from Certificate to display Picker dialog)

UND:

Create a menu item on a workflow screen

  • Select the “Select Certificate” type to allow the user to display and choose an X.509 certificate
  • The screen is automatically created that allows the user to select which certificate to use
How well did you know this?
1
Not at all
2
3
4
5
Perfectly