Agile-Developer

Home Page Customization

Axpert 11

TStructs (Forms)

IViews

Scripts

Axpert Jobs

Axpert Cards

HTML Plug-ins

Users & Roles

Workflow

Axpert API

Application Var/Params

Publish Axpert Apps

Axpert Mobile

Settings

Utilities

Customization

WebServices

Axfast

Home Page Customization

The home page means the landing page that is shown in the client area beside the menu and below the title bar. Custom home pages can be set for every user role. The custom home page can be made in a HTML file and stored in under webcode root folder\<ProjectName>\aspx folder. The <projectname> is the name of the project or app name. For example, if we create a file called MyPage.HTML.This can be set in Axpert by following the steps below:

  1. Create a folder under web code root folder with the project/app name. For example if you are working on an app called demo, the folder name should be demo. Create a folder named aspx under demo.
  2. Copy your HTML file into this folder.
  3. Go to advanced settings or developer options.
  4. Set a new configuration as below
    1. PropertyName = LandingStructure
    2. PropertyValue = General
    3. PropertyAttribute = MyPage.HTML
    4. RoleName = All or any particular role that you want.
  5. Save the configuration and see it working.

The HTML can be set user-wise or role-wise or for all.

Examples

A home page that is looking as below

Agile developer lowcode Home Page

Can look like something like this.

Agile developer lowcode Home Page

Agile developer lowcode Home Page

Notes on custom HTML

Include this reference to get app level css settings

Agile developer lowcode Home Page

In this example, the following AJAX calls to Axpert are made

  • To get global variables.
  • To load a tstruct form
  • To load an iview.
  • To save data to a tstruct.

The sample code for calling them are given below

Sample code for opening a tstruct named “reims”.

Agile developer lowcode Home Page

Sample code for getting global variable values

Agile developer lowcode Home Page

Sample code for opening an Iview

Agile developer lowcode Home Page

Sample code for saving data

Agile developer lowcode Home Page