Guest kerlj001 Posted November 6, 2008 Posted November 6, 2008 Hi, Does anyone know a way of automatically inserting today's date into a SIMS report filter of a scheduled report? Also, can the predefined reports (those below create & build) be run via commandreporter.exe? My Local Support say both are not possible and wont be until schools move to SQL 2008 which wont happen until 2010!!! If correct, this is quite unacceptable and I feel a move to CMIS or a.n other MIS as SIMS is sadly falling out-of-touch with what we need to be able to do with OUR data! Thoughts please (Phil)? Jody
PhilNeal Posted November 9, 2008 Posted November 9, 2008 PreDefined Reports can be run via the commandreporter.exe. I'm told that some reports require runtime parameters which will have to be provided as a string or in an input filename parameter as part of the command line. The report generator is extremely powerful and I would recommend asking on SupportNet as you will find there are many experts on the SIMS Report Generator that are willing to assist. You could also ask your support team to log a specific question and that way it will find its way to an expert.
Guest kerlj001 Posted November 9, 2008 Posted November 9, 2008 PreDefined Reports can be run via the commandreporter.exe. I'm told that some reports require runtime parameters which will have to be provided as a string or in an input filename parameter as part of the command line. The report generator is extremely powerful and I would recommend asking on SupportNet as you will find there are many experts on the SIMS Report Generator that are willing to assist. You could also ask your support team to log a specific question and that way it will find its way to an expert. Thanks for that Phil. My support team said it couldn't be done. Can we not have some official documentation please? Jody
ben Posted November 10, 2008 Posted November 10, 2008 Here is a way I found to do this: First run CommandReporter with the /PARAMDEF switch to find out the parameter ID and subreportfilter commandreporter /user:username /password:password /report:"reportName" /paramdef Parameter id - will look something like this: Ve6cDUFcKeKRuIB/nxAf9w== subreportfilter - will be either True or False This information can then be used in a (very long) command line to run the report I use Windows PowerShell to do this, because it has the get-date cmdlet which makes it easy to get the current date in a format that CommandReporter understands. $a = (get-date).tostring('s') commandreporter /user:username /password:password report:"reportName" /PARAMS:"$a" /output:"c:\test.csv" Obviously replace the green text with your own values.
PhilNeal Posted November 10, 2008 Posted November 10, 2008 Your support unit can request a copy of the manual for you.
PhilNeal Posted November 10, 2008 Posted November 10, 2008 Someone has pointed out to me that the documentation is actually available on EduGeek at http://www.edugeek.net/forums/mis-systems/14078-sims-3rd-party-access-documentation.html
Guest kerlj001 Posted December 14, 2008 Posted December 14, 2008 Hiya None of our custom made reports give the details: Parameter id - will look something like this: Ve6cDUFcKeKRuIB/nxAf9w== subreportfilter - will be either True or False CES Reports do? Any ideas people? TIA Here is a way I found to do this: First run CommandReporter with the /PARAMDEF switch to find out the parameter ID and subreportfilter commandreporter /user:username /password:password /report:"reportName" /paramdef Parameter id - will look something like this: Ve6cDUFcKeKRuIB/nxAf9w== subreportfilter - will be either True or False This information can then be used in a (very long) command line to run the report I use Windows PowerShell to do this, because it has the get-date cmdlet which makes it easy to get the current date in a format that CommandReporter understands. $a = (get-date).tostring('s') commandreporter /user:username /password:password report:"reportName" /PARAMS:"$a" /output:"c:\test.csv" Obviously replace the green text with your own values.
ben Posted December 15, 2008 Posted December 15, 2008 Not sure I have used this method successfully with custom reports made in Report Designer. A couple of things to check: In Report Designer, under your filter, make sure "Prompt at runtime" is ticked Does the user specified in the /user parameter belong to SIMS group(s) that have access to the data you're trying to export? (There is a "SIMS permissions spreadsheet" showing which groups can access which information.) What output does CommandReporter produce when it is run with the /paramdef switch? Does it display an error message? Hope this helps
Mcshammer_dj Posted December 15, 2008 Posted December 15, 2008 Phil is it possible to run any of the specific module reports from command line? I like the look of the attendance reports and would like to use then scheduled to allow for schools that are using online attendance, but can't easily see a way of doing this as the advise states that the report must be in a the favorite of the user named to run the report
RLR Posted October 16, 2019 Posted October 16, 2019 Thread resurrection incoming! This thread came up from googling. Does anyone know if it's possible to use Command Reporter to force the CSV file to save as UTF-8 encoding? When I run the /paramdef switch, the XML is showing "us-ascii". Is there any way of changing this to UTF-8?
Esteban_Child_of_the_Sun Posted October 17, 2019 Posted October 17, 2019 Try something like this in PowerShell? Get-Content .\test.csv | Set-Content -Encoding utf8 test-utf8.csv
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now