Hello,
As you can see in the picture below i sort the results and it give me perfectly fine but when i login into mashup with the user whose is not administrator and part of the usergroup then it does not show this as sorted.
the user has right on this datatable. there is no error in network tab also for service but still i do not get the results sorted...
Solved! Go to Solution.
Because I can't see exactly what you've done and what your service is doing to display the list.
More of a general answer from me.
If your output list/infotable was not sorted directly by you, it may be output arbitrarily.
At the end of the service that processes the data, it is important to sort it if you want to receive it in a specific order.
result.Sort({
name : "PRIORITY",
ascending : false
});
I created a thing for myself in which I create the infotables under the properties that I would like to have displayed in my mashups.
In order to change the data, it is adjusted once here
and all mashups access the finished lists.
You forgot to mention your TWX version and which widget you use to render the content. Grid, Advanced Grid, Dropdown, List, Collection,... and how you configured those. Will be hard to get a reply this way.
My thingworx version is 9.3.7-b1432 and i am using dropdown widget in mashup and i have unselected
1) AutoselectFirstRow
2) ClearSelection
3) MultiSelect
I have dispalyField and ValueField assing to values from the infotable. Please let me know if any information is required!
Hello @MA8731174,
It looks like you have a response from a community member. If it helped to answer your question, please mark the reply as the Accepted Solution.
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.
Regards,
Abhi
Because I can't see exactly what you've done and what your service is doing to display the list.
More of a general answer from me.
If your output list/infotable was not sorted directly by you, it may be output arbitrarily.
At the end of the service that processes the data, it is important to sort it if you want to receive it in a specific order.
result.Sort({
name : "PRIORITY",
ascending : false
});
I created a thing for myself in which I create the infotables under the properties that I would like to have displayed in my mashups.
In order to change the data, it is adjusted once here
and all mashups access the finished lists.
Hi @MA8731174,
I wanted to follow up with you on your post. Upon further review, we have gone ahead and designated the post we feel successfully answered your question.
In the event that you disagree with the Solution Accepted, please let me know.
Thanks for using the PTC Community!
Regards,
Abhi