Order number?

Confluence User - 16 Apr, 2019

Dear master,

I create sequential number / serial number, in datalist or when export excel or pdf, sample 1, 2, 3, 4 etc. I create by  ID Generator Field. I have a problems about when I del 1 row have a number like 2. Then I create new in info, the number is 3.

please help me. thank you for attention.

forms;datalists;userviews;properties;environment;variavble;id;value

4


17 Apr, 2019
confluenceUser
1
confluenceUser

The ID generator field will automatically create and store its running values in an environment variable in your app. If you remove a record, the running number in the environment variable will remain untouched.

In this case, you'll have to write bean shell code to handle this event when a record is removed. You can refer here on how to programmatically manipulate environment variable values: Manage Environment Variable using Form

17 Apr, 2019
confluenceUser
confluenceUser

Thank Chris , but like a link you share, I still can't figure it out, Do you have any more clues? I don't know much about Java, It's too hard for me to checked, please give me more information :((((( (If there is no other way than I have to learn Java)

18 Apr, 2019
confluenceUser
confluenceUser

Unfortunately I don't think there is any other way. But the guide's source codes are documented well.

19 Apr, 2019
confluenceUser
confluenceUser

But the guide 's source on your link is not right in my project. After that, all of my function is disable. I have to build my project again :(((

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print