How can I access an object type last update date in code repo?

Hello,

I’m working on a workshop application and I would like to have a metric card with the last update date for an object type used in the app.

This feature doesn’t seem to be available directly in workshop, the only solution is to use a function defined variable and try to get the last update date using typescript in code repo.

My question is : Do you know if it is possible to get the last refresh date using an API call ?
I didn’t find any documentation mentioning last update date of an object type.

Thank’s :smiley:

Hi

For your use case, you can create a Object set aggregation variable on the last update property from the object type in workshop and use this variable in a Metric card widget in the workshop again.
Hope this helps!

Hello,

Thank’s for your answer! The problem is the update date is not a property in my object type, it’s only a metadata.

Here is the date i’m trying to access, you can find it in the ontology manager :

Thanks you !

1 Like