AnsweredAssumed Answered

Help with sort (in script) for a portal

Question asked by hampdentech on Nov 2, 2018
Latest reply on Nov 2, 2018 by philmodjunk

I've been struggling with a sorting issue for the past 2 days, so I think it's time I look for a new perspective on this.

I have a portal with a related table. I am trying to sort the records (filtered) in the portal on first, a field in the related table and secondly on a field in the primary table. Below is the script that I'm running to sort the records.

 

Sort Records [Restored; with dialog:off]

Refresh Portal [Object Name: "AreaPortal"]

It totally ignores the sort and does not change the order at all.

 

If I substitute another, very simple, table view with for the same table and debug through the code, it works as expected, sorting first on the related table field and secondly on the primary table field.

I've tried several different things but nothing will cause the records on the portal to show in the correct sort order.

At this point, I'm looking for suggestions on things to check that maybe I haven't thought of.

Thanks,

Outcomes