Org Chart Web Part – Part I – Overview and Download


In this post we are going to explore User Profiles by extending the Organizational Hierarchy in MOSS. I’ve posted in Codeplex both installer and code for the Organizational Chart Hierarchy web part. This post will only discuss installation and configuration. I will discuss the code in posts to come.


What this webpart does:


This web part reads and analyzes the user profiles in MOSS and creates a full hierarchical organizational chart.  See screenshot below:


image


 


What I need to make it work:


1. It requires MOSS (Microsoft Office Sharepoint Server) 2007.


2. It requires you have imported profiles from you AD.


3. In order to have the hierarchy displayed correctly you have to include managerial and department information for all users who have manager (see the example in the snapshot below).


image


4. You have to edit the departmentconfig.xml file if you want links to the department sites. After the install, this file normally is found at: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\OrgChartPart\. This file is only available after the install is complete.


5. Just edit, add or delete <Mapping Department=”[Department Name As in Profile]”>[url]</Mapping> entries as appropriate. The mapping must be exact. As the example below (this entry is case sensitive):


<Mapping Department=”Operations”>http://myweb/sites/operations</Mapping>


 


Installing Steps:


1. Download the latest release here: http://www.codeplex.com/orgchartpart/Release/ProjectReleases.aspx?ReleaseId=15590 and save in a folder you will remember later (eg. c:\downloads).


2. Go to MOSS Bin folder, commonly at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN


3. Run the following commands from the command prompt when logged as farm administrator (assuming the .wsp file is in C:\Downloads):


stsadm -o addsolution -filename c:\downloads\OrgChartPart.wsp
stsadm -o deploysolution -name c:\downloads\OrgChartPart.wsp -allowgacdeployment -immediate
stsadm -o execadmsvcjobs

4. Go to the shared services provider you use for personalization in Central Administration.


5. Choose Personalization services permission under User Profiles and My Sites.


6. Make sure NT AUTHORITY\Authenticated Users has “Personal Features” and “Personal Site” rights.


image


 


7. Go to the site collection you want to include the web part (eg. http:/myweb).


8. Go to Site Actions | Site Settings | Modify All Site Settings


9. Go to Site Collection Features under Site Collection Administration


10. Activate Org chart Web Part


image


 


11. Verify if OrgChartPart is available in the Web Part Gallery of the Site Collection (Site Actions | Site Settings | Galleries | WebParts)


image


 


12. Add the web part wherever you want in a page


13. Make sure you adjust the web part to render correctly:


image


 


Notes:



  • The beautiful tree layout in Javascript was developed by the talented Emilio CL and can be found here: http://www.codeproject.com/KB/scripting/graphic_javascript_tree.aspx

  • Don’t try it in a large Enterprise with over 500 user profiles. It will work but will be slow. A few modifications are necessary to enable better performance.

  • Next post will be about the source code.


Comments (100)

  1. AACLAGE says:

    Excelent article, just give some other goog ideas, here you use the MOSS, but i change to use the the wss3.0 with AD and integrated users photos, excelent post.

  2. Tariq says:

    In installing steps: Refer to point 3 correct command is  

    stsadm -o deploysolution -name c:downloadsOrgChartPart.wsp -allcontenturls -allowgacdeployment -immediate

  3. En un alto porcentaje de los proyectos en los que he trabajado, siempre la visualización del Organigrama

  4. Hi AACLAGE,

    Cool. Share the code with us in a comment entry.

  5. Hi Tarig,

    It is not necessary to add -allcontenturls as it is a farm wide solution.

    Cheers

  6. Ola Hector,

    I’ve checked your post. Thanks for taking the web part to the Spanish speaking audience.

  7. En un alto porcentaje de los proyectos en los que he trabajado, siempre la visualizaci&#243;n del Organigrama

  8. SvenE says:

    This webpart is exactly what we need.

    We followed your instructions, but we had problems installing the webpart.

    If we want to add the webpart to a site we got an error message (unknown error). It takes about 2 minutes until the error message appears. There aren’t any error messages in event log of Windows. The permissions are set correctly for NT AUTHORITYAuthenticated Users.

    Do you have an idea?

    Thank you in advance.

    SvenE

  9. Hi SvenE,

    Try it again and just after you finish the trial see what the MOSS log says. It is normally located at C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions12BIN and if you sort by date or creation descending you will see the latest log on top. Go to the final lines and look for something related to the webpart and let me know what it says.

    If you have problems identifying the error in the log file, turn the stack trace on (turn it back off later). See more details here:

    http://www.sharepointblogs.com/michael/archive/2007/06/28/sharepoint-under-the-hood-see-real-error-description-and-callstack-stack-trace.aspx

  10. SvenE says:

    The stack trace shows the following message:

    [HttpException (0x80004005): Request timed out.]

    At the first time, I could add the web part to the site, but the org chart didn’t show anything (only access denied). After that i set the permission to all authenticated users in Shared Service Provider.

    Now I get this error code…

  11. Hi SvenE,

    Take a look at this:

    http://forums.msdn.microsoft.com/en-US/sharepointdevelopment/thread/5fb13f00-e557-4f97-9483-cb32867b3505/

    But it seems you have more than 500 users. Wait a little bit until put the webpart in production. I’ll add some changes to enable performance for companies with over 500 profiles.

  12. Corpo: Olá pessoal, tudo bom? Estou montando este post para compartilhar uma novidade bastante interessante

  13. AACLAGE says:

    Hi,

    Like i say the big issue is use the “UserProfileManager”

    you can get the user by a list call

    SPList list = web.Lists[“User Information List”];

    then you only have to get the values there.

    Mappings : List<OrgChartPart.Mapping>

    next is the use of line on class:

    public class Mappings : List<OrgChartPart.Mapping>

    return string.Format(“<a href=”{0}” class=”ecolink” target=”_new”>{1}</a>”, mapping.PublicUri, mapping.Department);

    create a link image parameter where you have the photo URL and add to return string

    return string.Format(“<a href=”{0}” class=”ecolink” target=”_new”>{1}</a><img src=”MyPhoto.jpg” mapping.PublicUri, mapping.Department);

    Sorry cant be more explicit this is not the best place.

    Hope this help.

  14. Jeff says:

    Hello,

    When I try to run the 2nd command to deploy the webpart, I get the following warning:

    This solution contains resources scoped for a Web application and must be deployed to one or more Web applications.

    and nothing appears in the Templates folder as described.

    Any ideas?

  15. Jiga says:

    I’ve a Problem, wehen i Publish the Webpart i see a Blue Ball with "Zugriff Verweigert", that means i don’t have the Access Right.

    My NT-AUTORITÄTAuthentifizierte Benutzer have the Right to read Personal Information.

    Where is the Problem?

  16. Jiga says:

    I’ve a Problem, wehen i Publish the Webpart i see a Blue Ball with "Zugriff Verweigert", that means i don’t have the Access Right.

    My NT-AUTORITÄTAuthentifizierte Benutzer have the Right to read Personal Information.

    Where is the Problem?

  17. Jen says:

    Rodney –

    This is a GREAT webpart.  I was wondering if you had an ETA as to when the performance enhancements to support 500+ users would be completed?  If not, can you describe what you were thinking of doing so that I can give it a shot?  

    Also, I am trying to use the web part as a vertical tree view that will display the hierarchy for an employee based on where they exist in the hierarchy (i.e. Director sees only his Managers, and the employees that report to his managers).  Then I will use this tree view list as a provider to a list of documents relating to the employee selected in the tree…

    Do you think this is feasible, and if so, do you have any suggestions on how to do this?  We have several web applications that we are working on in our organization that require this functionality in a webpart.

    Thanks much in advance!

    Jen

  18. barrypre says:

    We have 3000 users in the organization. The webpart is not working correctly. Are you planning on releasing your improved source code soon? Or are you going to present your code in a new post?

    On a smaller test dataset it looks good.

    Thanks and Best Regards

  19. Apple says:

    Can the organisation chart be filter out into department by department?

  20. Pierre says:

    I got this message when i try to add or view the webpart :

    "Impossible de charger le fichier ou l’assembly ‘Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ ou une de ses dépendances. Le fichier spécifié est introuvable. à OrgChartPart.OrgChartPart.PopulateOrg() à OrgChartPart.OrgChartPart.Render(HtmlTextWriter writer)"

    which means that it can’t load the assembly Microsoft.Office.Server because it can’t find the file.

    can you help me plz ?

  21. Bernhard says:

    Hi,

    thanks a lot for this great webpart!

    It works really fine but the display of the department name. If I change some of the webpart settings, it takes some seconds until it is displayed and in this case also the department info are displayed correctly.

    If I hit the refresh button, instead of the department names "Fatal:Unable to connect to the remote server" is displayed while the names of the employees are still displayed correctly.

    I changed the cache time in the Org Chart settings to 24 (hours) but it seems to have no impact on the problem.

    Do I have to change some timer settings or what could be the reason for this behaviour?

    Thanks a lot!

  22. Peter Moys says:

    I’ve added the webpart and done everything i think i’m supposed to.  However, the orgchart is blank when i try to view it on the MOSS server itself, and gives this error message when i try to view it on a workstation:

    Access Denied: Only an administrator may enumerate through all user profiles.

    Can you give me any advice.  According to the crawl log, i have 285 user profiles imported so i don’t think my org is too big.

    Any help gratefully received,

    Peter

  23. crsnt says:

    Hi,

    I installed the webpart. But when I added it on the site, the chart is not showing up.

    Does each user have to have Department info filled in?

    and Manager info? or both?

    Cheers.

  24. Jeff says:

    In case anyone has trouble running the stsadm -o addsolution command, be aware that the account you are running that account under must have access to the Admin Content Database. If you go add an account to the server farm admin area under SharePoint Central Admin > Operations, that is not enough.

  25. Amir Parsa says:

    Hi Friend

    Please edit Title of this post.

    ORG Chat —> Org Chart

  26. Hi Amir,

    Good catch. I fixed it 🙂

  27. Dave Lewis says:

    I am wondering if I could possibly get the code from you I see in your post that you posted it on codeplex but all I can find is the installer.  The reason I need the code is I want to make modifications to it to include things like secondary manager and so on.  if you still have the code somewhere I would really appreciate taking a look at it if possibl

  28. The source code is in the codeplex as well. You can download going to the appropriate tab:

    http://www.codeplex.com/orgchartpart/SourceControl/ListDownloadableCommits.aspx

  29. Ashwin Bhagwat says:

    Hi Rodney Viana…

    Nice post… I have installed OrgChartPart.wsp

    I have added webpart page… Where I hav added OrgChartPart Web Part… But it displaying only Title as OrgChartPart… M I missed something…???

    Please Help me… Thanks !!

  30. lattelis says:

    Hi,

    I install your webpart.

    It works correctly when I’m logged as administrator.

    But when I’m logged as simple user, I get an error message (“Fatal:The remote …”) in place of each user’s title and company.

    Did you have an idea ?

    Thanks

  31. Hi Lattelis,

    Did you follow step 6? What kind of authentication are you using?

    Thanks,

    Rodney

  32. Ola Rodney,

    instalei a webpart, consegui adiciona-la ao website mas ela fica em branco o organograma nao é gerado. editei o arquivo departmentconfig da seguinte forma:

     <Mapping Department=”TI”>http://es99:26760/RH/</Mapping>”>http://es99:26760/RH/</Mapping>

    </Mappings>

    TI: é o departamento da minha empresa

    http://es99:26760/RH/: é o site onde está a orgchart.

    Tem alguma ideia do porque da webpart ficar em branco?

  33. milindmilind says:

    Thank you very much for this useful Web Part. I will share my cutomized edition with you. In customized edition I have made it show the tree from the node I want. Now, I need to understand how can upward navigation implemented in this? i.e. how can I go to the parent/manager from root node.

  34. Les Catlin says:

    I’ve added the webpart and done everything i think i’m supposed to.  However, the orgchart is blank when i try to view it on the MOSS server itself, and gives this error message when i try to view it on a workstation:

    Access Denied: Only an administrator may enumerate through all user profiles.

    (I have only 103 user profiles).

  35. Hi Les,

    Review step 6 for the permission problem and see:

    http://www.codeplex.com/orgchartpart/Thread/View.aspx?ThreadId=40087

    For your blank page problem.

  36. Panayotis Tzedakis says:

    Hello,

    This looks like an excellent webpart!!!

    I have one question I would appreciate your answer.

    We currently have ~2000 user profiles but NONE of them has managerial/departmental info on their AD profile. We are only interested in presenting the Organisation Chart for the 1st line of managers in the company. If we assign Manager/Department info to these 20-30 user profiles, will your web part be slow in rendering such an OrgChart ?

    Thank you in advance for your time and help.

    Panayotis Tzedakis.

  37. Pavelik says:

    Hi Rodney, nice part, but i have xml:

    <Mapping Department="Operations">http://incartech/IT</Mapping&gt;

    <Mapping Department="Finance">http://incartech/ERP</Mapping&gt;

    and in Organization in AD realy have both depts in xml, but chart show nothing. Before i change them, tehy show all. Thx Pavel

  38. Pallavi Pathi & Lavanya chalasani says:

    We have used a visio file where the organization chart with the pictures are drawn.

    The easy steps without any coding are :

    – Import the excel details to visio file, create the org chart

    – right click on the name and insert the picture

    – Save the visio file as an XML stencil – .vsx file

    – save this under the MOSS/WSS site directly

    – Used a "page viewer web part" and provided the above link and set the page length and width.

    – The visio functionality of editing the org chart is allowed with a stencil in the online site. No more code/progammer effort to change it

    We have roadblocks though, can someone help us

    – the site takes 3-4 minutes since the visio chart is with picutures, how can i reduce this time… any option like buffering etc etc… I am not a programmer hence may not know the options

    – though the margin is set in the visio file, there is still an extra space on the SPS page viewer window that is not nice to look at. How can I avoid it.

    Our IDs are : ppathi@deloitte.com;lchalasani@deloitte.com

  39. Giles says:

    To addition to step 6 I have found that I need to add the "Manage user profiles" permission as well to get a ersponse out of this web part. Even still I believe I have too many AD profiles for this to work correctly for my site as the page eventually times out and "errors" after taxing the server CPU for a few minutes.

    Good looking web part though – would love to see an extended version 😉

  40. Wei Hann says:

    Hi, thanks for the great webpart. I am able to display everything but when i try to filter by department using the method mentioned above, it still giving me everything instead of filtering. Lets say i have http://myweb/sites/sitedirectort/research/default.aspx, i added:

    <Mapping department=”Business”>” href=”http://myweb/sites/sitedirectort/research</Mapping>”>http://myweb/sites/sitedirectort/research</Mapping>

    is that correct? or am i missing something?

    Thanks!

    Best Regards,

    WeiHann

  41. Hi Wei,

    Mapping is not for filtering, it is only to create a link to departments. As of now there is no filtering mechanism.

    Thanks.

  42. John says:

    Have you made the updates yet to improve performance for deployments with more than 500 profiles?

  43. praveen says:

    hi Rodney Viana,

       I need to have webpart for 4000 users.so, suggest me the changes to increase performance.

    Thanks and Regards

    Pravyn

  44. Hi Praveen,

    Create a job to generate the HTML code and make it run once daily off peak hours. Save the generated HTML code in a property bag scoped to site collection or web application. Change the web part to just render the HTML from the property bag.

  45. praveen says:

    Hello Everyone.

       Rodney did a great job……

         Any one have idea to show images on the nodes??????and filtering by department.

    Thanks and Regards,

    Pravyn

  46. Sab says:

    Hi Rodney Viana,

    It is a wonderful job.

    I am very new to sharepoint. Can you please tell me after I customise the javascript file under 12/template/layouts/orgchartpart, do I need to create the solution file and install the web part?

    -Thanks & regards,

    Sab

  47. Hi Sab,

    You can use the source code and create a re-deploy. You can also change the Javascript in "12/template/layouts/orgchartpart" in ALL Web Front End (WFE) servers.

  48. Chris says:

    Getting an error at this step:

    stsadm -o deploysolution -name c:downloadsOrgChartPart.wsp -allowgacdeployment -immediate

    Syntax error in argument: name.

  49. Chris says:

    Hi,

    I manged to get this working ok but I have the problem with Error because we have more than 500 accounts. We probably have about 550. Is there any way to get this working for us? I’m not to good at coding or anything so simple step by step instructions (like the one on this page which were very good!) would be nice.

  50. Tom says:

    This looks good but can’t get it working. Installed and ok but getting the same error when trying to add the webpart, probably because we have more than 500 people in AD. But on this test box we only have 20 people in SharePoint.

  51. Sab says:

    Hi Rodney,

    As a starter, bit difficult to understand your code.Have you explained the code for this org chart in another post?

    I have to display the team members reporting to the same manager in the same node with hyperlinks to their user profiles.

    And this has to be done only for the team members as there are many team members and normal tree structure followed for other employees.

    Can you please give me the idea of doing this.

    I was comparing for the title and same parentOrder in the ReturnItem() but was not able to display the tree.

    Please help me in solving this.

    -Thankyou,

    Sab

  52. Chris says:

    Someone else installed the webpaert and i am now rasked with making it work. After working past the “not registered as safe” issue i am now stuck at an access denied error when i try to open the webpart. The error is displayed as a blue flag after trying to open the webpart.  a link in the error flag opens a browser instance when clicked….no further info as to where access is denied.

    Any ideas?  I’m new to SharePoint.

    Thanks

  53. Jason says:

    Hi, great web part! I was wondering where I would be able to modify the source so the org chart renders by departments? Thanks for any advice.

  54. Jason,

    The source code is in the codeplex as well. You can download going to the appropriate tab:

    http://www.codeplex.com/orgchartpart/SourceControl/ListDownloadableCommits.aspx

  55. Chris,

    You can see a lot of troubleshooting ideas in:

    http://www.codeplex.com/orgchartpart

    Go to discussions.

  56. Jason says:

    Thanks for pointing me out to the source.

    By the way, does the web part currently have the ability to redener the chart by departments before i start mucking around with the code? Thanks

  57. Jason,

    No, you will have to implement your own filtering mechanism. It is a proof-of-concept web part so you can customize.

  58. Eyad Adwan says:

    I faced an issue regarding how the node tree is rendered.

    If you try to build a long tree, you cannot see the leftmost nodes. This is the case in IE7

    any ideas about this? Please help…

  59. Hi Eyad,

    You can control the width and height of the control when you edit the properties in the web part. Hope this helps.

  60. Eyad Adwan says:

    i used your idea about how to use the script but i have a big database that am read from, and i cant control the height and width for the web part because it will be too big,actually the problem that the javascript component "ECOtree" render the boxes of the chart outside the page from the left side.

  61. So any word on that source code article?  All I see on Codeplex is the WSP file.

  62. Hi Peter,

    If you go to the Source Code tab you can browse and download the source code:

    http://orgchartpart.codeplex.com/SourceControl/ListDownloadableCommits.aspx

  63. Sid says:

    Hi,

    Any idea on how to get this awesome web part working for mpre than 500 users.

    My organization has a whopping 10,000 users, so want to know how this can be used in my case.

    Also, concerned about the width, height of the display.

    Currently, I am getting "Unknown error" and I believe it is because of the huge number of users (as Rodney had mentioned earler).

  64. sidoyro says:

    Hi,

    How to get the web part working for more than 500 users?

    The number of users in my organization is enormous (10 k).

    Any help or suggestions would be great…

  65. sidoyro says:

    Also, I am added the web part by following all the steps but got "Unknown error". I am assuming that it is because of the large number of users (as mentioned by Rodney earlier).

    Please let me know how to get over this???

  66. Simone says:

    Hello Rodney,

    I have installed your webpart and loved the idea of the org chart! thanks a lot! only issue is that my webpart is empty and I at my company, we are not implementing the mysite! so, I was wondering if there is any other option to have it display the information needed or something that I can "comment" on the code to skip the need to give my users the "my site" permissions!

    Any help is highly appreciated!

    Have a great day!

    Simone

  67. Gavin says:

    We have a federated organisational structure.

    This webpart look good but it only seems to render structure based on profiles that are part of the domain the server is part of, is their a way to specify which domain to render.

    IE: If we have users in 3 domains and in 3 different collections I need to render the Organisation Structure can it done.

  68. Roger says:

    Hey, thanks for the this web part.  Looks like it might be very useful for us.

    I ran the commands to install the web part in the site.  One comment on step 2, I had to run it without the path, otherwise it could not find the .wsp.

    At this point, however, the web part does not show up in the Site Collection Features list.  Any advice on troubleshooting this?  I’ve not installed a custom web part before, so I’m a bit green.

    Thanks again!

    Roger

  69. Hi Roger,

    Everything you need to know to install the web part is in the post. Verify every step and see if you have not missed anything.

  70. Muthu says:

    is this web part configured for organizations wth more than 500 users

  71. Hi Muthu,

    This is a proof-of-concept and it was not designed to work with more than 500 profiles at this time.

  72. Muthu says:

    Hi Rodney,

      Thanks for the reply… I tried to add the web part to my site and i get the Request Time out error… After that i am not able to open the page till the web part is deleted from the page… Can you suggest how to rectify this… Is this because We have users more than 500…

  73. Hi Muthu,

    This is because you have more than 500 users.

  74. alex k BCN says:

    Hi!

    This part looks really nice. I was wondering if this web-part could be used in WSS 3.0 instead of MOSS.

    Did anyone try?

    Thank you

    A

  75. Hi Alex,

    Sorry. This component is based on the Profile mechanism which is MOSS only.

  76. Chris Korba says:

    Rodney,

    Though i can preview the webpart without error in the webpart gallery, whenever I try to add it to edit a page and add the webpart i get a blue circluar message saying "error Object Reference" and nothing else.

    Nothing appears in the application or system logs either.  Any ideas?

    Thanks,

    chris

  77. Gone Ramone says:

    Hi, I’ve tried installing the webpart (by following the guide steps) and the first time (on step 3) I received an error like this:

    stsadm -o deploysolution -name c:OrgChartPart.wsp -allowgacdeployment -immediate

    Syntax error in argument: name.

    I’ve changed the "-name" argument to "OrgChartPart.wsp", and received and error saying that the solution must be deployed to "something" (i cant reproduce it again)… i added "-url http://site.domain.com&quot; and the installation completed succesfully. I run the other lines, and got no errors, but when I went to the site collection features, the webpart is not there… Do you have any ideas?

    Thanks!

  78. Gone Ramone says:

    Hi, i’ve already fixed! thanks!!! i was trying to activate the webpart from another place…

  79. Deken says:

    On line 254 of OrgChartPart.cs ("sb.Append(@"<table witdth=""180px"">…") you’ve got "width" spelled as "witdth".

    I’m not certain it will render the table at the desired width anyway but it surely won’t with the attribute name spelled incorrectly…

    Thought you’d like to know!

    Deken

  80. Hi everyone!

    I’ve posted an article about enhancing this web part on my blog:

    http://www.thesanitypoint.com/archive/2009/11/11/a-free-sharepoint-org-chart-web-part.aspx

    The article includes an updated code file, which gives you some significant performance enhancement, as well as additional features. With the updated part you can:

    – Display the embedded sample data

    – Control the orientation of the chart

    – Control how many levels are rendered

    – Set a starting node

    – Reset the starting node from a URL/querystring parameter.

    I also do a little bullet-proofing (e.g. watch for and escape apostrophe’s in the display strings)

    – Woody –

  81. Daniel says:

    Hey,

    This looks like a great webpart, but I cant get it to work!!! 🙁

    I am trying to install in a test enviroment with only 15 users, when I try installing the Web Part I get the following error on the deploysolution command, please help!!

    stsadm -o deploysolution -name c:downloadsOrgChartPart.wsp -allowgacdeployment -immediate

    Syntax error in argument: name.

    Thanks

    -Daniel

  82. tony says:

    Daniel,

    I got that also but looking at the stsadm commands I found that I needed the web application to deploy.  For example here is the command that worked for me.

    stsadm -o deploysolution -name OrgChartPart.wsp -url  http://yoursite -allowgacdeployment -immediate

    After that I can get everything fine except once I place the web part on a page and do the config suggested I can’t get anything to display.  We have <125 users.

    tony

  83. Samira says:

    Off-topic, but I love your sample organigrama references to Villa-Lobos and Albeníz. Classical guitarist? Just learning myself – not quite there yet but looking forward to it.

    Oh – and please update as to when you would have this ready for companies with more (waay more) than 500 profiles.

    Thanks.

  84. problem says:

    Error

    A Web Part or Web Form Control on this Page cannot be displayed or imported. The type is not registered as safe.

    Troubleshoot issues with Microsoft SharePoint Foundation.

    Correlation ID: a4496ef4-90c7-47e8-a901-31e8b16b0195

    Date and Time: 9/17/2010 2:34:23 AM

  85. Jalpa Pathak says:

    Will it work with SharePoint 2010?

  86. Anteneh Aadmasy says:

    Hello

    Will this work with SP2010? Secondly Can I use with FBA users rather than AD users. In my SQL db I have department and reportto field, which we can map in User Profile Services during create user connection.

    Please  Advise.

    Anteneh

  87. Venkatesh says:

    Hi Rodney,

    I could able deply OrhgChartPart but when i import i am getting error message "Cannot import OrgChartPart Web Part" along with many error messages followed. Please advise how to comeout of this.

    I need badly orgnizational chart to be developed and your solution righly suits.

    Regards

  88. Hi Venkatesh,

    Posible causes:

    1. You are running SharePoint 2010 and it is not compatible

    2. You are running WSS 3.0 and not MOSS 2007

    3. You are not installing as both local machine administrator and farm administrator

    4. You did not enable the feature in your site collection

    If it is none of the above, let me know the erors you are seeing.

  89. Venkatesh says:

    Hi, Rodney,

    Issue solved. I just commented  employeeList = new List<Details>(); under PopulateOrg() and it worked fine,

    Thanks man its amazing and it giving grt pleasure thats its free.

    Regards

  90. Venkatesh says:

    HI  Rodney,

    I have another question in displaying employee picture. When i use PropertyConstants.PictureUrl i am not able to display image of an employee. Yes currently images under AD are empty for all employee but i am passing test image to fill in. When i see OrgChart i am getting pictureurl as message rather i need actual image. Any other things i need to set in order to appear image.

    Thanks

    Venkatesh

  91. Show me a HTML portion from one node and I will tell you the changes you have to do,

  92. Venkatesh says:

    Hi Rodney,

    It got worked for me. Sorry delay in replying. Actually the path of picture what is coming from AD was wrong.

    But i have another thing to ask you. Generally when Org Structure is loaded with full chart appearing in one short. But right now my requirement is hide all child nodes unless use clicks for to expand. I did looked in ECOTree.js to counter attack this problem to set default all child node to hide. I could not able to find where to make changes. Please help me in this matter.

    Thanks

    Venkatesh

  93. Hi Venkatesh,

    Use the method collapseAll().

    See details about ECOtree here:

    http://www.codeproject.com/…/graphic_javascript_tree.aspx

  94. Jeffrey says:

    Hello

    It can run on sharepoint 2010? any idea?

  95. Sharepoint 2010 says:

    It is not working in sharepoint 2010.. specially when you are applying v4.master page…Please help us…

  96. It is not designed for SharePoint 2010, sorry.