Article ID: 121223, created on Apr 22, 2014, last review on May 8, 2014

  • Applies to:
  • APS 2.x

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;

70bf700e0cdb9d7211df2595ef7276ab 717db81efe94e616312b74fb03a5d474

Email subscription for changes to this article
Save as PDF