1

During the Gathering Node data event, I want to run some code and based on the result I want to change the order of nodes in the Umbraco back office.

Is this possible? I'm using V6

Ayo Adesina
  • 2,231
  • 3
  • 37
  • 71

1 Answers1

0

In code there is a sort order method against Document

Document doc = new Document(<nodeId>);
doc.SortOrder = <int>;

This manipulates the database tables including cmsContentXml & UmbracoNode:

enter image description here

enter image description here

amelvin
  • 8,919
  • 4
  • 38
  • 59