Dear all,
by the way, can i create ID code attribute that auto increase number by itself like auto generate ID code?
if not, can i do manual script to make auto generate ID code?
thank you
channara
Dear all,
by the way, can i create ID code attribute that auto increase number by itself like auto generate ID code?
if not, can i do manual script to make auto generate ID code?
thank you
channara
Hi,
I am not clear about your requirement. But, if you requirement is to generate a unique identifier, you can use /api/system/id endpoint of the web api.
https://dhis2.github.io/dhis2-docs/master/en/developer/html/webapi_system_resource.html#d0e10401
Cheers
On Thu, Oct 13, 2016 at 11:57 AM, channara rin rin.channara@gmail.com wrote:
Dear all,
by the way, can i create ID code attribute that auto increase number by itself like auto generate ID code?
if not, can i do manual script to make auto generate ID code?
thank you
channara
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
–
Best Regards,
Chathura Widanage,
Undergraduate,
Department of Computer Science and Engineering,
University of Moratuwa,
Sri Lanka
hi chathura,
by the way, in tracker capture form has attributes like first name, last name, sex, and also has unique ID attribute to identify. But i want unique ID attribute can auto generate id by itself when create new tracker in tracker capture form.
thank you
channara
On Sat, Oct 15, 2016 at 12:22 AM, chathura widanage chathurawidanage@gmail.com wrote:
Hi,
I am not clear about your requirement. But, if you requirement is to generate a unique identifier, you can use /api/system/id endpoint of the web api.
https://dhis2.github.io/dhis2-docs/master/en/developer/html/webapi_system_resource.html#d0e10401
Cheers
On Thu, Oct 13, 2016 at 11:57 AM, channara rin rin.channara@gmail.com wrote:
Dear all,
by the way, can i create ID code attribute that auto increase number by itself like auto generate ID code?
if not, can i do manual script to make auto generate ID code?
thank you
channara
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Best Regards,
Chathura Widanage,
Undergraduate,
Department of Computer Science and Engineering,
University of Moratuwa,
Sri Lanka
–