Is it possible to automate the publish of dxp file to the server. What I want to achieve is build a command line tool, user navigates to the dxp file and runs a command (let's say publish), this should save the file to the library without opening spotfire client (something similar to running spotfire in Headless mode).
I got to know that Spotfire Automation Services can be of some help in this task, but I have never used the automation services and don't know how to install or find the automation services module. Any help or direction is highly appreciated. Thanks
Automation Services is a licensed framework from TIBCO that lets you automate several tasks including Open or Save analysis to library, replace or remap data sources, run alerts etc.
But if your sole requirement is to publish analysis to library then use the import-library-content on command line, or save it in a batch file and use IronPython to trigger that as using button from the DXP.
See API docs of import-library-content for usage.
you can check Google for Automation Services and see more details on its capabilities, but I'm pretty sure your use case is covered. Spotfire does not offer this feature out of the box (except maybe using the admin command tool, but that'd only be for admins).
your organization will need to buy a license for AS, since it's a separate product in the Spotfire suite. talk to your TIBCO rep or send me a PM.
Yes, you can use Automation Services for this. Automation Services needs to be licensed from TIBCO, but it provides a framework that will allow you to create job.xml files which specify a list of tasks for Automation Services to execute. You can then submit the job file to a web service when you want the tasks to be executed.
Related
I am looking to build a solution where we can compare (Automated) a word document we email to a client to the word document the client emails us back.
Any suggestions please, we will be using MS Azure to create the solution.
Due to the lack of a direct automation of this feature you can use an indirect route to approach the solution.
Note:
This solution invokes Word using COM automation. Hence this is expected to be running on a VM that has word installed.
Since this solution simplifies the content that is being compared, it might lose the details you might want to show up in your comparison.
You can create a PowerShell script that does the following
Convert the documents to a simpler (txt) format - See this or this.
Compare the text files - See this.
The powershell script will get the comparison done. After that its up to how much fancy you want to get when exposing this functionality outside that VM. e.g. You could create an HTTP invokable API that can call this Powershell script and return results.
I think your best bet would be using Microsoft Azure Logic Apps! Azure Logic Apps allows you to develop advanced automation workflows on the cloud and it supports a vast array of connectors out of the box including email triggers and the Microsoft Word Connector. If that's not enough then, you could even develop your own connectors too...
I have some industrial data that i wish to present in a spotfire dashboard to a client. I want to make the dashboard so that it would update automatically and I have not been able to find a tutorial on Tibco's site or here for how to do this.
It would be great if someone could tell me how to make spotfire look in a particular place (server, desktop, wherever) for a new .csv file, open it and create a defined set of visualizations and then mail a pdf to the client.
I have been through the spotfire automation services manual but I can't find a specific guide to what I need it to do.
All help appreciated.
I went back and read thru the whole question again, including the other person's answer. In order to be able to do what you want to do, you need to have Spotfire Server and Spotfire Automation Services. Automation Services in a product that you have to purchase separately from Spotfire, although it is bundled with the Analyst client.
In your question you said -- It would be great if someone could tell me how to make spotfire look in a particular place (server, desktop, wherever) for a new .csv file, open it and create a defined set of visualizations and then mail a pdf to the client.
I made the assumption that you knew you needed Automation Services to do this. All of my answers have been based around the use of Automation Services. That's the only way to push an email to a user that I know of. After you setup the Automation Services job, you also have to use Active Batch to schedule the Automation Services job, which I noted as part of the original 3 step process.
I want to make the dashboard so that it would update automatically and
I have not been able to find a tutorial on Tibco's site or here for
how to do this.
What you want to do is schedule updates to your linked data. What this will do is re-query the data-source at the specified schedule (once a day, twice an hour, etc) that you specify and cache it on the web server.
Here is the documentation for that.
Schedule Updates
Scheduling updates using Spotfire Server (be sure to navigate down the sub items on the left)
Monitoring Schedule Updates
It would be great if someone could tell me how to make spotfire look
in a particular place (server, desktop, wherever) for a new .csv file,
open it and create a defined set of visualizations and then mail a pdf
to the client.
For this, you still want to use scheudle updates for the first part after you have linked your analysis to your csv file. Your file name will have to remain the same for spotfire to pick it up unless you customize this with some scripting. Once that is complete, you'll want to use Automation Services to complete your mailing a pdf.
Automation Services Tutorial
Automation Services User Manual
Generally speaking, this is a three step process.
1. In the desktop app, create a report (File -- Export -- to PDF -- prepared report. In this step you are creating the export and telling Spotfire specifically what to export. Where to find the report
2. In the desktop app, create the Automation Services Job (Tools -- Automation Services Job Builder). All jobs start with opening the file. Then you create the export. Then send the email. Sample active batch jobe
3. Now, you have to automate the task. This can be done with Windows Task Scheduler or Active Batch.
Those are the high-level steps. There is a lot of syntax and detail in each of the steps, but this should get you started. Please reply with more detailed questions on any one of the steps.
This isn't much of a programming question, but I figure some here would know the answer.
I'm trying to setup the Suitecloud IDE, but you have to enable Web Services. Does it cost anything to do so? Our consultant keeps telling us that we have to buy another account to do so, whereas the Netsuite Tech Support seemed to indicate that it is free.
I'm just wondering what the cost is.
No it is free.
Go to Setup > Enable Features > Suitecloud (tab) > Web Services (check box).
You have to give roles (or global permissions to users) permission to use Web Services.
You can get the IDE from the help section. Search SuiteCloud IDE and it will come up.
SuiteCloud (Customization, Scripting, and Web Services) > SuiteCloud IDE > SuiteCloud IDE Overview
As far as I know, your consultant is wrong or at least isn't being clear.
Enabling Web Services(SuiteTalk) doesn't change your licensing costs at all.
When you connect to NetSuite using web services, you do so using a user account. So in that way, each IDE user would need a license. In most situations however, if the developers already have access to the NetSuite UI, and are therefore consuming a license, it works fine to have them connect with the IDE using the same credentials and thus the same account. That's what we do anyway.
What's more, you could probably (technically; if not necessarily within the letter of the license agreement) share a single license across all the IDE users. You would lose all audit control over who made what changes and you could conceivably run into conflicts with multiple users trying to interact with the account at the same time.
Bottom line: SuiteTalk doesn't cost extra to turn on. Anyone with a normal Netsuite user login can use the IDE at no extra cost.
On a SharePoint 2013 on premise installation, we have configured an incremental crawl, that runs every 15 minutes.
Now we need a possibility to start this crawl manually, too. Is there a WebService we can call to start the crawl manually? Maybe even a possibility to start the crawl on a smaller scope, like only a list or website?
You may just love Simple HTTP api for Executing PowerShell Scripts
In cases where you want to simply invoke a PowerShell script remotely,
a REST api is a good choice since all modern programming languages
make it simple to perform a HTTP GET operation.
and Simple HTTP api for executing PowerShell scripts (with source code) which is an out of the box solution of what the above is trying to accomplish. Here are the Windows PowerShell cmdlets to administer and configure search in SharePoint 2013 for more details.
Please also look at SharePoint Windows PowerShell Remoting if you are interested on more nitty-gritty remote SharePoint control.
Try to use powershell interface for this purpose.
It is pretty simple when you think about it.
We can use the Get-SPEnterpriseSearchCrawlContentSource command to get a ContentSource object.
After we have a reference to this object, we can start, stop, and pause crawls to our heart’s content.
This class has a few methods that you might be interested in:
StartFullCrawl, StartIncrementalCrawl, StopCrawl, PauseCrawl, and ResumeCrawl.
What each method does should go without explanation.
If it is necessary, you can create a wrapper for powershell call. Your web service will call powershell for this purpose.
I have a business requirement to process files uploaded by regional businesses for import to another system. It's envisaged that users will use SharePoint 2007 (soon to be SharePoint 2013), the event will trigger an export to CSV and the process will then run against those files.
Is this possible in either SharePoint versions?
Would that be an app, or standalone service I would want to create and schedule?
Does anyone have a more elegant solution? Essentially the CSV export is feeding in to a program that allows a user to visually validate and press a button to push to the other system after tweaking.
With custom code, you could create an event receiver on the list where CSV file lives that will run some code whenever the CSV file is updated. Here's a starter:
http://elczara.wordpress.com/2011/02/16/sharepoint-2010-event-receiver/
Make it a farm solution (sandbox solutions can't write to the filesystem directly), and you'll probably want to look up RunWithElevatedPrivileges, since the user doing the uploading may not have permission to write to the file system.
Steve's suggestion of rethinking the end-to-end solution is a good one, although I'm not sure how you can trigger the other system to "do its business".
Yes, it is possible, both with the 2007 version and the 2013.
Depending on your deployment scenario, you can:
create a custom timer job that will execute your job.
Create a custom site Workflow, with a loop and a delay, that will do the job.
The 1st is easier to build and maintain, but has less perspectives if you need to apply custom process.
But if you can control the application that consumes the feed, why don't you consume SharePoint directly? From the 2010 version, you can very easily get data using the listdata.svc web service. With older versions, you can still get data using a simple web service.