I use the contentservice to saveandpublish contet. The contentmodel has sortorder as setter and getter... but allways when i save a content the service sets the sororder to max.
As example
Icontent model = service.getbyid (12)
Current sortorder is 4
Service.saveandpublish(model)
model = service.getbyid (12)
Current sortorder is 11...
I checked the source and an the saveandpublish prozess service set the sortorder to max count of all items on the same level.
This is little but confusing... u let the user to set the sortorder but u overrides the user decission.
Or can i disable the defauft setting of the sortorder? Becouse the solution where to create on all documenttypes cutom sortorder property and use this but in my opinion its little bit strange to do this.
contenservice and sortorder
Hi
I use the contentservice to saveandpublish contet. The contentmodel has sortorder as setter and getter... but allways when i save a content the service sets the sororder to max.
As example
Icontent model = service.getbyid (12)
Current sortorder is 4
Service.saveandpublish(model)
model = service.getbyid (12)
Current sortorder is 11...
I checked the source and an the saveandpublish prozess service set the sortorder to max count of all items on the same level.
This is little but confusing... u let the user to set the sortorder but u overrides the user decission.
Or can i disable the defauft setting of the sortorder? Becouse the solution where to create on all documenttypes cutom sortorder property and use this but in my opinion its little bit strange to do this.
Did you find a solution for this?
is working on a reply...