LogoLogo
EN
EN
  • Release Summary
  • What's new in 5.0.23.04
  • Deprecated and Removed features in 5.0.23.01
  • Get started with Avalant ONEWEB
    • Get started with Avalant ONEWEB
    • Traditional Development vs Low Code
    • ONEWEB Concepts
      • ONEWEB Apps
      • ONEWEB AppSpace
      • ONEWEB Runtimes
      • ONEWEB Designer Studios
  • Install & Configure ONEWEB Platform
    • Install & Configure ONEWEB Platform
    • Plan your ONEWEB Installation
      • Design ONEWEB Architecture
        • Standalone Architecture
        • High Availability Architecture
        • Cloud Architecture
          • Container structure
        • Production vs. Disaster Recovery vs. Testing Environment
        • ONEWEB Server Configuration
        • Monitoring in ONEWEB
      • Sizing Consideration
        • CPU Sizing
        • Memory Sizing
        • Storage Sizing
        • Network Sizing
      • Check Prerequisite for ONEWEB Installation
        • Hardware Requirements
        • Software Requirements
        • Database Requirements
        • Security Requirements
        • Network Requirements
        • Client Requirements
        • Third-party Tools
    • Install and Manage ONEWEB Components
      • User Privileges
      • Prepare Prerequisite Software
        • Prepare Database Server
          • PostgreSQL
        • Prepare Web Server
          • Apache Web Server
        • Prepare Application Server
          • Configuration ONEWEB on Wildfly
            • Step1: Prepare database user permission
            • Step2: Configure access to Wildfly Management Console
            • Step3: Create database driver
            • Step 4: Create datasource
            • Step 5: Deploy the application archives
            • Step 6: Single Sign-On
            • Step 7: Wildfly Encoding and Undertow
            • Step 8: Authentication with Wildfly
            • Step 9: Authentication with LDAP
          • Configure tuning threads
      • Install ONEWEB Application Components
        • Install ONEWEB Application Designer
        • Install ONEWEB Application Server
        • Install ONEWEB Page Designer
        • Install ONEWEB Page Server
      • Install ONEWEB Process Components
        • Install ONEWEB Process Designer
        • Install ONEWEB Process Server
      • Install ONEWEB Integration Components
        • Install ONEWEB Microflow Designer
        • Install ONEWEB Microflow Server
        • Install ONEWEB IAM
      • Verify ONEWEB Installation
        • Application Verification
        • Process Verification
        • Integration Verification
  • Design and Develop ONEWEB Apps
    • Design ONEWEB Apps
      • Choose Between a Web App and a Mobile App
      • Choose your ONEWEB Design Patterns
        • UI Apps: UX/UI only
        • Process Apps Business Process only
        • Interface Apps: Integration with other system only
        • Complex Apps: Combine UX/UI, Business Process and Interfaces
    • Design and Develop UX/UI
      • What is UX/UI?
      • Best Practice for UX/UI
        • Do
        • Don’t
        • How to choose between Smart Form and Page
      • UX/UI Components
        • Smart Forms
          • What is Entity?
          • Modules within an entity
          • Buttons & Actions
          • Entity Modes
          • Smart Form Patterns
            • Single Tab Forms
            • Multiple Tab Forms (General Tab)
            • Parent – Child Forms
          • Create your first Smart Form
            • Step by Step to create your first smart form
            • Deploy your smart form
          • Smart Form Features
            • Universal Search
        • Pages
          • What is page?
          • Page Navigation
          • Page Features
            • Header Footer
            • Dynamic Image
            • Switch Language
            • Custom Font
            • Custom Icon
            • Pass Parameter
            • Signature Pad
            • Theme Designer
            • Local Storage in Page
            • Sync Service in Page
            • Local Notification in Page
            • Push Notification in Page
            • Multi-language
            • Splash Screen
            • Plugin
            • App Icon
            • PGD Directives
            • Charts
            • UI Kits
            • Component Extension
            • Share Pages as Template
            • Page Expression Editor
            • Page Structure window
            • Popup Properties Editor
            • Box Model Editor
            • Environment Variables
            • Improved Drag & Drop
            • Microflow Version settings
            • Custom Dependencies
            • Navbar
            • Display Flex
            • Builder setting
            • Add New Screen
          • Create your first Web Page
            • Step by Step to create your first page
            • Preview Web Page
          • Create your first Mobile App
            • Step by step to create your first mobile page
            • Preview Mobile App
            • Mobile App CI/CD
            • Customizing mobile apps
            • Mobile Application Security
        • Dashboard
          • Widget Dashboard
            • Step to create widget dashboard
              • Create dashboard page
              • Create dashboard menu
              • Create chart widget
              • Add widget on Page
              • Configure chart widget
              • Configure chart series
              • Edit chart series
              • Change the chart to pie chart
              • Change pie color
              • Add another series to chart
              • Change the chart to column stacked chart
              • Change series color
            • Deploy your dashboard
          • Dashboard using Page Extension
            • Add chart to page
            • Create Microflow
            • Integrate chart with data
        • Report
          • Integration with reporting tool
        • Menu & Navigation
          • Menu & Navigation in ONEWEB
          • Link menu to a smart form
          • Link menu to a page
          • Link menu to external URL
      • Mobile UX/UI
        • Web Responsive
          • Smart Form Responsive
          • Web Page Responsive
        • Mobile hybrid
        • Build Mobile App
          • Add CI Server
          • AppStore & Playstore Details
      • UX/UI Customization
        • Smart Form Customization
          • Customize Look & Feel
          • Add Validation Logic
          • Add Calculation Logic
          • Add Custom SQL
          • Add external Java class
        • Page Customization
          • Custom CSS
          • Custom JS action
          • Third party resources
          • Custom extensions
        • Mobile App
      • UX/UI Integration with Process, Micro flow, External UI
        • Smart Form Integration with Process
        • Page Integration with Microflow
        • Page Integration with Process
        • Smart Form Integration with Microflow
      • Import/Export/Clone UX/UI
        • Export Import Clone Smart Forms
          • Export Entity
          • Import Entity
          • Clone Entity
        • Export Import Clone in Pages
          • Export Import App
          • Clone Pages
          • Import page from another App
      • UX/UI Test & Debug guideline
    • Design and Develop Process
      • What is Process?
      • Best practice for Process Design
      • Process Components
        • What is Business Process?
        • Process Template Diagram
        • Process Activity
          • Human Task
            • Task Allocation & Queuing for Human Task
          • Gateway Decision
          • Web Service Task
          • Sub Process
          • Java Task
          • Database Task
          • File Read Task
          • File Input Task
          • Timer
          • Error Handling
          • Event Trigger
          • Push Notification
        • Business Object & Data Mapping
        • Formula Editor
          • Formula Editor for Data Mapping
          • Formula Editor for Gateway Condition
        • Work Party
        • Upload File
        • Environment Configuration
        • Process Instance
      • Start with Business Process in ONEWEB
        • Create a Process in ONEWEB
        • Create your process diagram
        • Simulate your process
        • Deploy your process
      • Integration
        • Integrate Process with UX/UI
        • Integrate Process with Microflow
      • Monitoring
        • Process Monitor
        • Task Monitoring
        • SLA & OLA
        • Monitoring Dashboard
      • Process Validation
      • Import/Export Process
      • Process Deployment from development environment to other environment
      • To Do List
      • Process Test & Debug Guideline
      • Language Switch
      • Process Instance Migration
      • Sync User
      • Custom Extensions
        • Create workspace for Extension
        • Build extension in workspace
        • Install Extension in application
        • Manage the extension
        • Use Extension in workflow
    • Integration with other systems
      • What is ONEWEB Integration?
        • Integrate with other system from/to Microflow
        • Integrate with other system from to Process Flow
        • Integrate with App Runtime
      • Best practice for ONEWEB Integration
      • Microflow vs. Process Flow
      • Develop Integration with ONEWEB Microflow
        • Embedded Microflow vs. Runtime Microflow Server
        • Integration Node
        • Synchronous vs. Asynchronouse
        • Data Mapping
        • Custom Logic/Coding
        • Data Transformation
        • Activity Nodes
          • Exclusive Gateway Node
          • Web Service Task
          • Sub Flow
          • Java Task
          • Database Task
          • Timer
          • Error Handling
          • Push Notification
        • Start with Microflow in ONEWEB
          • Create a Microflow
          • Configure the Flow
          • Simulate your flow
          • Export your Microflow.
            • Embedded Microflow
            • Microflow Server
        • Integrate Microflow with UX/UI
          • Integrate Smart Form with other systems using Microflow
          • Integrate Page with other systems using Microflow
        • Import/Export Microflow
        • Upload File
        • Environment Configuration
        • Language Switch
        • Push Notification
        • Custom Extensions
        • JSON Path Mapping
        • Excel Reader
        • Excel Writer
        • Validation Node
        • JavaScript Node
      • App Runtime REST API
        • Sample use cases for APP Runtime API
        • Create a custom app to call APP Runtime REST API
      • Process Runtime REST API
        • Sample use cases for Process API
    • Design Data & Content Access Management
      • What is Data Access Management?
      • Best practice for Data Access Management
      • Database Access
        • Database Structure
        • Data Access from UX/UI
          • Access Database from Smart Forms
          • Access Database from Page
        • Data Access from Process
          • Database Activity
        • Database Access from Microflow
          • Database Node
      • Images, Files & Documents Access
        • Access from UX/UI
        • Access from Process/ Microflow
    • Design and Implement Security & Compliance
      • What is Security & Compliance?
      • Best practice for Security & Compliance
      • Authentication
        • LDAP Integration
        • Open ID protocol
      • Authorization and Access control
        • Roles, Permissions and Objects
        • Managing Access Control with IAM
          • Create User
          • Manage User Roles & Permissions
          • Manage Permission and Object
          • Manage Role
      • Token in ONEWEB
      • Logging and Audit logging
      • SSL support
    • Design & Develop Low code Apps using AppSpace
      • Create Application in AppSpace
      • Database Tools
        • Data Designer
          • How to create Data Designer app
          • Data Designer tools
          • Entity Properties
          • Compare schemas
        • SQL Builder
          • How to create SQL Builder app
          • SQL Builder tools
          • Connection
        • Data Viewer
          • How to use Data Viewer
          • Data Viewer Tools
      • Manage versions of App
      • Pipeline
        • Deploy Application in ONEWEB
        • Deploy Middleware
        • User Management
        • Distribute Application
      • Manage user access
        • Development Team Management
        • End User Access Management
      • Switch language in AppSpace
      • Link Application
      • Link Component
      • App Details
        • Fix applications with broken link
        • Rename Application
        • Export Application
      • Import Application
      • Cloud Native
  • Sample Apps
    • Sample Apps
    • Workforce App. (Mobile)
      • Database Preparation
      • Create and Test Microflow Service
      • Integrate Microflow with UI to produce dynamic App.
      • Create Mobile UI
    • Order Management App (Web)
      • Database Preparation
      • App Designer
        • Create Order Request Entity
        • Create Order Request Item Entity for Admin
        • Clone Order Request Entity for Admin
        • Link Parent Child Entity for Admin
        • Clone Order Request Entity for Back Office
        • Clone Order Request Item Entity for Back Office
        • Link Parent Child Entity for Back Office
        • Clone Order Request Entity for Authorize
        • Clone Order Request Item Entity for Authorize
        • Link Parent Child Entity for Authorize
        • Clone Order Request Entity for Admin PO
        • Link process button to Process Designer
        • Create menu for requester
      • App Designer Customize
        • Filter Requester search screen by login user
        • Default Requester with login user
        • Validate at least one Order Item when submit
        • Calculate remain order unit
        • Summary Price per order item
        • Summary Price per request
        • Validate order details when back office submits
        • Validate supplier details when admin submit
        • Validate Order Unit and calculate Total Price
      • Process Designer
        • Create Order Request Project
    • Leave Control App
      • Database preparation
      • App Designer
        • Create Leave Request Entity
        • Clone Leave Request Requester Entity
        • Clone Leave Request Supervisor PM Entity
        • Clone Leave Request One Down Head Entity
        • Clone Leave Request HR Entity
        • Clone Leave Request Authorize Entity
        • Link process button to Process Designer
      • Process Designer
        • Create Process Leave Request
  • Reference
    • Reference
    • Page Designer Reference
      • Create a New Application
        • New Mobile Page
        • New Web Page
      • Menu Controls on Pages
        • Web Pages
        • Mobile Pages
      • Page Designer Tools
        • Generic Tools
          • Page Designer Parameter
          • Add element
          • Placing of element
          • Removing element
          • Editing Text
          • Formatting Text
          • Creating Links
          • Uploading Images
          • Add an Image to page
          • Additional Settings
        • Tab
          • Adding Tab on Web
          • Adding Tab on Mobile
        • Menu
          • Adding Menu on Mobile
    • Process Designer Reference
      • Create New Proces
        • Create an Application in AppSpace
        • Create an Application in PD
        • Create Blank Project
        • Create Project Wizard
        • Process template Diagram and Guidelines
      • Process Designer Component
        • Activity Nodes
          • Human
          • Sub Process
          • File Read
          • Web Service
          • Java
          • Database
          • File Write
          • Push Notification
        • Event
          • Start
          • End
          • File Input
        • Gateway
          • Exclusive
          • Parallel
          • Inclusive
        • Boundary Events
          • Timer
          • Error
        • Pool/Lane
        • Work Party
        • Upload File
        • Environment Configuration
        • Custom Extensions
          • Create workspace for Extension
          • Build extension in workspace
          • Install Extension in application
          • Manage the extension
          • Use Extension in workflow
    • App Designer Reference
      • Entity
        • Create New Entity
          • Module
            • One to Many
            • One to Many
            • Reusing Module
          • Fields
            • Label
            • Hidden
            • Radio
            • Checkbox
            • Text area
            • Dynamic
            • List Box
            • Suggestion
            • Popup
            • Calendar
            • No Object
            • MultiSelect
            • Upload
            • Text Box
          • Buttons
          • Actions
          • Tabs
            • Normal Tab
            • 2 Layer Tab
        • Export Entity
        • Import Entity
        • Clone Entity
      • Search
      • Utilities
        • Menu Configuration
        • Parent Child Utility
        • Master data Import Export
        • Datasource Configuration
  • API Guide
    • API Guide
    • App Runtime API
      • List all methods of REST API and explain the API functionality
    • Process Runtime API
      • List all methods of REST API and explain the API functionality
    • Session Manipulation API
      • List all methods of Java API and explain the API functionality
    • Microflow Runtime API
      • List all methods of REST API and explain the API functionality
    • IAM2 API
      • List all methods of REST API and explain the API functionality
Powered by GitBook
On this page
Export as PDF
  1. Sample Apps
  2. Workforce App. (Mobile)

Create Mobile UI

Last updated 3 years ago

This sample Mobile UI consist of 2 pages - one Static and one Dynamic Page

Steps to create Mobile UI:

Login to AppSpace and start to create Application: Login to ONEWEB platform using given Id/ password and you will be directed to ONEWEB Appspace home page. Click on “Create new app” button, a slider configuration screen would open as shown in fig1a. Choose Platform as “Mobile”, App name as “WorkForce_[yourUserName]”, Abbreviation as “Demoby[yourUserName]”, Description is (optional), give Namespace as “com.team.[Application name]“ shown in fig1b. Click on “Start develop” button.

Now your application will start to appear on application list as shown below:

Click on your application, choose “Create Pages” as highlighted in Fig 2a, write component name i.e. page name as “HomePage” and hit on Start Design button as shown in fig2b.

Note: Click on edit icon to open new or any existing page.

Note : T, R, B and L stands for Top, Right, Bottom and Left.

Your final screen should appear as fig(8a).

Add Icon in Third Column - C3 Drag another drop one more icon inside third Column C3. Choose “ion-android-notifications-none” Icon from an Icon List. Set Column alignment as Right, Set Icon Size as “32px”, Icon text color as rgba (255,255,255,1). Set padding for icon as (T-14, R-5). Open TEXT panel, select a paragraph and Drag and drop inside Column C2, set text color as rgba (255,255,255,1), edit paragraph text as “Alworks”, set text font size as “20px” and column alignment as “center”. Your Final screen should be appeared as shown in fig(9a).

Now, Upload images that are required to construct Mobile Page. Please find link here to attach all required images. Download direct link: https://tinyurl.com/y3gzfqud

Add Container, BG Image and heading

Drag and drop one container inside your designing screen. Set Box height as “290px” and set container Background Image as “Easywork.jpg”. Drag and Drop heading (UI element under TEXT panel) inside container and edit text as “Easy Work”. Set rgba color as (255,255,255,1), font style as “700-bold”, font size as “20px”. Set Padding for text “Easy Work” as (T-170, L-15). Your final screen should appear as fig(10a).

Add Label Drag one label after heading text, edit default text as “for Happy Life”. Set rgba color as (255,255,255,1), font size as “16px”. Set Padding for text as (L-15). Your screen will appear as fig (11a).

Add Div, row and columns to add icons Drag one container and add grid inside it to create row and column layout. Replicate columns to create 5 columns in the layout as shown in gig (12a)

Add Icon images inside Columns Drag and drop an icon image inside column C1. Drag and Drop a Label inside column after an image icon and named it as “Clock”. Set label text size as “14px”. Set Alignment of Column C1 as center. Your designing screen will appear as Fig (13a) Repeat above steps to drag and drop other respective icons into columns C2, C3, C4 and C5. Drag and drop label inside each column and named them as “Work”, “Benefits”, “Calendar”, and “Shopping” as shown in fig (14a).

Add one Paragraph and an Image to create promotions Drag and drop a Paragraph text element below after icons and rename default text to “Promotion for employee”. Set Text font style as “700-Bold”, Text size as “15px”. Drag and drop an image “promo1.jpg: after paragraph text. Your screen should appear as Fig (15a). D rag and drop one container and create 2 columns inside it using “Grid” after promo image as shown as C1 and C2 in fig(16a). Drag a Paragraph (P1) inside column C1 and renamed default text to “Buy 1 and get 1 for employee”, text style as “600-Medium” and text size as “12px”. Drag one label and “ion-heart” icon inside Column C2. Set label text style text style as “600-Medium” and text size as “12px”. Set Icon size as “21px” and rgba color as (216,12,12,1). Set Padding for icon as (T-9, L-8) as shown as fig (16a).

Replicate UI Element to create Promotion 2. You have created one Promotion advert on your Mobile Page as shown in fig (17a) Now you can use duplicate icon to duplicate each element to create paragraph and other UI elements as shown in fig (17b). Create Promotion 2 as shown in Fig(18a). Set this Mobile Page as your “Homepage” using Page settings. Congratulations, you have successfully created your first Page.

ONEWEB also provides testing emulator application - "PlayMe" to directly perform testing on your smart phone devices. PlayMe app is currently available to download from Google Play Store.

Test your Page via PlayMe App Install PlayMe app on your android device. Go to settings and enter details as below: http://[YourPGDurl] http://[YourrPGDurl]/PageRunTime Save your settings as shown in fig(20c). Your application will start to appear on an application list.

Example:

Note: User is required to use their ONEWEB assigned PGD URL inside configuration settings

Mobile UI - Page 2, Let's call this page as 'Benefit' Page. In this section, we will learn how to create Page 2, and establish a link between two pages. In this example, we will link page1 with page 2. Go to AppSpace, click on Add New > New pages , to add a New Page inside your Application and named it as “Benefit”. Choose Page Template as Blank. Click on Start Design as shown in fig (21a)

Add Container, Paragraph, Card and Grid to create card layout as shown in Fig (A) below. Set Page Background color as rgba (39,61,106,1). Drag and drop a “paragraph” after image I1 and rename default text to “Recent Activity”. Set text color as rgba(255,255,255,1). Set Padding as (B-15, L-15) as shown in fig(23a). Drag and drop a container and drop one “Card” inside container. Delete other default elements inside card. Add a “Grid” inside container to create row and 4 columns as shown as C1, C2, C3 and C4 inside that row. Your final screen should appear as fig(23b)

Add label and heading text - UI elements, inside columns Drag and drop a label inside column C1. Rename text as ‘DATE”. Set text color as rgba (163,163,163,1), set text size as “10Px”. Drag and drop heading text after DATE, and change text font size to “12px”, renamed default text to “11 Sep 2018“ as shown in fig(24a). Repeat same steps to create column C2, C3 and C4 as shown in Fig (24b). Use same label and heading text as shown in fig(24b)

Add other images and complete your page, same as shown in fig (25a) Drag and drop required Images inside your designing screen.

Create a link between Pages. Open your first page 1 “Homepage”. Click on Benefits Icon or any Ul element that you wanted to link. E.g.: let's say, we link Benefit icon on homepage to your second page as “Benefit Page”. Click on Benefit icon as highlighted in fig(27a). On your left configuration link panel, select page 2 that you wanted to link, e.g.: Benefit Page

Create Homepage - Static Page (Page 1) Create Toolbar Select Add component icon , “container” – UI element under MOBILE panel. Drag and Drop - “container” inside your design configuration. Drag and Drop “grid” (3) – UI element inside this container to create 1 row and 2 column layout as shown in Fig(6a). Select 2nd column and click on duplicate icon to create three columns inside container. Your output screen should appear same as in fig(7a).

Add Icon in First Column – C1 Select Container and set Box height as “65px” and color background as rgba (39,61,106,1). Click on Add component icon , Select “icon” – UI element under MOBILE panel. Drag and Drop - “icon” inside first column C1. Choose “ion-android-menu” Icon from Icon List. Set Column alignment as Left. Set Icon Size as “32px”, Icon text color as rgba (255,255,255,1) Set padding for icon as (T-14, L-5).

Review Build and Test your Page via accessing URL on Google Chrome (browser). Now your final screen should appear as fig(19a). Click Page Menu to set this mobile page as a ‘homepage’ as shown in fig(20a). Click on “PlayMe” button . to build this app. Once successful, it will display an URL. Click on displayed URL as shown in fig (20b) to test and review your application.

Enable Toolbar and Back button. Click on new designing screen. Select Page at the bottom. Select Style icon and enable Toolbar and Back button as shown in fig (22a). Rename Toolbar Tittle as “Benefits” as shown in Fig(22b). Upload all images that are provided to construct this page. Drag and drop a “travelling.jpg” image inside your designing screen as shown in fig (22c)