AnsweredAssumed Answered

Repository left side tree in alfresco share take too many memory and slowly loading time in IE.(If there are over 1000 folders)

Question asked by tinlinnnsoe on Aug 5, 2013
Latest reply on Sep 24, 2013 by tinlinnnsoe
Hi everybody,

I used the alfresco community 4.0 d version and
I also customized it from last year.

Now I found one problem in community edition.

In Alfresco Share,
When I click repository menu in Header,in the left side tree display folder structure.

There is one problem that if there are more than 1000 sub folders in one folder.
When I click that parent folder, cannot display all 1000 sub folder in tree.
Only display just over 544 folder in tree and "Too many sub folder to display" tree node is displayed as following.

/Main Folder
——–/Sub Folder 1
——–/Sub Folder 2
——–/Sub Folder 3
——–/Sub Folder 4
——–/Sub Folder …
——–/Sub Folder …
——–/Sub Folder …
——–/Sub Folder …
——–/Sub Folder …
——–/Sub Folder …
——–/Sub Folder 544
——–/Too many sub folders to display

Another main problem is,
loading time for displaying these sub folders take very long time and it harm to PC also.
Also memory usage is very increased.
Sometimes,I have to close the alfresco application from task manager.

This problem is only in IE browser. In Firefox and Chrome,it is okay.

But I would like to use Share in IE by my requirement.
I debugged the javascript file "tree.js".

I can make to display all 1000 sub folder OR
I can make to display only 200 sub folders.

But I would like to make paging in tree.
There will be 20 page index in main repository window.

If user click 1 page index from main window, from "Sub Folder 1" to "Sub Folder 50" displayed in main window.
At that time,I would like to displayed as following in left side tree.

/Main Folder
——–/Sub Folder 1
——–/Sub Folder 2
——–/Sub Folder 3
——–/Sub Folder 4
——–/Sub Folder …
——–/Sub Folder …
——–/Sub Folder …
——–/Sub Folder …
——–/Sub Folder …
——–/Sub Folder 50
——–/There are too many next sub folders to display and Please click page index from main window

If user click 2 page index from main window, from "Sub Folder 51" to "Sub Folder 100" displayed in main window.
At that time,I would like to displayed as following in left side tree.
/Main Folder
——–/There are too many previous sub folders to display and Please click page index from main window
——–/Sub Folder 51
——–/Sub Folder 52
——–/Sub Folder 53
——–/Sub Folder …
——–/Sub Folder …
——–/Sub Folder …
——–/Sub Folder …
——–/Sub Folder …
——–/Sub Folder 100
——–/There are too many next sub folders to display and Please click page index from main window.

So I would like to make as above.
Give me please any opinions or your feedback.
Also let me know whether it can be possible or not.

Best regards,
Tin Linn Soe

Outcomes