SOAP CreateAssetLink - sort order - how do I get an asset to be in position 1?


(Kequi) #1

I have a trigger which runs - call a SOAP asset and uses CreateAssetLink to create a link under a folder asset.

I want it to appear at the top of the links - not at the foot where it would normally be.

 

I can use <SortOrder>1</SortOrder> to position this new link in the asset map (Theoretically...)

 

But...

 

Using 1 - places the new link in the second position in the asset map.

 

2 places it in position 3 etc etc

 

I've tried 0, -1 and NULL  - all of which which put it at the end of the list.

 

Has anyone come across this and is there a way to get my new link to appear at the top of the links?

 

Thanks

 

Karl


(Kequi) #2

I've had to work around it for now by adding a placeholder asset in position number 1 - locked in place on linking screen.

 

It's not pretty but it does what I want for now.