Layer7 API Management

  • 1.  Setting default value on creation application pop-up page 

    Posted Feb 07, 2018 05:56 AM
      |   view attached

    How can i set default value for scope and type of application on creation application pop-up page ?

    Version Info :CA Developer Portal 3.5 CR6

    Kind Regards



  • 2.  Re: Setting default value on creation application pop-up page 

    Broadcom Employee
    Posted Feb 07, 2018 07:05 PM

    Unfortunately, API Portal doesn't have that function.

     

    You can connect to CA community and publish an idea.
    https://communities.ca.com/community/ca-api-management-community

     

    We recommend that you publish an idea.



  • 3.  Re: Setting default value on creation application pop-up page 
    Best Answer

    Broadcom Employee
    Posted Feb 08, 2018 10:45 PM

    1. Login CMS -> Content Itesm ->naviagte to / SYSTEM/ conf/ sitebuilder/ packages/ layer7/ modules/ ApplicationList/ xml_template -> click "Edit Text" icon of form.xml

     

    optional: backup the form.xml

     

    2. find and delete following block -- example, to set OOB as default value of scope
    <Field name="oAuthScope"
          type="text"
          maxlength="512"
          validation-rules="JSTRIM"
        />

     

    change to,

    <Field name="oAuthScope"
          type="text"
          maxlength="512"
          validation-rules="JSTRIM"
          value="OOB"
        />


    3. If you want to set "confidential" as default value of "TYPE",  find the line
    <Option key="confidential">Confidential</Option>
    change to,
    <Option key="confidential" selected="selected">Confidential</Option>

     

    similarly, you can set "public" as default value,

    <Option key="public" selected="selected">Public</Option>

     

    4. save and publish

     

    it will take effect immediately.



  • 4.  Re: Setting default value on creation application pop-up page 

    Posted Feb 09, 2018 01:10 AM

    Thank you friend, it worked like a charm. Like this way Can i set chosen app list via using the appIds for this pop-up window?



  • 5.  Re: Setting default value on creation application pop-up page 

    Broadcom Employee
    Posted Feb 11, 2018 05:17 PM

    Unfortunately, the setting is global -- this is the setting on how to construct the application pop-up window at run time. It's not for chosen app list.