Custom field in report

Backend functionalities: user management, course management, reports, certificates, etc.
Post Reply
kodokbakar
Newbie
Posts: 20
Joined: Sun Jul 14, 2019 11:29 pm

Custom field in report

Post by kodokbakar »

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: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Custom field in report

Post by max »

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
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
kodokbakar
Newbie
Posts: 20
Joined: Sun Jul 14, 2019 11:29 pm

Re: Custom field in report

Post by kodokbakar »

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: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Custom field in report

Post by max »

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
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
kodokbakar
Newbie
Posts: 20
Joined: Sun Jul 14, 2019 11:29 pm

Re: Custom field in report

Post by kodokbakar »

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: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Custom field in report

Post by max »

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
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
alfa24
Senior Boarder
Posts: 1985
Joined: Fri Nov 24, 2017 8:45 am

Re: Custom field in report

Post by alfa24 »

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.
Per supporto GRATUITO contattatemi in privato qui
kodokbakar
Newbie
Posts: 20
Joined: Sun Jul 14, 2019 11:29 pm

Re: Custom field in report

Post by kodokbakar »

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 User
Posts: 114
Joined: Fri Oct 12, 2012 6:28 pm
Version: forma.lms 2.0

Re: Custom field in report

Post by murat »

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