I have been collecting map coordinates using a custom field for tracked entity instances (TEI). However, I haven’t been able to find a way to display the TEI using these custom field coordinates on the DHIS2 map.
Add new tracked entity layer not found the “No data found”
If its a feature of TEI, is there any easy way to transfer the custom field coordinates data to the TEI Feature co-ordinate field.
At the moment it is only possible to display data elements from the event (not attributes from the tracked entity) and they have to be marked to be “displayed in reports”.
Hi @Bruno,
Thank you for the update, and I’m glad to inform you that the solution worked for displaying the data element.
Hi @Gassim , just to confirm, does this mean that there are no current plans to extend the functionality to display tracked entity attributes, or is it something that might be considered in future updates?
Hi @hio.amakomaya & @rcpoudel,
There will be more options to display TE attributes soon: Jira (on v40 and up)
It will be controlled by the “Display in list” setting (both for TET attr. and Program TE attr. if a program is selected).
You can watch the JIRA ticket to know when it gets released.
Bruno
On Tracked Entity layer
I tried checking for custom Address location attribute in the Tracked Entity, but I’m not seeing them.
I’m prioritizing the setup for custom Tracked Entity attribute (TEA) locations within the Event layer for now.
I believe a couple of adjustments are further needed to fix
In following event layer screenshot:
Issue : The Coordinate field defaults to “Event Location” when an event is selected under “Address Area” and the layer is updated. However, upon reopening the edit layer, the Coordinate field again defaults to its original setting.
Event Date Display Format: Since no specific datetime is used in the data, rename this field to Event Date and remove the default “00:00” time.
Event Location: For my case, this should be Address Area. As for Organization or Location Co-ordinate display, consider letting users decide whether to display it or not.
In TE layer: Could you share a little more details about your configuration of the custom Address location attribute and what you are exactly? I am not 100% I am following properly
About the “coordinate field” reset bug, it has been reported here [DHIS2-17710] - Jira, I will bump it a little higher in the priority list.
Also thanks for the recommendations!
We are having a look at date-time format presentation, I am adding your comment to our discussion.
The location should already have the name from the coordinate field:
If this is not working for you, please share more details about your configuration.
Thanks for the suggestion to let user having the option to display the coordinates or not. I think it makes sense. Let’s see what we can do about this.
I checked the Jira bug report and confirmed that it’s the same issue I previously reported as the “Coordinate field bug defaults to its original setting”
The naming looks perfect in the event program, but you’ll notice a difference when reviewing the tracker program in this area.
@rcpoudel On: 2. I had a quick look at the “Residence location” program TE attribute and the value seemed empty… One way or another, something unexpected is happening, so thanks a lot for pointing it out! I don’t have more time to troubleshoot now, but I will comeback to it and let you know.