function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GSBassoGSBasso 

Ordering of custom links when deploying Home Page Component ignored

When deploying an existing Home Page Component using the Metadata API 20.0 the custom links ended up in a different order than what appears in the .homePageComponent file.

 

In fact, the order seems to somehow be fixed, as no matter how I arrange the links in the package the links always end up in the same order. And the ordering is not obvious (e.g. it's not alphabetical).

 

sfdcfoxsfdcfox

I believe the order is actually alphabetical by URL (not by label), although I could be mistaken. This sounds right though, as I once remember hearing about this problem before.

GSBassoGSBasso

That does make more sense (and seems to be the case after examining some of the URL values).

 

However, one does have the ability to order the links through the Setup UI so it seems to me this notion of order is lost in the metadata file.