here is the powershell script to update sort order on hyperlink field modify view

$spView = $list.Views["All Links"]
$spField = $list.Fields["URL"]
$spView.Query = "<OrderBy><FieldRef Name='URL' Ascending='True'/></OrderBy>"

It displays properly in view(in sorting order). But when I go to Modify view it displays None in Sort Category

enter image description here

Any help would be appreciated.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.