AnsweredAssumed Answered

Auto-correct position number in a portal

Question asked by tanja on Sep 17, 2018
Latest reply on Sep 18, 2018 by beverly

Hi,

 

I have a portal with entries in it. The addition of new entries was realized with a script: for every new entry, I jump to the last row of the portal. Row number minus 1 is my next position number! So far so good.

 

Now to my problem with 6 entries  for instance:

If I delete the number 3 of the following entries

 

1. yellow

2. green

3. silver

4. white

5. black

6. blue

 

the new order should look like as following.

1. yellow

2. green

3. white

4. black

5. blue

 

but it looks like:

1. yellow

2. green

4. white

5. black

6. blue

 

How can I re-calculate the new position numbers?

 

Thanks

 

Tanja

Outcomes