Is it possible to run a schedule in Foundry without View permissions on all input datasets? - palantir-foundry

In the following scenario:
Admin User sets up a schedule with multiple input datasets in Input Project and output in the Output Project
End User only has access to the Output Project containing an Output Dataset
Can End User manually run the schedule that includes building multiple datasets from Input Project and ultimate target of Output Dataset?
I'm reviewing the docs on the schedule's build scope but still unclear.

Assuming:
All of the input datasets from other projects are added as references in the Output project
The user has write access to the Output project
Then a project-scoped schedule created to build the Output dataset will be runnable by the user.

Related

SSRS Report - output to screen and a file

I'm fairly new to SSRS reports and I'm hoping that there's a simple solution to my problem that I haven't spotted yet...
I have a simple SSRS report that receives a couple of user entered parameters at run time. The DB is queried using these parameters and the results are displayed to the screen in a simple table. Is it possible to have the output automatically written to a csv file as well as to the screen?
I realise that there's the option of the user creating the csv themselves by using the 'export' button when the report has been rendered but I'm trying to avoid that.
What I'm hoping to achieve is to have a report where the user types in their parameter values, clicks 'view report' and can then see their results and create a csv of the output at the same time.
Is this possible?

Upload from CSV file to DHTMLX GANTT

There is a custom implementation in dhtmlx gantt for upload from MPP/XML which goes to their servlet and renders the gantt. Has anyone tried to build a custom CSV upload or any third parties available to load the csv into the gantt.
https://dhtmlx.com/blog/export-import-ms-project-dhtmlx-gantt-chart/
There is no such solution from DHTMLX (FYI I work for DHTMLX), and I'm not aware if there is any third-party service or ready-to-use solution that could be used for a development.
At the code level, importing csv into gantt breaks down into three steps:
parsing CSV into an object array
mapping columns of CSV to properties of that objects (mandatory properties of gantt tasks - text/start_date/duration/parent)
and inserting the result into database.
The first step is trivial. Mapping columns may require implementing some sort of UI so the user could specify which columns of csv mean what in gantt.
For an inspiration, you can check how it's done in this app https://app.ganttpro.com/ - requires registration, but you can create a free account using google or facebook acc - create new project ("+ CREATE NEW" in lefthand menu), select "Import from" and try uploading some csv file -> here is how the ui looks like.
As for the last step - inserting parsed records into db - you'll need to do some coding in order to insert tasks without losing project hierarchy (task.parent -> task.id relations, given that database ids of your items will likely change after inserting), but overall it shouldn't be very difficult.
If you looking for something more specific - please update your question.

Watson Conversation dialog for large number of entities?

I currently have a chat bot that has an entity for each stock symbol. There are over 3,000. For my dialog I want to be able to detect questions like #get #price #stockSymbol. Is there a way to deal with a large number of entities without writing an if statement for each one?
You are only allowed to have 100 entities in a single workspace. However those entities can have 100,000 values.
So you could create an entity called #StockSymbol and then each value would be the Stock identifier (eg. IBM).
So you would only need one IF statement to determine it is a stock, then pass back the entity information to your calling application to take action on the value.
To put this in programatically, if it is a one time thing you can create a CSV file like the following:
StockSymbol,IBM
StockSymbol,MSFT
StockSymbol,APPL
and so on. Then import that entity file. Alternatively you can use the workspace API to update an already deployed workspace.
I am sorry to say there is no process within the Conversation Service UI that has an automatic dialog creation method. In cases like this, many teams create an external script that can read a file with your entities in it, and then creates a workspace json file with the required dialog nodes. The workspace json file is a relatively simple format, and I have found you can easy merge any new json file into an already created workspace. In fact with the new API's it even possible to load the new elements into a running workspace. ( although if new to this, create a duplicate ws, and merge into this one, or download and merge via a good editor. )

JMeter Report Dashboard

Most recent version of JMeter has an option to generate Report Dashboard which is great, but i am struggling to customize it to match my needs.
I am running performance tests for every new version of Application.
Lets start from current state of my reports.
I have User-Defined Variable named - Version. I am changing this for every new run of performance test.
Also, there is time stamp as a second type of comparison. - It is possible to compare previous results of the same version. Basically results from yesterday compare to today's results.
I am using Flexible File Writer to save results to csv file. Using this plugin, it is perfectly easy to store version number(User-Defined variable) in every row, which is important for next step.
Results are imported to Excel Pivot table from where you can do basically everything.
Now, this above is ok, but it would be great to have created consolidated report directly from JMeter but there are few problems here.
Report Dashboard is created from JMeter log file and here comes problems:
How to pass User-Defined Variable to log file?
How to make JMeter to continue with adding results to log file?
Currently it is asking to write new filename, so one test-one log file and i need: few tests-one log file.
How to Modify Jmeter properties to be able to compare results of more versions/more dates using JMeter JMeter Report Dashboard? thnx
You could use the JMeter Plugins Merge results.
Add a prefix with the date to the merge results.
For example :
LOGIN for date 1 will be date1:LOGIN or 2017_01_16:LOGIN
LOGIN for date 2 will be date2:LOGIN or 2017_01_17:LOGIN
https://jmeter-plugins.org/wiki/MergeResults/
Regards.
Vincent D.

How do I export an SSRS report to a pdf file in a batch job using X++?

Is it possible to generate an SSRS report in Dynamics AX 2009 and save it as a pdf file using X++ ?
The problem I have is that I need to generate the data for the report and then generate the report. Reporting server subscriptions wont work in this case as there is no way for them to call the x++ to generate the data.
I have also had a look at passing the rendering type to the SSRS report in the URL, but it doesnt seem to accept a filename to save the report as.
The logic that generates the data is not a straightforward query, and takes quite a while to run. I want to be able to turn this into a batch process so that several reports can be generated by a batch server.
Ensure that AX is configured as a batch server and then you will need to create a batch job.
The art of creating a batch class (for the batch job to call) which calls a report and generates a pdf file overnight has already been mastered here.
The following snippet for generating a PDF file is from the class EPSendDocument.makeDocument()
Filename file = "\\\\Server\\SharedFolder\\File.pdf";
printSettings = reportRun.parmReportContract().parmPrintSettings();
printSettings.printMediumType(SRSPrintMediumType::File);
printSettings.fileFormat(SRSReportFileFormat::PDF);
printSettings.fileName(file);
printSettings.overwriteFile(true);
Another link for converting a report to a pdf file.
Finally do check first if the files are generated by executing the class from within your AX client, and then when it is run on the batch server. There may be permission or path issues.