Is there a way to customize the UI used on new application instance creation?
Modified on: Fri, 17 Nov 2023 12:07 PMOriginal Publishing Date:
2020-01-22
2020-01-22
Question
When I create a new application instance, POA allows to fill in some certain fields necessary to create my application resource. Is there a way to customize this UI, change the type of input fields, etc.?
Answer
When a new application instance is created auto-generated UI is used. It does not allow customization of input fields. The only things that you can change are field titles, they are taken from 'title' attribute in resource schema:
"properties": {
"apphost": {
"type": "string",
"title": "Host domain or IP",
"description": "Cloud management server IP or domain name"
},
"cloudadmin": {
"type": "string",
"title": "Cloud Admin",
"description": "Cloud administrator"
...
, or in PHP runtime:
/**
* @type(string)
* @title("Host domain or IP")
* @description("Cloud management server IP or domain name")
*/
public $apphost;
/**
* @type(string)
* @title("Cloud Admin")
* @description("Cloud administrator")
*/
public $cloudadmin;