Android Capture app: d2:concatinate program rule to show feedback

Hi @Gassim

Thanks again for the great follow-up.

I made a few more tests, and i finally understood that the feature to display information in indicator or feedback widget on Android does not work with the concatenate function.

I was trying to display all the data elements in the hidden sestion using the following program rule:

In the android documentation, I think I saw that that the android application does not manage “concatenate” feature for feedback or inddicator widget.

If i try to display only the content of one data element, this is working, but if I try to have all the data elements,using concatenate function, nothing is displayed on android application Analytics tab.

A workaround is to create one action per data element to display in the feedback widget.

In web Captutre application ,the display is working as epxected when using concatenate function.

Regards

1 Like

Hi @gregory

I’ve been doing some testing and the concatenation will work if you remove the single quotes from the variables in the expression.

In my example:

Instead of having this:

I remove the single quotes like this:

I’ll ask the dev team if this is an issue or an expected behavior and will create a jira ticket if necessary.

Thank you for the report

2 Likes

Dear @nancyesp

Thanks a lot for the follow up. You are right, and the program rule without the quotes for the variables does work as expected.

However, I had to ignore the warning message checking the syntax in the maintenance module (program rule, action part to display the text using concatenate function), as the message states a syntax error:

However, on android application, the program rule is working and the expected text message is displayed in the indicator widget.

1 Like