Because I found nothing working in this domain, I had to learn about TDM scripting. And finally got 2 working scripts which may be usefull for others.
So… here is my little contribution.
Both scripts sets captions and names. Captions are build from object captions. Names - from object names. You may configure max length of name and decide to convert to lowercase or not.
ix_entity_field1_field2_etc - for regular index
ux_entity_field1_field2_etc - for unique index
Written and tested for TDM 188.8.131.52
RegenerateFKNames.js (4.05 KB)
RegenerateIndicesNames.js (4.54 KB)