Open u i Overview
-
Upload
christianschatt6005 -
Category
Documents
-
view
187 -
download
3
Transcript of Open u i Overview
-
5/20/2018 Open u i Overview
1/18
Open UI Overview
-
5/20/2018 Open u i Overview
2/18 2014 SAP AG. All rights reserved. 2
Agenda
What is Open UI
What is it good for?
Limitations
How to use Open UI Agentry Editor settings
Native API
(Next Week) Gary presenting Open UI for Android
-
5/20/2018 Open u i Overview
3/18 2014 SAP AG. All rights reserved. 3
Client Architecture
Open UI
-
5/20/2018 Open u i Overview
4/18 2014 SAP AG. All rights reserved. 4
Controls Available
Integer Slider
Selection Button (Android)
Star Rating (Android, Presales)
Demo Controls in sample app.
ESRI Map (online in WM 6.1)
Visual Enterprise (WM 6.1)
Dynamic Forms Questionnaire (iOS, NG)
Field Reach integration (iOS, NG)
-
5/20/2018 Open u i Overview
5/18 2014 SAP AG. All rights reserved. 5
Controls Possible
Timer Control
Fire Agentry action every x seconds
GPS footprints
Agentry Object tree
Inspect Objects like in ATE
Email template
Client side reporting
Simple RFID / Barcode scanning?
Compass
Accelerometer
Light
Temperature(if hardware supports)
And More .
-
5/20/2018 Open u i Overview
6/18 2014 SAP AG. All rights reserved. 6
Open UI Extensions Available
Supported by Android, iOS, WPF platforms Date and Time Display/Edit
Date Display/Edit
Decimal Display/Edit
Duration Display/Edit
Embedded Image
External Data Display/Edit
Identifier Display/Edit
Integer Display/Edit
Label Display
Time Display/Edit
Boolean / Button (Not available in WPF as of SMP 3 SP3)
Location Display/Edit WPF support due in SMP 3 SP05
String Display/Edit
Collection
-
5/20/2018 Open u i Overview
7/18 2014 SAP AG. All rights reserved. 7
Agentry Field Types with OpenUI support
Agentry Screen Field Edit Type Property Data Type Android (Extend the adapter, access via Model)
(Applies to all in general) FieldAdapter
Boolean BooleanEditAdapter
Button (check box type) Boolean ButtonDisplayAdapter
Complex Table List Complex Table Selection Depends on type of field selected
Complex Table Search Complex Table Selection Depends on type of field selected
Date Date DateEditAdapter
Date and Time
Date and Time DateAndTimeEditAdapter
Decimal Number Decimal Number DecimalEditAdapter
Duration Duration DurationEditAdapter
Embedded Image Embedded Image EmbeddedImageDisplayAdapter
External Data External Data ExternalDataEditAdapter
Identifier Identifier IntegerEditAdapter
Integral Number Integral Number IntegerEditAdapter
Label N/A LabelDisplayAdapter
List Selection Collection CollectionDisplayAdapter
List View Collection CollectionDisplayAdapter
Location Location LocationEditAdapter
String String StringEditAdapter
Time Time TimeEditAdapter
http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-fieldadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-booleaneditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-buttondisplayadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-dateeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-dateandtimeeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-decimaleditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-durationeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-embeddedimagedisplayadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-externaldataeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-integereditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-integereditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-labeldisplayadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-collectiondisplayadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-collectiondisplayadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-locationeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-stringeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-timeeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-timeeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-stringeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-locationeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-collectiondisplayadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-collectiondisplayadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-labeldisplayadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-integereditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-integereditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-externaldataeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-embeddedimagedisplayadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-durationeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-decimaleditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-dateandtimeeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-dateeditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-buttondisplayadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-booleaneditadapter-cla.htmlhttp://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01993.0302/doc/html/android-open-ui-client-openui-adapters-fieldadapter-cla.html -
5/20/2018 Open u i Overview
8/18 2014 SAP AG. All rights reserved. 8
Agentry Field Types without OpenUI support
Agentry Screen Field Edit Type Property Data Type Why not supported?
(None Specified)
Barcode Scan Agentry implements a specialized control.
Calendar View Date Date is an alternative
Complex Table Drop Down Complex Table Selection Complex Table Search, as an alternative.
Complex Table Tree Complex Table Selection Complex Table Search, as an alternative.
Data Table Selection
Data Table Selection Currently no way to access whole Data Table????
External FieldFor ActiveX,but External Field tab settings identical to OpenUI.
HTML Agentry implements a specialized control.
Image Capture Embedded Image Agentry implements a specialized control.
List Tile View Collection Agentry implements a specialized control.
Password Validation String Agentry implements a specialized control.
Tile Display Object Agentry screen container.
Tile Edit Object Agentry screen container.
Signature Use External Data as alternative.
-
5/20/2018 Open u i Overview
9/18 2014 SAP AG. All rights reserved. 9
Eclipse Agentry EditorOpen UI
-
5/20/2018 Open u i Overview
10/18 2014 SAP AG. All rights reserved. 10
Eclipse Agentry EditorActiveX
-
5/20/2018 Open u i Overview
11/18 2014 SAP AG. All rights reserved. 11
Specifying Open UI Extensions in the Editor
External Field settings:
Class Name
Name of the OpenUI extension class Agentry will instantiate
Extension Values
Collection of named StringValues that Agentry can request from control
Agentry Values
Collection of named StringValues the control can request from Agentry
Agentry Actions
Collection of Action and Target pairs the control can request Agentry to run
-
5/20/2018 Open u i Overview
12/18 2014 SAP AG. All rights reserved. 12
Open UI API documentation outline
Each client OS type has its own API that follows native coding conventions.o Android, iOS, and WPF.
o ActiveX is alternative for Win32 and WinCE
Example Android API outline
ClientAdapters
o You extend these classes for your control. Insert your code, Here!!!
Model
o Provides access to Agentry data and functionality.
Core
Data API
o Property to native type conversion.
&&
o Support classes mostly enums.
-
5/20/2018 Open u i Overview
13/18 2014 SAP AG. All rights reserved. 13
Open UI Implementation Components
You need to:
Extend an Adapter provided
Create View to provide to Agentry
Bind Model data to View
If needed:
Update as Agentry changes value
Provide ExtensionStrings to Agentry
Agentry will:
Call initialize method to provide
Model (data) and Context
Accept updated Input value
If needed:
Provide additional Strings to control.
-
5/20/2018 Open u i Overview
14/18 2014 SAP AG. All rights reserved. 14
Additional Model features
State
isEnable(), isVisible(), isHidden()
Validity
ProcessInputReturn.Valid == processInput(newValue)
Type-specific attributes
getMaximumValue() & getMinimumValue()
Other
getLabel(), isHyperlinkEnabled(), executeHyperlinkAction()
-
5/20/2018 Open u i Overview
15/18 2014 SAP AG. All rights reserved. 15
Additional Adapter options
Options for controlling Agentry behavior
isAgentryDisplayingLabel()
isAgentryDisplayingValidationFailure()
Get notified of changes from Agentry
valueChanged()
setEnable(boolean)
setVisible(boolean)
setHidden(boolean)
setHyperlinkEnabled(boolean)
updateLabel(String)
setValid(boolean, String)
-
5/20/2018 Open u i Overview
16/18 2014 SAP AG. All rights reserved. 16
Open UI APIdeveloper definition
Open UI API provides native developers with the ability to implement an alternate
Screen Field control for anyAgentry Propertytype.
The API enables you to override certain Field Edit Types for a detail screen field.
The API supports communication between the control and the client including:
Display and Editing of the screen field property,
Provide External values as Strings to Agentry,
Read Named Agentry String Values from Agentry.
Trigger execution of Named Agentry Actions.
-
5/20/2018 Open u i Overview
17/18 2014 SAP AG. All rights reserved. 17
Open UI summary
Allows developers to write custom controls to replace Agentry controls.Agentry provides control
Field Property value for display
List of Agentry (String) Values
List of Action/Target pairs
Control can provide Agentry Updated value for Field Property
List of Extension (String) Values
Achieved through using the Model-View-Adapter architectural pattern
Agentry provides the model
Developer implements the methods of in the adapter interface
Native View returned for display within Agentry screen
Android, iOS and WPF are packaged and distributed within SMP 3 SDK.
-
5/20/2018 Open u i Overview
18/18 2014 SAP AG All rights reserved 18
2014 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose
without the express permission of SAP AG. The information contained herein may be
changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary
software components of other software vendors.
Microsoft, Windows, Excel, Outlook, PowerPoint, Silverlight, and Visual Studio are
registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x,
System z, System z10, z10, z/VM, z/OS, OS/390, zEnterprise, PowerVM, Power
Architecture, Power Systems, POWER7, POWER6+, POWER6, POWER, PowerHA,
pureScale, PowerPC, BladeCenter, System Storage, Storwize, XIV, GPFS, HACMP,
RETAIN, DB2 Connect, RACF, Redbooks, OS/2, AIX, Intelligent Miner, WebSphere, Tivoli,
Informix, and Smarter Planet are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the United States and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are trademarks or registered
trademarks of Adobe Systems Incorporated in the United States and other countries.
Oracle and Java are registered trademarks of Oracle and its affiliates.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin
are trademarks or registered trademarks of Citrix Systems Inc.
HTML, XML, XHTML, and W3C are trademarks or registered trademarks of W3C,World Wide Web Consortium, Massachusetts Institute of Technology.
Apple, App Store, iBooks, iPad, iPhone, iPhoto, iPod, iTunes, Multi-Touch, Objective-C,
Retina, Safari, Siri, and Xcode are trademarks or registered trademarks of Apple Inc.
IOS is a registered t rademark of Cisco Systems Inc.
RIM, BlackBerry, BBM, BlackBerry Curve, BlackBerry Bold, BlackBerry Pearl, BlackBerry
Torch, BlackBerry Storm, BlackBerry Storm2, BlackBerry PlayBook, and BlackBerry App
World are trademarks or registered trademarks of Research in Motion Limited.
Google App Engine, Google Apps, Google Checkout, Google Data API, Google Maps,
Google Mobile Ads, Google Mobile Updater, Google Mobile, Google Store, Google Sync,
Google Updater, Google Voice, Google Mail, Gmail, YouTube, Dalvik and Android are
trademarks or registered trademarks of Google Inc.
INTERMEC is a registered trademark of Intermec Technologies Corporation.
Wi-Fi is a registered trademark of W i-Fi Alliance.
Bluetooth is a registered trademark of Bluetooth SIG Inc.
Motorola is a registered trademark of Motorola Trademark Holdings LLC.
Computop is a registered trademark of Computop Wirtschaftsinformatik GmbH.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer,
StreamWork, SAP HANA, and other SAP products and services mentioned herein as well
as their respective logos are t rademarks or registered trademarks of SAP AG in Germany
and other countries.
Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal
Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services
mentioned herein as well as their respective logos are trademarks or registered trademarks
of Business Objects Software Ltd. Business Objects is an SAP company.
Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase
products and services mentioned herein as well as their respective logos are trademarks or
registered trademarks of Sybase Inc. Sybase is an SAP company.
Crossgate, m@gic EDDY, B2B 360, and B2B 360Services are registered trademarksof Crossgate AG in Germany and other countries. Crossgate is an SAP company.
All other product and service names mentioned are the trademarks of their respective
companies. Data contained in this document serves informational purposes only. National
product specifications may vary.
The information in this document is proprietary to SAP. No part of this document may be
reproduced, copied, or transmitted in any form or for any purpose without the express prior
written permission of SAP AG.