122
Views
5
Comments
Solved
How to sort structure column using List_SortColumn

I have created an SQL query for my table and there are columns that were fetched by a structure. I am not able to sort them by adding "{StructureName}.[StructureAttribute]" to the column attribute of List_SortColumn as it returns error of The multi-part identifier "{StructureName}.[StructureAttribute]"  could not be bound.

I already set my Sort input parameter Expand Inline to Yes but it still doesn't work for columns from the structure.

Any suggestion?

2026-02-26 06-29-24
Rahul
 
MVP

Hi @Gabriel David ,

 I saw in your sql query their is no entity name like {DashboardAssesmentColumns}.[NotificationDate] which you passed from sortcolumn.

Order by is working with table or entity columns which used in select statement.


2022-06-29 08-33-18
Gabriel Onell David

Hi @Rahul Sahu,

Is there a way to sort those calculated columns?

2022-06-29 08-33-18
Gabriel Onell David

This worked for me @Rahul Sahu 

Thank you for your help.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.