Hi,
We tried to sort a specific SelectGroup using a component, but we don't have the expected result.
Show below what we need:
Here is our result, using this request:
[Component="select MetaAttributeValue where [MetaAttribute].Nom = 'SNCF - Etat application' " Sorter="Nom"]
or
[Component="select MetaAttributeValue where [MetaAttribute].Nom = 'SNCF - Etat application' " Sorter="Order:A"]
Have you a solution to sort a list like we want ?
May be updating some fields in the [MetaAttributeValue] from [Application] in [MetaAttribute] [SNCF Etat application]
Thanks a lot
AJZ
Solved! Go to Solution.
Thank you very much Lionel.
We used both solutions. It works fine.
Muriel R.
Hello,
according to what you show us, it works as it should :
If you want a different order, just rename the metaAttributeValues (the way you named them will ease the task, just change the first letter ;-).
Note that this can create problems if you used the name of these metaAttributeValues for spectific parameterizations (but risk is small).
Also note that "Order" is a metaAssociation metaAttribute. Therefore, you cannot use it in your case since you did not go through any metaAssociationEnds.
You could change your code like this :
[Component="Select MetaAttribute where Nom = 'SNCF - Etat application'"]
[Component = "MetaAttributeValue" Sorter="Order"]
<Your code here...>
[/Component]
[/Component]
and order the metaAttributeValues for your metaAttribute to get a correct result without modifying the name.
Regards
Lionel
WARNING We have changed our authentication method to support single sign-on (SSO).
To learn how SSO will affect your access to the MEGA Community, please read the FAQ here