Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to define CCA array sub-properties?

Philip SommerFeb 17 2020 — edited Feb 21 2020

Hello Community,

I would like to define a custom JET component and define an array of object-properties as a sub-property of this component. Example data:

{

     columns: [

          {id: 1, description: "First column"},

          {id: 2, description: "Second column"},

     ]

}

I'm having trouble translating this into the component.json format. The following does not seem to work:

{

     ...

     "properties": {

          "columns": {

               "type": "Array",

               "properties": {

                    "id": {...}

                    "description": {...}

               }

          }

     }

     ...

}

I've also tried wrapping everything in the array in a "value" property:

{

     ...

     "properties": {

          "columns": {

               "type": "Array",

               "properties": {

                    "value": {

                         "type": "Object",

                         "properties": {

                              "id": {...}

                              "description": {...}

                         }

                    }

               }

          }

     }

     ...

}

Any way I can define this structure compliant with the OJET metadata definitions? https://www.oracle.com/webfolder/technetwork/jet/jsdocs/MetadataTypes.html#ComponentMetadataProperties  does not seem to cover this case in depth.

Any help would be much appreciated.

Kind Regards,

Philip

P.S.: I'm running JET 8.0.0.

This post has been answered by Duncan Mills-Oracle on Feb 18 2020
Jump to Answer

Comments

Levi Pereira
Windows XP is not a little old?

Have you tried to search on Google ASM + Windows XP + Install ...

I am absolutely sure you would find this link:
http://www.databasejournal.com/features/oracle/article.php/3571371/Oracle-10g-Automatic-Storage-Management-ASM-Part-2-Sample-Implementation.htm

Always use documentation or Google It.

Regards,
Levi Pereira
585179
Hi,

Have a read note "How To Setup ASM (10.2) on Windows Platforms [ID 469082.1]" or "How to setup ASM on Windows [ID 331796.1]"


Cheers
1 - 2

Post Details

Added on Feb 17 2020
1 comment
136 views