Include category in JSON PULL Job

Hi,

im fiddling around with the JSON PULL exportd module.

Is it possible to include the category name of the Object in the final JSON Structure?
Is there a Template field (e.g. something like {{id}}) that represents the Category to assign it to a variable?

Otherwise it would be helpful to include the Category name in the object’s meta information.

Current:

{
"object_id": "1385", 
 "variables": {
     "var1": "xyz" 
     }
}

Coud be:

{
"object_id": "1385", 
"category": "foo",
"variables": {
     "var1": "xyz" 
     }
}

more flexible could be a group_by function where Object-groups can be created based on a field value.

Just some Ideas :slight_smile:

Cheers
Andreas

Hi @andsch,

to include the category in your exportd job, you currently need to hardcode that in your configuration, for example like that:

It would be easy to extend the template variables to also include some other informations like type, category, etc. ({{type}} {{category}}. Would that be helpful for your use case?