LDSTechForumProjects

Talk:Custom reports (MLS)

Upload examples of custom reports

In a Thread on the LDSTech Discussion Forum it was suggested that this article could be used to host some examples of custom reports. It would be therefore useful to allow the upload of files with the extention .mls --Steve 10:11, 28 August 2009 (UTC)

I talked with Tom Welch and I think the ability to upload files with extension .mls is now approved and activated. -- Mike Murray 18:32, 1 September 2009 (UTC)
Does an.mls file include member data, or is it just a "shell"? Lindsayre 16:47, 2 September 2009 (UTC)
From the way the others in that thread have talked about them, it appears they are merely Custom Report definition files, detailing what fields and filtering criteria should be used when running the custom report. With that said, these exports should not be tied to any unit-specific membership data. However, I have not looked at the actual file contents itself yet. -- Mike Murray 17:06, 2 September 2009 (UTC)
I have examined the .mls file. It is simply a tiny XML file that describes the criteria and format of the report. It includes no data at all. -- Aebrown 18:25, 2 September 2009 (UTC)
On the Special:Upload page, the "mls" extension is now in the list. But when I try to upload a .mls file, I get an error message in red letters: "The file is corrupt or has an incorrect extension. Please check the file and upload again." So something is not quite right yet with .mls file uploads. -- Aebrown 22:12, 1 October 2009 (UTC)
It appears that there are a few ways this can possibly be fixed. One way might be to set $wgStrictFileExtensions = false in LocalSettings.php, but that appears it could be a little dangerous. Another thing we could try in the same file would be setting $wgVerifyMimeType = false, as I imagine the problem is that .mls files are really just XML files but don't match the expected file extension, as the error states that Alan quoted. However, I still don't think this is exactly the right fix either. So my proposal would be to instead add a line to the "mime.types" (I'm not sure where or what that is). One person fixed a similar problem with Excel files (.xls) by adding the following MIME type:
application/msword xls
I imagine something similar might do the trick:
text/xml mls
Hope it's helpful to Tom. -- Mike Murray 23:20, 1 October 2009 (UTC)

How to import .mls custom report files?

I have downloaded a custom report XML definition file. How do I use it in MLS? Thanks, --Jcarroll 16:55, 13 March 2011 (UTC)

I updated the text at the beginning of the Specific reports section to make these steps clear. -- Aebrown 19:12, 13 March 2011 (UTC)
This page was last modified on 13 March 2011, at 13:12.

Note: Content found in this wiki may not always reflect official Church information. See Terms of Use.