+ All Categories
Home > Documents > Oracle APEX 19.1 & 18 -...

Oracle APEX 19.1 & 18 -...

Date post: 16-Mar-2020
Category:
Upload: others
View: 9 times
Download: 1 times
Share this document with a friend
108
1 1
Transcript
Page 1: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

1

1

Page 2: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

2

OracleAPEX19.1&18.2TheGoldenNuggets

DietmarAustOpal-Consulting,Köln

www.opal-consulting.de

Page 3: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

3AboutDietmar.

•  Dipl.-Inform.DietmarAust,FreelanceConsultant•  Master'sDegreeinComputerScience(MSCS)

•  BuildingOraclebasedWebApplicationssince1997•  Portal,Forms,Reports,OWAToolkit,nowAPEX!

•  1997-2000:ConsultantatOracleGermany

•  Since09/2000:FreelanceConsultant,Since2006–APEXonly!

•  AuthoroftheJasperReportsIntegrationtoolkit•  http://www.opal-consulting.de/tools

•  2015DatabaseDeveloperoftheyearintheORDScategory

Page 4: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

4AboutDietmar

•  OracleACEfrom2012–2019•  http://dietmaraust.com/quitting-the-oracle-ace-program-explained

•  ContributingtotheOracle/APEXcommunityfrom2006...2050?

Page 5: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

5Agenda

Coveringsmallernewfeaturesfrom18.2to19.1•  SocialSign-InforWorkspace•  DarkModeinyourapplications•  UnificationofThemesundImprovementsinUT•  InteractiveGridEnhancements•  NewWizardGeneratedPages•  SQLWorkshop•  Othersmallernewfeatures•  PL/SQLAPIs•  Deprecatedandremovedfunctionality

Page 6: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

6Versioninformationinlowerleftcorner

•  Whenwasthatnewfeatureintroduced?

Page 7: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

7Sampleapplication/slidesavailablefordownload

http://dietmaraust.com/blog

Page 8: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

8

ApplicationBuilder

WorkspaceLogin

Page 9: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

9SocialSign-InforWorkspaces

Newoptiontoauthenticateagainstthedevelopmentenvironment

APEX19.1

Page 10: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

10SocialSign-InforWorkspaces

Someauthenticationschemeswillpresentalistofworkspaces•  Accountwiththeidenticalnamemustexistintheworkspace

APEX19.1

Page 11: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

11SocialSign-InforWorkspace

•  Generalinformationonsettingupsocialsignin:–  https://asktom.oracle.com/pls/apex/f?p=100:551:::,551:P551_CLASS_ID:5861

Page 12: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

12OracleApplicationExpressOfficeHours

OracleApplicationExpressOfficeHoursOnAskTomisagreatresourcehttps://asktom.oracle.com/pls/apex/f?p=100:551

Page 13: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

13

ApplicationBuilder

DarkMode

Page 14: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

14DarkMode

•  Whatisdarkmode?–  Currentdesigntrend–  ImplementedinoperatingsystemslikeMacOSMojave,Windows,Android,etc.

– Appsneedtosupportthat,notalldo

•  Benefits–  Stylish,newdesigntrend–  Reduceseyestrain(atnight/workinglonghours)

APEX19.1

Page 15: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

15DarkMode

•  Switchingitonintheapplicationbuilder/workspace

APEX19.1

Page 16: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

16DarkMode

UsingDarkModeinyourownapplications:1.  CreateanewthemestyleinThemeRoller

2.  Createnavigationbarentries=>runapplicationprocess

3.  UseAPEX_THEME.SET_USER_STYLEtoswitchbetweenthemestyles

APEX19.1

Page 17: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

17DarkMode

•  AutomaticallydetectDarkModefromtheOS(DanielHochleitner):– https://twitter.com/Dani3lSun/status/1105842872723615744

APEX19.1

Page 18: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

18DarkMode

Browser-support?https://caniuse.com/#search=prefers-color-scheme

APEX19.1

Page 19: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

19

ApplicationBuilder

Themes

Page 20: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

20Unificationoflegacythemes/UIinterfaces=>UT

OracleAPEXmovestowardsaunifiedstandardthemewhichisfullyresponsiveandprovidessupportformobiledevices.OracleUniversalTheme– Highlycustomizable:templateoptions/themeroller– Responsive/worksonalldevicesizes–  Implementsfunctionalityformobiledevices(i.e.touchevents)aswell

APEX19.1

42

Page 21: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

21Unificationoflegacythemes/UIinterfaces=>UT

•  Deprecationofallpreviousstandardthemes...

•  Youcannotcreatenewappsbasedonoldthemesanymore

•  Existingapplicationscontinuetowork

•  Custom(er)themescanstillbeusedfornewapplications

APEX19.1

Page 22: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

22Unificationoflegacythemes/UIinterfaces=>UT

•  MobileUserInterfaces(basedonJQueryMobile)REMOVED

•  Theme51(jquery-mobile-ui)isdesupportedfornewapplications

•  UpgradedapplicationsWILLBREAK!!!(conflictinJQuerylibraries)

APEX19.1

Page 23: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

23Unificationoflegacythemes/UIinterfaces=>UT

•  MobilecapabilitiesmovedtoUT•  MobileRegionTypessupportedonDesktopUserInterface(since18.1):– ListView– ColumnToggleReport– ReflowReport

APEX18.1

Page 24: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

24UniversalThemeAccessibilityImprovements

•  Using<main>tagforbodycontent•  FirstTABleadsto„skiptomaincontent“withkeyboard– Focusesoncontentandskipsnavigationbar

APEX19.1

Page 25: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

25UniversalThemeNavigationStyles

•  Newnavigationstyles•  AfterUpgradetoUT1.3newoptioninuserinterface

APEX19.1

Page 26: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

26UniversalThemeNavigationStyles

ClassicA(Defaultfornewapps)B

APEX19.1

Page 27: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

27UniversalTheme-ThemeRollerProperties

18.219.1•  Newpropertiesfor

Navigation:AccentandBadge

•  HoverstateandMenualsoaffectsothercomponents

APEX19.1

Page 28: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

28UniversalThemeUpgrade

•  Version1.3available•  OnlineUTsampleapplication– https://apex.oracle.com/ut

•  Needstobeupgradedmanually

APEX19.1

Page 29: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

29UniversalThemeUpgrade

APEX19.1

Page 30: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

30UniversalThemeUpgrade

•  Possiblyoutofsync:– Styles– Templates– TemplateOptions

•  UpgraderequiredfornewfeaturesinUT/PageDesigner

APEX19.1

Page 31: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

31Whichthemesrequireupgrade?–SQLQuery

SELECTworkspace,application_id,application_name,theme_name,file_prefix,is_currentFROMapex_application_themesWHEREreference_idISNOTNULL--stillsubscribed=>canberefreshedAND(theme_name='UniversalTheme'ORtheme_internal_name='UNIVERSAL_THEME')ORDERBYlast_updated_onDESCNULLSLAST

Page 32: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

32

ApplicationBuilder

OtherFeatures

Page 33: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

33Editingcustomattributesinlistsiseasier

Listshavecustomattributeswhichhaveadifferentmeaningbasedonthechosentemplate.Showingtheproperlabelsforcustomattributesmakeseditingeasier.

APEX19.1

Page 34: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

34Editingcustomattributesinlistsiseasier

APEX19.1

Page 35: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

35PageDesigner>staticlistofvalues

StaticlistofvaluesaresupportedbyadialoguePreviously(sorted):•  STATIC:DisplayValue1[;ReturnValue1],DisplayValue2[;R

eturnValue2],...Orunsorted•  STATIC2:DisplayValue1[;ReturnValue1],DisplayValue2[;

ReturnValue2],...Orreplaceseparatorsusingspecialcharacters•  STATIC2(~,*):Aust,Dietmar*1~One;Two*2

APEX18.2

Page 36: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

36PageDesigner>staticlistofvalues

APEX18.2

Page 37: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

37GridEditTranslationsoptimized

Fortranslatedapplicationstheeditingdirectlyinthetranslationrepositoryhasbeenoptimized•  SharedComponents>Globalization>TranslateApplication>TranslationRepository

APEX19.1

Page 38: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

38GridEditTranslations…BEFORE19.1

APEX19.1

Page 39: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

39GridEditTranslations…SINCE19.1

APEX19.1

Page 40: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

40

ApplicationBuilder

DeveloperTools

Page 41: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

41DeveloperTools–AutomaticDebugforExceptions

Whenanexceptionoccurs,debuginformationisavailableimmediatelyintheconsole.•  Duringprocessingtheenginewillkeeptrackofminimalinformationaboutthecurrentexecutionstack.

•  Ifanerroroccurs,thiswillberecordedinAPEX_DEBUG_MESSAGES.

•  Ifyouareloggedinasadeveloper(thisisoptional)alinkwillbegeneratedtoaccessthedebugmessagesdirectly=>BrowserDeveloperConsole

APEX19.1

Page 42: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

42DeveloperTools–AutomaticDebugforExceptions

APEX19.1

Page 43: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

43DeveloperTools–APP_IDpartofAPEX$SESSION

•  APEXsessioninformationprovidedthroughsys_context– UsedinViews/Triggersforperformanceinsteadofv()function

SELECTSYS_CONTEXT('APEX$SESSION','APP_USER')app_user,SYS_CONTEXT('APEX$SESSION','APP_SESSION')app_session,SYS_CONTEXT('APEX$SESSION','WORKSPACE_ID')workspace_id,SYS_CONTEXT('APEX$SESSION','APP_ID')app_idFROMDUAL

APEX19.1

Page 44: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

44

ApplicationBuilder

CompatibilityMode

Page 45: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

45CompatibilityMode

ThecompatibilitymodechangesthebehaviouroftheAPEXengineatruntime=>balancingnewfeatures/security/stricterchecksandeasyupgrades

Page 46: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

46CompatibilityMode

Fulllistofchanges(frompreviousreleases)canbefoundintheCURRENTReleaseNoteshttps://docs.oracle.com/en/database/oracle/application-express/19.1/htmrn/index.html•  CompatibilityModeChangesinMode4.1•  CompatibilityModeChangesinMode4.2•  CompatibilityModeChangesinMode5.0•  CompatibilityModeChangesinMode5.1/18.1/18.2•  CompatibilityModeChangesinMode19.1

Page 47: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

47CompatibilityMode

•  RichTexteditorenforcesthevalidationoftheMaxLengthitemattribute.

•  WhenthelengthoftheHTMLmarkupexceedstheMaxLengthvalue,thesystemproducesanerrormessage.

APEX19.1

Page 48: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

48CompatibilityMode

•  Theerrormessagecanbechangedusingatextmessage:APEX.RICH_TEXT_EDITOR.MAXIMUM_LENGTH_EXCEEDED

APEX19.1

Page 49: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

49CompatibilityMode-Query

SELECTworkspace,application_id,application_name,owner,compatibility_mode,last_updated_onFROMapex_applicationsORDERBYlast_updated_onDESC;

Page 50: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

50

ApplicationBuilder

ItemsandRegions

Page 51: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

51MaintainItemSessionState(inMemory)

SessionStateforItemscanbeusedinmemoryonly,notwrittentodiskatall.18.219.1

APEX19.1

Page 52: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

52MaintainItemSessionState(inMemory)

•  Benefits/Changes– Securitybenefit–requirementforPCIDSScompliance

– Fasterduringpagerenderingandprocessing•  reducesI/Oonwwv_flow_data

– Thedefaultforpageitemsoftype"DBColumn"andwhicharenotthePKwillbe"PerRequest(MemoryOnly)".

APEX19.1

Page 53: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

53InteractiveGridEnhancements

Additionaldeclarativeoptionsfortheinteractivegrid

APEX19.1

Page 54: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

54InteractiveGridEnhancements

AdditionaldeclarativeoptionsforIGcolumns18.219.1

APEX19.1

Page 55: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

55InteractiveGridEnhancements

APEX18.2

Page 56: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

56InteractiveGridEnhancements

DynamicActionSetValueforMultipleIGColumns

APEX18.2

Page 57: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

57

ApplicationBuilding

NewWizardGeneratedPages

Page 58: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

58NewMasterDetail(sidebyside)

APEX18.2

Page 59: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

59NewMasterDetail(sidebyside)

APEX18.2

Page 60: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

60NewMasterDetail(sidebyside)

APEX18.2

Page 61: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

61

SQLWorkshop

Page 62: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

62RESTfulservices–easiernavigation

18.219.1•  18.1/18.2:Treealwaysfullyexpanded

•  19.1:rememberstreestate

APEX19.1

Page 63: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

63SQLWorkshop>RESTenablement

AllowRESTEnablementofTABLES,VIEWS,PACKAGES,PROCEDURESandFUNCTIONS.

APEX19.1

Page 64: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

64SQLWorkshop>SampleDatasets

APEX18.2

Page 65: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

65SQLWorkshop>SampleDatasets

Fromthesampledatasetstheapplicationwizardcanbestarteddirectlynow

APEX18.2

Page 66: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

66SQLWorkshop>SampleDatasets

Fromthesampledatasetstheapplicationwizardcanbestarteddirectlynow

APEX18.2

Page 67: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

67SQLWorkshop>SampleDatasets

APEX18.2

Page 68: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

68

PL/SQLAPIs

Page 69: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

69PL/SQLAPIs

APEX_SESSIONSessionutils

testinginsqlplus/sqlclrunningapex_execinsqlplus/sqlcl

create_sessionhasnewparameter:p_call_post_authentication

APEX19.1

Page 70: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

70PL/SQLAPIs

--initializesessionapex_util.set_security_group_id(apex_util.find_security_group_id('TRAINING'));apex_session.create_session(p_app_id=>1386,p_page_id=>4,p_username=>'DIETMAR.AUST',p_call_post_authentication=>true);--getvaluesfromsessionstateselectv('APP_ID')asapp_id,v('APP_SESSION')asapp_session,v('APP_USER')asapp_user,apex_app_setting.get_value(p_name=>'INSTANCE_TYPE')instance_typefromdual;--removesessionapex_session.delete_session(p_session_id=>nv('APP_SESSION'));

Page 71: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

71PackageAPEX_DATA_PARSER

APEX_DATA_PARSERcsv/excel/json/icsparsing

discoverget_columnsget_file_profileget_file_typeget_xlsx_worksheetsjson_to_profileparse

APEX19.1

Page 72: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

72PackageAPEX_DATA_PARSER

CarstenCzarski:“DataLoadingandDeepDiveintoAPEX_DATA_PARSER”

APEX19.1

Page 73: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

73PL/SQLAPIs

APEX_EXECSQLExecution(mostly

remote),especiallyforplugin-developer

add_dml_rowclear_dml_rowscopy_dataexecute_dmlget_blobget_data_typeget_dml_status_codeget_dml_status_messageget_row_version_checksumhas_error…set_nullset_valueAPEX19.1

Page 74: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

74PackageAPEX_EXEC

CarstenCzarski:“RESTServicesWithoutAPEX—ButwithAPEX_EXEC”

APEX19.1

Page 75: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

75PL/SQLAPIs

APEX_STRINGgenericstring

operations

plist_push(addentries–nocheckforduplicates)plist_delete(removeinsteadofsettingtonull)--simplifymovingfromapex_util.string_to_tabletoapex_string--insteadofusingsplit()/join()string_to_tabletable_to_string

APEX19.1

Page 76: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

76PL/SQLAPIs

APEX_THEMEapplication_idaddedas

parameter

set_current_styleset_session_styleset_session_style_css

APEX19.1

Page 77: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

77ValidateORDSwhenupgradingAPEX–EveryTime!

APEX18.2

Page 78: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

78

DeprecatedFeatures

Page 79: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

79DeprecatedFeatures

•  TeamDevelopmentDeprecated– TeamDevelopmentisdeprecatedasofthisrelease.Itwillberemovedinafuturerelease.

– Anewsystemtotrackfeedback,issues,andmilestoneswillreplaceit.

•  OracleRESTDataServices(ORDS)-basedPrintingDeprecated

APEX19.1

Page 80: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

80DeprecatedFeatures

•  ThelegacyAnyChart,AnyMapandAnyGanttchartingcomponentsaredeprecatedasofthisrelease,andwillberemovedinafuturerelease.UsetheJETchartingsolutioninstead.– "SwitchingfromAnyCharttoJETChart"intheOracleApplicationExpressAppBuilderUser’sGuide

•  CalendarPDFPrintingDeprecated– The"ExporttoPDF"functionalityoftheCSSCalendarregionisdeprecated.

APEX19.1

Page 81: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

81

RemovedFeatures

Page 82: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

82MobileUserInterfaces

Youcannotcreatenewpagesintheapplicationbuilderbecausethe„UserInterface“selectionhasbeenremoved

APEX18.2

Page 83: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

83CommandLineTools

APEXExportSplitter.classremovedThe„-split“optionwasaddedtoAPEXExport.classFunctionAPEX_EXPORT.GET_APPLICATIONsupportsp_splitParameter.

APEX18.2

Page 84: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

84Questions?

OpalConsultingZumTilmeshof1150859KölnGermany

Email/[email protected]

Page 85: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

85

Backup

Page 86: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

86FormRegionType

•  NewRegionTypeassociatedtoadatasource

APEX19.1

Page 87: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

87FormRegionType

•  Items– havedatatypes(stillhavetouseto_number(:P10_ID)),– comefromdropdownlist– canbequeryonly.

APEX19.1

Page 88: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

88FormRegionType

•  Comeswithprocessestofetch/initialize

•  Andprocessthedata

APEX19.1

Page 89: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

89FormRegionType

•  Regularformpagescanbeupgradedbytheupgradewizard

APEX19.1

Page 90: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

90

ApplicationBuilder

CreateApplicationWizard

Page 91: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

91CreateApplicationfromMSExcelFile

Improved“CreateAppfromSpreadsheet”wizard

Newfileformats– xlsx–  json

APEX19.1

Page 92: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

92CreateApplicationfromMSExcelFile

APEX19.1

Page 93: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

93CreateApplicationfromMSExcelFile

APEX19.1

Page 94: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

94CreateApplicationfromMSExcelFile

•  SupportsmultipleSheetswithinaWorkbook

APEX19.1

Page 95: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

95CreateApplicationfromMSExcelFile

•  SupportsJSONfiles(inaflatstructure)

•  WilltakefirstarrayinJSONobject

APEX19.1

Page 96: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

96CreateApplicationfromMSExcelFile

•  INSERTINTO...LOGERRORSintoExceptionTable•  CurrentlyonlyINSERT,notMERGEsupported

APEX19.1

Page 97: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

97PackageAPEX_DATA_PARSER

•  Dynamicallyparsescsv/xlsx/json/icsfiles•  SupportsthenewdialogsintheSQLWorkshopandCreateApplicationWizards=>everythingavailabletherecanbeimplemented

APEX19.1

Page 98: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

98PackageAPEX_DATA_PARSER

•  GET_FILE_TYPE– Detectsthefiletype

declarel_file_typeapex_data_parser.t_file_type;

beginl_file_type:=apex_data_parser.get_file_type('test.xlsx');

end;

APEX19.1

Page 99: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

99PackageAPEX_DATA_PARSER

•  GET_XLS_WORKSHEETS– Returnsallsheetswithinaxlsxworkbook

select*fromtable(apex_data_parser.get_xlsx_worksheets(p_content=>apex_web_service.make_rest_request_b('http://file-examples.com/wp-content/uploads/2017/02/file_example_XLSX_100.xlsx','GET')))

APEX19.1

Page 100: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

100PackageAPEX_DATA_PARSER

•  DISCOVER– Analysedataandcomputeadataprofile

SELECTapex_data_parser.discover(p_content=>l_file_blob,p_file_name=>'large.xlsx')FROMDUAL

APEX19.1

Page 101: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

101PackageAPEX_DATA_PARSER

•  GET_COLUMNS– Conveniencefunctiontoreturnthecolumnsofthedataprofile

APEX19.1

Page 102: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

102PackageAPEX_DATA_PARSER

SELECT*FROMTABLE(apex_data_parser.get_columns(apex_data_parser.discover(p_content=>apex_web_service.make_rest_request_b('http://file-examples.com/wp-content/uploads/2017/02/file_example_XLSX_100.xlsx','GET'),p_file_name=>'large.xlsx')));

APEX19.1

Page 103: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

103PackageAPEX_DATA_PARSER

•  PARSE– Parsesthefile– Computesdataprofile– Returnstherawdata(basedonvarchar2(4000)cols)

APEX19.1

Page 104: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

104PackageAPEX_DATA_PARSERSELECTline_number,col001,col002,col003,col004,col005,col006,col007FROMTABLE(wwv_flow_data_parser.parse(p_content=>apex_web_service.make_rest_request_b('http://file-examples.com/wp-content/uploads/2017/02/file_example_XLSX_100.xlsx','GET'),p_file_name=>'test.xlsx',p_xlsx_sheet_name=>'sheet1.xml'));

APEX19.1

Page 105: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

105PackageAPEX_DATA_PARSER

•  GET_FILE_PROFILE– Returnsthedataprofilefromthelastparse()ordiscover()call

APEX19.1

Page 106: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

106PackageAPEX_DATA_PARSER

•  Powerfulwaytoparsefiles(veryflexibleandfast)•  Retrievesrawdata(varchar2(4000)),stillneedstobevalidatedandconvertedtorealdatatypes

APEX19.1

Page 107: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

107JavascriptAPIs

•  openDialog()/closeDialog()replaced•  InlineRegionpopup

Page 108: Oracle APEX 19.1 & 18 - dietmaraust.comdietmaraust.com/wp-content/uploads/2019/06/Oracle-APEX-19.1-The-Golden... · Oracle APEX moves towards a unified standard theme which is fully

108

108


Recommended