I am using the UI-O-Matic extension with a Content Picker as field editor. I want to change the start node that opens when the user selects the picker. So far I've found this code, where it might be possible to make this change:
$scope.openContentPicker = function () {
var d = dialogService.treePicker({
section: "content",
treeAlias: "content",
multiPicker: false,
callback: populate
});
};
$scope.model.config.StartNodeId = 1083;
if ($scope.model.config.StartNodeId) {
options.startNodeId = $scope.model.config.StartNodeId;
}
I want the start ID to be 1083, and I have changed it as so in the code, but it still defaults to my root node.
Selecting the start node for a content picker
I am using the UI-O-Matic extension with a Content Picker as field editor. I want to change the start node that opens when the user selects the picker. So far I've found this code, where it might be possible to make this change:
I want the start ID to be 1083, and I have changed it as so in the code, but it still defaults to my root node.
How can I change the start node id correctly?
is working on a reply...