← Back to team overview

dhis2-users team mailing list archive

Re: How to create entity attribute with generated value based on others elements

 

Hi,

You can use Text Pattern
https://docs.dhis2.org/2.30/en/user/html/working-with-textpattern.html

Good luck!

On Wed, Nov 14, 2018 at 12:51 PM Gérard Bisama <gerbis2000@xxxxxxxxx> wrote:

> Hi everyone,
>
> I am using tracker and I want to create a entity attribute with generated
> value that depending on other attributes values like :
> - code of the orgunit assigned to program
> - value of the field sex
> - followed by random number of 4 digit.
> Each of them separated with "-".
> Do some one have an idea on how to achieve this?
>
> Thanks,
> --
> Gérard Bisama
> Tel:+243810890810
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispvietnam@xxxxxxxxx | *Skype:* em.hispvietnam@xxxxxxxxx

Follow ups

References