How to get Infromation Link query from Spotfire Library Database - oracle

I am new to Tibco Spotfire and I am working on a query to retrieve the query used by/generated by Spotfire while designing an information link.
I have access to the Library DB which saves the metadata of all the items/elements used in dashboards and stuff like that. I have been able to locate the information link items in the DB but I can't find the actual query that is used by the information link.
I need a solution that can be implemented from the DB, UI solutions are already in use and I am looking to automate that manual process of going to each info-link and clicking the "SQL" button in the Information Designer tool
so far I have come across [this link] (https://support.tibco.com/s/article/How-to-find-the-manually-modified-SQL-query-used-by-a-particular-Information-Link) on Tibco's community forum but it doesn't show the autogenerated queries (only the manually modified queries).
Any and all help on this will be much appreciated
Thanks

This should be in the SQL logs on the server. Attempt to open the info link. Then, log into the server. Go to the folder where your spotfire installation is and find a folder that looks like this...
\Tibco\tss\10.3.6\tomcat\logs
...and you want the SQL.txt file. Search for your user name.

Related

Not clickable Transform data in Power BI menu

I've already uploaded data from SQL Analysis services, and after this I can make any calculations or make any changers in the report because Transform data is unclickable and I cannot use Power Query Editor .
But if I upload data from SQL Server then everything works fine.
Could you help me, please, find the reason why I cannot work with data from SQL Analysis services?
There are different ways to work with Analysis Services. When using the UI, the default way is to connect to the whole data model. That means you can use all the pre-defined measures for example. If you want to add additional tables to that model, you have to change the connection to direct query. This is a preview feature that must be enabled by your admin: https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-datasets-azure-analysis-services
If so, you should see a clickable link at the right bottom like so:
If you clik on it, a dialogue like this should pop up:
After accepting your are able to click on "Transform data" to import more sources.

How to download multiple BLOBs(Images/Files) at once in Oracle Apex 5.0

I was wondering if there is a way to download all the blob content from a table at once on the application side (via a button click ideally).
I could get it to download BLOB files/images on a record by record basis both on the interactive report and on the form using different approaches. But getting more than one at a time seems to be a rather tricky for me.
I am using
Oracle Apex 5.0.4. and
Oracle Database:12c.
Any help would be greatly appreciated.
A few links I went through:
http://docs.oracle.com/cd/E14373_01/appdev.32/e13363/up_dn_files.htm#CHDECDAJ
http://joelkallman.blogspot.be/2014/03/yet-another-post-how-to-link-to.html
No you can't download multiple files when clicking on a "download Button".
What you can do is build a zip file (in the server) with your selection of BLOBS and that is the one to download.
UTL_COMPRESS is the Oracle Package to do that.
An example on how to do it is here: UTL_COMPRESS, gzip and zip
Another one is the AS_ZIP: AS_ZIP
and ZIP_UTIL_PKG: ZIP_UTIL_PKG
I have recently published a solution for that using 4 steps:
Create a button to submit the page;
Create a page process that creates the blob of a zip file, using apex_zip API and stores it in a collection (using apex_collection);
Create a branch to the same page, calling an application_process=something;
Create an Ajax Callback called 'something' that prompts the user to open or download the zip file using WPG_DOCLOAD.download_file.
Take a look and let me know: https://apexcornies.wordpress.com/2020/04/04/create-a-download-zip-button-in-oracle-apex/
Cheers,
Pedro

Using phpMyAdmin data as source for choropleth mapbox

I'm working on a project where I need to show how many documents are invalid per department on my web site, which is display with Maven.
The problem is, I'm using phpmyadmin for my database, and I didn't find a way to use it as a source for the choropleth map.
When I'm looking on Help topic on mapbox, there is only solutions with PostgreSQL and PostGIS.
The SQL request I need to use looks like this :
SELECT SUM(nbTransactionAnnule) FROM archivAnnule GROUP BY departement
I would like to know if someone have already had this problem, and how did you fix it?

building torrent provider website

Recently i have been given a project that is torrent provider just like torrentz.eu, thepiratebay etc, where anyone can search what they want to download and then get the download like with the help of torrent.
I don't know the concept behind this, what is the basic requirement and what is the process to make it done. i have searched over Google but didn't find any relevant answer related to my problem.
I just want to know the process and what i really need to do to make it done. technology i will use that is spring framework.
Thanks
This is not really an Spring specific question but I'll try to help you.
You just need to save the torrent file (a text file with information needed by torrent clients) in a database along with information about the torrent like a representative name, a date and not much more. You could do this using Spring Data JPA for example. This way you won't need SQL knoledges.
If you want a site like torrentz.eu, you will also need to fetch data about the torrent like peers. You can store this also in the database but you will have to update it periodically. To do this, there are APIs like Bitsnoop that return this kind of information.
Having this, you'll need only some controller mappings to show your home and to let users search torrents given a name (the one that your saved before).
Well, first you need to know that Torrentz and ThePirateBay are 2 different things.
Torrentz is a search engine (like google) that searches for torrent files.
ThePirateBay - in past .torrent files hoster, now a simple Magnet linker.
All you need is a website with a huge .torrent files database.
Also a good hosting in a not online controlled country, so you don't get in trouble just like the most popular torrent website (thepiratebay.se / torrentz.com / kickasstorrents.com ...)
Of course they are still online, but that's just because they have a big fan base that keeps creating mirrors and proxies (https://viralifyblog.wordpress.com/2017/06/19/thepiratebay-proxy-list/)
Finally. I don't recommend creating a torrents website.

Can Oracle UCM Web Form store/retrieve data directly into/from database

I have found several articles mentioning that using "UCM Web Forms" you can easily provide and interface for contributor to enter data in a specific format(split into specific fields).
In my case the data for some of the fields(e.g. drop-downs) have to be taken out from a database. And when the form is submitted it will be nice if the data is stored in the DB too, so is this possible with these web forms.
Also it will be great if someone can provide a link to a demo/tutorial/working example of using UCM Web Forms.
http://blogs.oracle.com/kyle/entry/adding_ucm_web_forms_to_site_s
Gives an explanation and example.
Hopefully this helps whoever stumbles on this question.
Oracle UCM provides a mechanism to check in documents but no to manipulate directly database entries. You have to write your own code to manipulate the form/data or use a Java framework for this.

Resources