Quantcast
Viewing latest article 2
Browse Latest Browse All 2

Script to Change order of Attributes within an Entity

Hi Sandy,

See attached script: MovePKAttributes.txt (1.8 KB)

I use Move method from Attributes list in this script.

Other way is using this:

 Attributes.InitSort();
 var temp = Attribute1.Ordinal;
 Attr1.Ordinal = Attr2.Ordinal;  
 Attr2.Ordinal = temp;            
 Attributes.Sort(); //command to sort list by Ordinal value

Regards,

Mario

Read full topic


Viewing latest article 2
Browse Latest Browse All 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>