Hi,
I would be nice to be able to not only drill down to the current user, but to the manager of the current user. The reason is, that if the current user is hierarchically at lowest position, only its box is rendered and it would be nice to see at least one level above and the corresponding peers.
Is there a way for this requirement? We’re using the profile service as data source.
I'd like to do this same thing, not with current user, but rather the "parameterized" user. So, from the URL, I can know the key identifier of the person and can drill down to their chart, but it only shows the one box. I want to drill down to their manager level. I've coded a hidden link to "go up" after the chart loads, but that code does not work reliably.
I guess at simplest, I want to first do a lookup of manager ID based on employee ID and to a drill down to the manager We are currently using a Sharepoint list to populate our chart.
// Skip initial rendering to speed up the process
renderer.config.renderInitialNode = false;
// Wait for web part loading
renderer.onInitialLoadingFinished(function() {
renderer.dataProvider.getBoxGroupItemDataById(employeeId, function (dataItem) {
renderer.drilldown(employeeId.ParentId);
}
});
}