Ive got a data element group with a fair amount of data elements in it. Rather than downloading the whole thing, appending to that what I would like to add, and re-uploading the result, is there a way to just send a single new value I would like to add? In a similar vein, is there a way to do a single removal?
If not, is there a way to include a data element’s group membership in the node and have DHIS2 add it to the proper group?
If not, this would be helpful in rapidly changing systems where you might not know 100% what should be in a data element group, but you are 100% sure that your new element belongs there.
We have a simple API for adding/removing a -single- object from a collection [1]. That would probably help you? PATCH support is still a bit flaky sadly, and really only works for primitives, I’m hoping to add fixes to it in 2.23/2.24.
Ive got a data element group with a fair amount of data elements in it. Rather than downloading the whole thing, appending to that what I would like to add, and re-uploading the result, is there a way to just send a single new value I would like to add? In a similar vein, is there a way to do a single removal?
If not, is there a way to include a data element’s group membership in the node and have DHIS2 add it to the proper group?
If not, this would be helpful in rapidly changing systems where you might not know 100% what should be in a data element group, but you are 100% sure that your new element belongs there.
Ive got a data element group with a fair amount of data elements in it. Rather than downloading the whole thing, appending to that what I would like to add, and re-uploading the result, is there a way to just send a single new value I would like to add? In a similar vein, is there a way to do a single removal?
If not, is there a way to include a data element’s group membership in the node and have DHIS2 add it to the proper group?
If not, this would be helpful in rapidly changing systems where you might not know 100% what should be in a data element group, but you are 100% sure that your new element belongs there.
Ive got a data element group with a fair amount of data elements in it. Rather than downloading the whole thing, appending to that what I would like to add, and re-uploading the result, is there a way to just send a single new value I would like to add? In a similar vein, is there a way to do a single removal?
If not, is there a way to include a data element’s group membership in the node and have DHIS2 add it to the proper group?
If not, this would be helpful in rapidly changing systems where you might not know 100% what should be in a data element group, but you are 100% sure that your new element belongs there.
Ive got a data element group with a fair amount of data elements in it. Rather than downloading the whole thing, appending to that what I would like to add, and re-uploading the result, is there a way to just send a single new value I would like to add? In a similar vein, is there a way to do a single removal?
If not, is there a way to include a data element’s group membership in the node and have DHIS2 add it to the proper group?
If not, this would be helpful in rapidly changing systems where you might not know 100% what should be in a data element group, but you are 100% sure that your new element belongs there.