How to show the org chart based on anothe user profile page?

Hi Mohamed,

Thank you for your question.

There is similar article which describes how to drill down to current user.

You can replace current user with parameter from URL. User GetUrlKeyValue function to get value from URL like this:

var currentUserLogin = GetUrlKeyValue("accountname")

Thus your code should look like this:

[code]var currentUserLogin = GetUrlKeyValue(“accountname”);
var isInitialLoad = true;

renderer.onLoadingFinished(function(){
if(isInitialLoad){
isInitialLoad = false;
renderer.drillDown(currentUserLogin);
}
});[/code]