adding new position link takes long to respond

Asked by victor mayaka

The IHRIS system we are using has about 47,000 records, the problem is in the person form that has all details about an employee specifically on Position Information. When you go to Change Position and click on the Add New link on the Position field it takes long before it opens up the form to add a new position approximately 5 minutes. How can i make this respond fast as it is painfully slow. What may be the problem? Thank you in advance.

Question information

Language:
English Edit question
Status:
Answered
For:
iHRIS Manage Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Luke Duncan (lduncan) said :
#1

Hi Victor,

There are two possibilities for this. One is the supervisor field is taking a long time to populate and display, the second is the facility field. It's most likely the supervisor field. If you're not using that field you can simply remove it from the template and it should speed the page up.

If it's the facility or if you want to keep the supervisor field, you can set up the display to use a report instead of generating the tree view. An example doing this for the supervisor field is here: http://bazaar.launchpad.net/~ihris-india-team/indian-ihris/bihar-manage-41/view/head:/modules/Bihar-facility-reference/Bihar-facility-reference.xml#L88

In the template, you'll also need to modify the <span type="form"> tag for the supervisor field and add the attribute display="reportSelect"

Another alternative that still uses the tree view display but uses a report to get the data instead of pulling it all together is to use something like this example for facilities: bazaar.launchpad.net/~ihris-india-team/indian-ihris/bihar-manage-41/view/head:/modules/Bihar-person-position/Bihar-person-position.xml#L82

This doesn't require modifying the template file, but does require that you create a report that has all the data you require and the map section needs to map the field display for the field to the form in the report.

Let me know if you need some help setting any of these up. Perhaps we can set up a meeting next week to discuss it.

Luke

Revision history for this message
Billy Njoka (billynjoka) said :
#2

HI Luke/Victor,

I am also experiencing the same exact issue! Any help in getting it solvedd will be highly appreciated.

Billy

Revision history for this message
Luke Duncan (lduncan) said :
#3

Hi Billy,

Have you tried some of the options I mention in the previous post? I'm currently working on a better solution to this problem and hope to have it in the next release.

Luke

Can you help with this problem?

Provide an answer of your own, or ask victor mayaka for more information if necessary.

To post a message you must log in.