cancel
Showing results for 
Search instead for 
Did you mean: 

Sorting attributes of PLM

Former Member
0 Kudos

I have a Product Line Master containing parts with size attributes (S,M,L) but the size dropdown is appearing alphabetically (L, M, S). Is there a way of sorting the attributes so they appear as (S, M, L)?

Steve

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Steve,

Are you talking about the attribute picker or the prod line drop block?

Either way, I believe the answer is no.

The attribute picker has no sort and the prod line drop block "ORDER BY PartNo".

Former Member
0 Kudos

Thanks Shane .. that's what I figured but I didn't know if I was missing something somewhere.

Answers (2)

Answers (2)

Former Member
0 Kudos

I had this issue using the attribute matrix. An attribute can have multiple dimensions. To sort the matrix I used the first dimension for sorting and the second dimension for the size. This may also work for the drop down list.

Eg.

Dim1, Dim2

1, S

2, M

3, L

4, XL

You then change the display options to not show dim1. A user will then sell the attribute matrix sorted.

Former Member
0 Kudos

Nice suggestion Thomas ... I tried it and if I display the first dimension the items are sorted correctly (but the sort shows up). If I uncheck the display checkbox then they do not sort correctly anymore. I could display the sort doimension and then use javascript possibly to strip off the unwanted text in the beginning though.

I did a completely different workaround to fix my issue but if I had used the 2 dimensions for sorting it probably would have made my code simpler.

Steve

Former Member
0 Kudos

I am facing the same problem.

As it doesnt seem to be possible with backends means, wouldnt it be possible, to do an kind of ajax-body-onload request ?

I mean iterate on onload over the options of the selcect field containing the size options and re-sort them ?

Should be possible I guess.

Former Member
0 Kudos

I'm not very familiar with ajax but I guess I could just have a javascript call on the body onload that reordered the items in the dropdown list, otherwise I would just write a user control to re-order them. It's just specific to sizes since other attributes like color can be ordered alphabetically.