Task configuration

Hello community …

How can i access or download the current task configuration in a CHT instance without going to the configuration code ?.. How can i see it in the DB if possible

@diana @jkuester

Hi @cliff

You can download the whole app settings CouchDb document from the admin app:

However, you will be downloading the compiled and minified version of your app settings, which includes your task configuration. If you are minifying your app code, what you will download is not human readable and it’s quite hard to unminify it in a way that it makes it understandable (there are tools online that unminify javascript code).
Besides this, cht-conf has a compilation step that transforms your app declarative config into javascript code.

In essence, it’s quite hard to extract task configuration from a server. In cases of disaster, it can be retrieved, but it’s an effortful and laborious and manual process to unminify / de-compile.

1 Like

thanks @diana for the helpful feedback
tried out with this tool here

how to i execute this step? , could there be any docs about it

how to i execute this step? , could there be any docs about it

I don’t think we will realistically ever make docs or ever try to detangle this.

2 Likes

thanks @diana for the feedback