Pasquale Massimo Scorca Posted August 2, 2022 Share Posted August 2, 2022 Hi,I've implemented a Spotfire report to read data from a TIBCO Data Virtualization model. I need to perform a Spotfire data refresh on weekly basis.Which Job builder task do I need to use to accomplish a such task, please?Thanks Link to comment Share on other sites More sharing options...
Tejas Devadkar Posted August 3, 2022 Share Posted August 3, 2022 Hello,You can explore the "Scheduled Updates" functionality for scheduling of reports. https://docs.tibco.com/pub/spotfire_server/latest/doc/html/TIB_sfire_server_tsas_admin_help/server/topics/scheduled_updates_to_analyses.htmlVarious Caching options in TIBCO Spotfirehttps://support.tibco.com/s/article/Various-Caching-options-in-TIBCO-SpotfireHope this helps,thanks Link to comment Share on other sites More sharing options...
Pasquale Massimo Scorca Posted August 4, 2022 Author Share Posted August 4, 2022 Hi Tejas, thanks for your reply.I've explored the "Scheduled Updates" feature and in particular I've followed this articleCreating scheduled updates by using Spotfire Server (tibco.com)but unsuccessfully.The Scheduled Updates execution has returned this error message: Not logged into the external connection.I've tried to verify the permissions related to the scheduledupdates@SPOTFIRESYSTEM account, but insidethe Library administration tool of Spotfire Analyst I cannot view and change any permissions.I remember that the Spotfire report read data from a TIBCO Data Virtualization model.Any suggests to me in order to solve this issue, please? Many thanks Link to comment Share on other sites More sharing options...
Steven van der Kroft Posted August 5, 2022 Share Posted August 5, 2022 Hi Pasquale,The reason you are getting the error is that the user is prompted to log into the data source (tdv). As automation services is not using the prompt. The way to work around this is to go the the settings of the datasource in the analysis and to credentials en then choose the option ("No, but save the credentials profile (may be used when opening in spotfire web clients running TIBCO automation services jobs)"). Then in the automation services job builder, before opening the DXP add the task "Set credentials for external connections" and use the same credentials profile you just created. Then it should load without any issues when executing the task locally or on the server. Link to comment Share on other sites More sharing options...
Pasquale Massimo Scorca Posted August 5, 2022 Author Share Posted August 5, 2022 Hi Steven,for now I've saved the credentials with the connection data source, also if this option isn't more sure.I'm using the Scheduled Updates feature of Spotfire Server in order to run a data refresh and deliver to the users an updated report on weekly basis. I'm learning about Spotfire and I don't know how using the Automation Services to perform a data refresh for a report. Any suggests to me? Thanks Link to comment Share on other sites More sharing options...
Steven van der Kroft Posted August 5, 2022 Share Posted August 5, 2022 Hi,The difference is that now all users of the dashboard will use the same credentials when going to that dashboard, while the other option would allow the users of the dashboard to connect to TDV with their own credentials and automation services to use a profile users. This would only be relevant if you would like to have row or column based security policies to be applied based on the users role or group. Link to comment Share on other sites More sharing options...
Pasquale Massimo Scorca Posted August 5, 2022 Author Share Posted August 5, 2022 Hi Steven, many thanks for your reply and help.I could use the Automation Services, but with this service could I perform a data refresh for the report?Or however do I need to use the "Scheduled Updates" feature to perform a such operation?Thanks Link to comment Share on other sites More sharing options...
Steven van der Kroft Posted August 5, 2022 Share Posted August 5, 2022 Hi Pasquale,It depends a little on your setup. From your question I gather that the data is loaded as soon as the report is opened. Therefore the user needs to log in to TDV. If that is the case the data is loaded and refreshed each time the report is opened.If this is too slow you could either cache the data in TDV to make it faster, or you could eg. preload the data into the memory of the webplayer server (scheduled update). Can you explain a little more about where the data is stored that you would like to refresh? Link to comment Share on other sites More sharing options...
Pasquale Massimo Scorca Posted August 5, 2022 Author Share Posted August 5, 2022 Hi Steven,I want that a data refresh occurs in a batch manner, on weekly basis, out of the working hours.When an user logins to the Spotfire report he has to specify user and password to open and examine the report and not to load any data. For now, I don't want a real-time data refresh.For these reasons, I think to implement a Scheduled Updates mechanism using the related feature of Spotfire Server.I hope to use the right feature, because I'm learning Spotfire.I hope that with the Scheduled Updates I could to implement a secure login to the TDV data model, using the same login to access the report.Many thanks Link to comment Share on other sites More sharing options...
Tejas Devadkar Posted August 5, 2022 Share Posted August 5, 2022 Hello Pasquale,Do you use a In-built Connector or Information link to pull in data from TDV ? What is the authentication method on the data source and Spotfire server? You may also raise a Support Ticket and elaborate your scenario(authentication methods used, data sources , use case, etc) for more suggestions/steps on SU and your data source setup or any issues you may face.https://support.tibco.com/thanks, Link to comment Share on other sites More sharing options...
Pasquale Massimo Scorca Posted August 5, 2022 Author Share Posted August 5, 2022 Hi Tejas, inside the Spotfire report to get data from TDV I use an In-built Connector. The authentication method on the data source is the database one.Thanks Link to comment Share on other sites More sharing options...
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