Hi everyone,
In OutSystems 11, it's possible to retrieve application metadata and derive AO-related information (screens, entities, web services, etc.) from platform metadata. We're trying to achieve something similar in OutSystems Developer Cloud (ODC).
Is there a way to programmatically retrieve the AO (Application Object) breakdown for an application in ODC, such as:
I can see AO usage in the Subscription Console, but I need to automate data collection for a custom governance/dashboard application.
Has anyone implemented this in ODC?
Thanks!
I tried to implement something very similar to what you want. And to my knowledge till date, it can't be done.
Because we do not have access to system entities, like what we have in O11. But if i didn't remember wrongly, even in O11, with the system entities, it doesn't know the difference between forge components and our own app. We have to keep some data, like an entity to house the forge component names or something, and then exclude them in the count.
Thou i saw there are ODC APIs which potentially might provide the information required, but i did not went to check and try again as I had just simply given up the idea of implementing this in ODC.
Anyway when i first started, think only the User Management & (i think) Portfolio APIs were available.
@Jun Mun Chan
Yes, still this is not possible. I have used ODC APIs, but it only provides total AO count per application, not the breakdown.
Hi @Rahul Chavan ,
This is partially possible using the ODC Subscription API.
You can use the following endpoint:
GET /api/subscription/v1/environments/{environmentKey}/entitlements/usage/by-asset
It returns the total AO usage per deployed application or library.
The API Client requires these permissions in the target stage:
However, although the response model contains a details collection, it currently returns null for Application Objects. The API provides the total AO count per asset, but not the breakdown by screens, entities, API methods, or custom events.
Thanks @Mihai Melencu
I have already implemented this with subscription API.
I'm specifically looking for the AO breakdown, which currently doesn't seem to be available in ODC.
Hi,
Another way is to ask this to Mentor in Studio:"Please give me a count of all screens, entities (including static entities) and API methods of this application"Or ask it to format the output they way you like:
With the upcoming integration with tools like OpenAI and Claude in Q4, you can ask this at factory level.