Is there any way to modify the SourceSheets object in Reports - smartsheet-api

I have a script which periodically creates a new Smartsheet from a template, then imports data into that newly created sheet. I have a series of reports which looks at all of sheets this script creates so that I can present and graph each sheet as well as summarize elements from them and chart them over time.
I've automated most of the process (in PowerShell), except for modifying the reports to include the newly created sheets. I'm wondering if there is some undocumented way I can edit the SourceSheets array in a Report object. I'd like to add the newly created SheetID via an automation so that I can cut out the last step of importing this data.

As far as I know there is no support in the API to modify reports, not even to copy directly (unless is inside a folder or a workspace and you copy the container), you can only share the report, export and other random things, this is one of the less supported features.

Related

Qlik sense automation send sheet report in excel format

I am trying to make the automation in the Qlik sense app for which the App >> Sheet report should be sent to the email. The requirement for the report is an Excel sheet. Currently, I am able to send sheet reports in PDF format. Screenshot attached. But I looked into, if it's possible to export this in excel format but seems like there is no option for it.
Any help and insights would be helpful.
Thank you
We are using Qlik Nprinting for all automatic reports. It's however an addition to Qlik Sense, which means separate license, but it also gives plenty of options to automate the distribution of Qlik Sense reports.
Have a look here: https://www.qlik.com/us/products/nprinting
What this addon does in a nutshell is you create a link to the specific app from Qlik Sense. Then you can create multiple reports out of the app from each object in the app's reports. The reports can be in excel, html, QlikEntity, Word, PowerPoint and PixelPerfect type. Each report is then scheduled to execute in the desired frequency - can be daily, weekly, monthly, etc. And finally, it can be sent as an email attachment or saved in a desired folder.
You can create a worksheet using the Microsoft Excel connector (Creates Workbook Session) and read the table data from Qlik Sense App using the "Get Straight Table Data block" and insert the data into the worksheet (Add Row To Table)
Qlik Sense Automation Generate Excel Flow

Download reports from the Microstrategy with filtering

http://xx.xx.xxx.xx/servlet/mstrWeb?evt=4001&src=mstrWeb.4001&reportID=48C05A5F4CCF82CC07F4A1BE2D023FE5&visMode=0&reportViewMode=1&messageID=9850FBA54B678E5B6B66A4B1E527B7B5&stateID=0
This sample URL displays the report executed and saved in the archive. Before downloading, I need to specify an additional condition on one of the columns. For example, City = Samplesity How can this be implemented with the help of Microstrategy url api?
You could use a view filter (with a prompt) in the report and answer the prompt via MicroStrategy URLAPI. The problem would be that the prompt will be showed also to the users (if the report is executed with a subscription, then no problem).
Using a report in this way doesn't make much sense to me, better in this case to use a cube and create a report with a prompted view filter on top of it.
If by "saved in the archive" you mean stored in the History List then there is not much to do here. The History List contains an execution of a report, you cannot really modify it.
If you are looking for a way to filter on old version of your data you have to find another solution, like keeping historical version of the data.

Running Reporting Services against a test database

What's the best way to setup SSRS reports to run against a test database? We need to run them from the Report Server (e.g. from a browser) against a test database. I tried creating a linked report but I don't see a way to associate a different data connection with the linked report.
Thanks.
I usually create a second copy of reports in a Test folder on the SSRS server. This lets consumers test report changes before they affect production.
But if you really want one version of the report to point at both production and test you can get clever with data sources. Here's a blog entry discussing dynamically changing your datasource based on a parameter.
http://skamie.wordpress.com/2010/12/17/ssrs-changing-data-source-dynamically/
Then you'll need to either expose the parameter or call the report in some way where you can set the hidden parameter.
Create a new folder in the Report Manager and upload the exact same report to that new folder.
If needed, you can also hide this folder so only testing people can access the URL directly.
Create a new data source that points to your test database and change the data source of the new report to use the test data source.
That way you can leave your production report intact.
Go to Properties > Data Sources and point the datasource to your test database

running a script from within crystal reports

I have an application that creates a report using crystal reports. The data for the report is created in db tables that are built on the fly and then deleted after the report has been created. I would like to save the database that create the report.
I have access to the reports, so I was wondering if it is possible to embed a script in the crystal report that would run when the report is created and move the data to another location, such as via a batch script.
Can anyone tell me if this can or cannot be done? Thanks for any thoughts.
Try this. In the .rpt, go to Database Export and Add Command as shown below.
I don't know what the proper SQL syntax is (the query in the sample image threw an error), but once you work it out, you could probably do it this way. This example from Business Objects uses this command as part of a larger question.
(However, since the original DB is immediately deleted, you'll have to specify a new database to put the table in. I don't know if that's possible.)

create jrxml file at run time and modify at run time

I have a requirement to develop custom reports where we already have some reoprts developed using JasperReports using iReport tool. Now the requirement is to modify those reports design at run time. I should use those existing jrxml files and save as to new report then change the design at run time. Also I should see those newly created reports whenever I want.
I have gone through the Jasper API and Dynamic Reports where we can create the reports dynamically at run time but we can't save the design (like JRXML).
I am looking for any other JRXML design API to create and modify and save the Jasper Reports at run time.
I appreciate if any one can help me.
Thanks in Advance
Srinivas
It seems DynamicJasper can do this.
First thing you will need to draw a flow chart of how you want to do things.
For example, if the report already exists, and you want it as is, what will you do?
In case you want to modify it a little, do you want to save as jrxml and compile each time?
Or do you want to compile to jasper, store on local storage then populate later.
It seems you want to build a reporting engine and answering all those questions is basic. In that case here is something to start from.
Find a factory called DocumentBuilderFactory which will help you parse the XML into DOM object, modify then save it.
Here is a good tutorial on using it