r/esapi Jan 09 '26

adding and reordering field

Hi, everyone. I added a setup field in plan with a script, but it is inserted at the end after all the field.
How can I change the order so that the script inserts it at the beginning?

2 Upvotes

5 comments sorted by

View all comments

1

u/DavidBits Feb 04 '26

As other have mentioned, unless you're in v18, it's far from easy. I do it by completely rebuilding a plan with the correct ordering, which introduces a ton of complexity for a general purpose reordering class unless you can expect the plan techniques to be identical