Custom field in report

Questions about the backend functionalities: configuration, user management, course management, ...
Post Reply
kodokbakar
Newbie
Posts: 13
Joined: Sun Jul 14, 2019 11:29 pm

Custom field in report

Post by kodokbakar » Tue Aug 27, 2019 12:45 pm

I need a report about a test, but with the custom field - organization node active. So this field is there in the report - users - course report, can I call it for a report generated from report-users-learning object?

User avatar
max
FormaLms Guru
Posts: 2095
Joined: Thu Mar 01, 2012 10:41 am

Re: Custom field in report

Post by max » Tue Oct 15, 2019 3:18 pm

Hi Yoshua,

sorry for replying so late to this thread. Can you please explain better? I don't understand your question, to be honest.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
http://www.elearnit.net
http://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
http://elearnit.wordpress.com
Skype: m_ferrari_it

kodokbakar
Newbie
Posts: 13
Joined: Sun Jul 14, 2019 11:29 pm

Re: Custom field in report

Post by kodokbakar » Mon Oct 21, 2019 5:57 am

So I need a report on a course, with the following headers (and 1 sample data):

Username | Firstname | Lastname | Test Score | Node (or department) | Status
username1 | User | User | 100 | Main Branch | Passed

Currently I am unable to produce that format in Forma, since the node field is not available in test report.
Is this correct, and is there any workaround? I tried to tweak the report module but I am not sure which function will generate the node name field.

User avatar
max
FormaLms Guru
Posts: 2095
Joined: Thu Mar 01, 2012 10:41 am

Re: Custom field in report

Post by max » Mon Oct 21, 2019 7:24 am

Hi,
it seems to me that custom node fields are actually available during report creation, it should be after users custom field and before "display courses information". The section is "custom org".
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
http://www.elearnit.net
http://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
http://elearnit.wordpress.com
Skype: m_ferrari_it

kodokbakar
Newbie
Posts: 13
Joined: Sun Jul 14, 2019 11:29 pm

Re: Custom field in report

Post by kodokbakar » Mon Oct 21, 2019 7:38 am

Yes, I am aware of that, but this is only for course report, and not learning object report. Is there anyway I can include the custom org in the learning object report?

User avatar
max
FormaLms Guru
Posts: 2095
Joined: Thu Mar 01, 2012 10:41 am

Re: Custom field in report

Post by max » Mon Oct 21, 2019 8:04 am

Ok, I see now.
No, if you didn't find that field in that kind of report it's not there.
I will try to have that improved in the future versions
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
http://www.elearnit.net
http://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
http://elearnit.wordpress.com
Skype: m_ferrari_it

alfa24
FormaLms Master
Posts: 490
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Custom field in report

Post by alfa24 » Mon Oct 21, 2019 9:00 am

It's not difficult to add. You should edit /appLms/admin/modules/report/class.report_user.php
You'll find some orgchart references in commented code.
Uncomment them and go further with debug adding the code from courseuser filter.
It needs some programming skills and FormaLms knowledge.
I'm Jasmines, the One. If you need, you can contact me.

kodokbakar
Newbie
Posts: 13
Joined: Sun Jul 14, 2019 11:29 pm

Re: Custom field in report

Post by kodokbakar » Tue Oct 22, 2019 6:19 am

Oh, I see...its in the class.report_user.php. I tried changing report.php but I cannot track the function that leads there. Thanks alfa & max

User avatar
murat
FormaLms Expert
Posts: 108
Joined: Fri Oct 12, 2012 6:28 pm
Version: forma.lms 2.0

Re: Custom field in report

Post by murat » Thu Oct 24, 2019 1:03 pm

Hello, I have developed a plugin with these features. Please contact me if you need it.
Hello,I'm Murat. If you need me, you can contact my mail

Post Reply