How to view JSON format of an event representation in database

Hi all,
I have an event lets suppose in the following screenshot

It is a complex event (as it contains many bubbles), what I want? I want its JSON representation in database, if anybody knows how to view its JSON representation string in database table. Please tell me.
I want to get it JSON representation, because it gets corrupted frequently, so I need to redraw it again and again, which is a time consuming activity. So once I have its JSON representation string in database, I will copy it and paste it, if it gets corrupted.

Regards

Hi,
Use the GetApp method from the MetaFXSvc service via REST API

https://[server]/[appserver]/api/v1/Ice.LIB.MetaFXSvc/GetApp?request={“id”:“Erp.UI.[AppName]Entry”,“properties”:{“deviceType”:“Desktop”,“layers”:[“KineticLayerName”],“mode”:“AppStudio”,“applicationType”:“view”,“additionalContext”:{“doValidation”:false,“menuId”:“[MenuID]”,“inPreviewMode”:true},“checkDuplicateIds”:false,“debug”:false}}

Replace with your values on the URL above wherever you see brackets […].
If you need another layer, change the layer for that program.

Regards,

1 Like

Thank you @carlosqt
But, I need to view in database. Which database/database table/column hold this UI information data.

Regards

Here you go

select Key1, Key2, Content
from Ice.XXXDef
where 1=1
and TypeCode = 'KNTCCustLayer'

Thank you