Report Builder 4.3.2

Report Builder 4.3.2

Shirley Gregorczyk -
回帖数:8
Particularly helpful Moodlers的头像
We have recently setup a secondary development environment for 4.3.2 so I can kick the tires. 
I am somewhat surprised that the object IDs that Moodle generates from the stack are not items included in the report builder options. 
I use the object IDs routinely and cannot image why they were left out of the report builder options or have I completely overlooked them?
Kind Regards
回复Shirley Gregorczyk

Re: Report Builder 4.3.2

Paul Holden -
Core developers的头像 Moodle HQ的头像 Moodle Workplace team的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像 Testers的头像
Hi Shirley,

Could you explain exactly what "... object IDs that Moodle generates from the stack" are, and how you'd use them in Report builder?
回复Paul Holden

Re: Report Builder 4.3.2

Shirley Gregorczyk -
Particularly helpful Moodlers的头像
The object ids are generated by Moodle when a new object is created (off the stack); courseid, userid, competencyid, quizid, etc.
I want to pull that data out of Report Builder as the object IDs are unique identifiers. I need the object ids in my downstream process for past-due reports.
What is listed in the Report Builder options as Course ID, is the user entered information which is not as helpful to me as the Moodle generated objectids. 

Kind Regards
回复Shirley Gregorczyk

Re: Report Builder 4.3.2

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
Is that this by any chance? MDL-80356
回复Mary Cooch

Re: Report Builder 4.3.2

Shirley Gregorczyk -
Particularly helpful Moodlers的头像
In reading the tracker, I am not completely sure?
I use Ad-hoc contributed reports and ad-hoc database queries now - I use the courseid to pull data across in vlookups in Excel. the Moodle generated objectids are the purest, unique ids. 

回复Shirley Gregorczyk

Re: Report Builder 4.3.2

Shirley Gregorczyk -
Particularly helpful Moodlers的头像
Mary was correct, tracker MDL-80356 is related to my use case. I am surprised, reading through the ticket more carefully that I am the only Moodle user who needs object IDs.
I have so many objects: courses, users, competencies that have similar long and short names using the object ID I get a direct hit.
回复Shirley Gregorczyk

Re: Report Builder 4.3.2

Shirley Gregorczyk -
Particularly helpful Moodlers的头像
Today, I understand why I am the only Moodle users who needs object IDs. I am live now in 4.3.3 and there is no option to export/download the results from any Report Builder.
I will work on my SQL skills while that gets developed sometime in the future.
回复Shirley Gregorczyk

Re: Report Builder 4.3.2

Paul Holden -
Core developers的头像 Moodle HQ的头像 Moodle Workplace team的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像 Testers的头像
Hi Shirley, all custom reports provide the option to export their contents, either directly through the browser ("Download table data as...") or by using report schedules: https://docs.moodle.org/403/en/Custom_reports#Schedule_reports

Mary is correct in that MDL-80356 contains the same as your request here, although the terminology is difference ("Object ID" isn't really a term used to describe either DB row ID, or primary key 微笑 )
回复Paul Holden

Re: Report Builder 4.3.2

Shirley Gregorczyk -
Particularly helpful Moodlers的头像
Terminology is the difference in the tracker, but on the Report Builder the CourseID option that is displayed as available is truly the course_idnumber. I probably should have referred to it as the primary key, as I was taught in school, but it normally not referred to as such in the forums.
I found the export option, but it doesn't helpful me, as I do not have the course primary key, I am relying on to performs vlookups in Excel.
Kind Regards