New changes in Data model, Not reflecting in report - oracle

I recently added a new column to the existing data model which uses SQL query from Oracle.
I saved the changes, reviewed the output and saved as sample.
I have checked if the new query with new changes runs in SQL developer, it runs as expected with new columns.
However, I am not able to see those new columns in the main report even after refreshing the browser.
Could you please help me fix this.
Thank you

It is not clear from the question did you or did you not add those new columns to the report template. If you didn't then there is nothing new to show in the report. If you did then maybe, just maybe, it is a caching problem. BI Publisher offers the option to control the cache.
Try to open your report in edit mode, click on Properties and setup the caching for the report.
More at https://docs.oracle.com/middleware/12212/bip/BIPRD/GUID-921F37EA-3956-4244-BFBF-2B942DF10E22.htm#BIPRD2125

Related

How to get Infromation Link query from Spotfire Library Database

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.

PL/SQL Content to PDF print in Oracle Apex 5.1.3

I designed invoice by PL/SQL content with HTML and CSS but I can't set up properly page. And I can't print in PDF format.
If you just started with Apex, perhaps you'd rather use its Wizards which will help you in creating process. Although you can create a page using HTML commands - why would you?
Invoice is, I presume, stored into a table. If that's so, I'd suggest you to create a "Report with form on table" page - it'll create
interactive report, which will let you browse through all invoices you created
form, which will let you create new invoices, update or delete existing ones
Try it; it shouldn't be difficult at all.
As of printing reports in PDF format: here's what I (we) do:
I create a report using Oracle Reports Builder
put a RDF onto our IAS (Internet Application Server) machine
place its entry into the CGICMD.DAT file
call the report from Apex using a dynamic action on a button, using 2 steps:
PL/SQL, which composes URL (and adds parameters' values)
JavaScript, which calls the report (using window.open)
I understand that not everyone has the IAS up and running; it isn't trivial task at all. Quite some time ago, for my own amusement, I installed Apache Tomcat and JasperReports, just to see if I can make it work. I did. However, as my company uses IAS & Oracle Reports, I abandoned that approach.
Someone else might have other suggestions; wait a little bit for them to answer.

How to display last refresh status of OBIEE Report in Another website?

I have around 20 OBIEE Reports and these Reports automatically refreshed after a certain time period (different for each report). Users navigate to these reports through my SharePoint site home page. Now, I want to display which report is refresh at time in SharePoint page.
Is there any way I can achieve this capability?
Please let me know if requirement is not clear.
Not sure if you comprehend how OBI and analytical systems work but let me make something clear:
It is NOT the "OBIEE Report" getting refreshed.
First of all because OBI uses "Analyses" whereas BIP uses "Reports".
Second and most importantly it is because the DATA SOURCES are refreshed. The "analysis" is just a visualization container and nothing else. OBIEE does not store or persist data.

Oracle ADF 11.1.1.4 blind query triggered

I am working/maintaining an application built on Oracle ADF 11.1.1.4 version migrated from 10g during developement phase itself. We are using BC4j to talk to Oracle 10g database. The application is very heavily data centric and so there are chances that the query triggered through GUI may be have bad plan based on the search criteria entered by the user. Most of the places we have marked few fields mandatory to search on where potentially we see a bad query to be formed.
Issue: Currently in production user open muliple tabs for different screens, one of which is a screen where we have made it mandatory to enter few search values before searching/Querying the data. In the corresponding view criteria of that View Object we have marked those fields as selective required. But somehow we see a blind query triggered even when user hasn't clicked on search button on that page
It seems to comeup when the session expires on one of the pages opened and user clicks the OK. button
I am not sure is the framework triggereing some blind query when the page expires or else. There are many listeners on the page, but I am not sure why session timeeout can cause it.THe query is the same as that in the corresponding VO where we have maked few fields as selectively required. The long running query causes stuck thread on Weblogic server causing it to crash eventually after sometime.
Kindly anybody please advise if there has been an Oracle bug reported or any solution. We are seeing this on couple of pages where view criteria has few fields marked as selectively required.
Thanks
#Edit: The pages either jspx or page fragments jsff
You might be running into an effect as described here http://andrejusb.blogspot.ca/2012/08/adf-bc-passivationactivation-and-sql.html?m=1
You can try the technique I showed here https://tompeez.wordpress.com/2012/03/18/jdeveloper-preventing-return-of-large-row-sets-on-page-load-of-vo-using-bind-variable/ to prevent executing of queues on first load.

can the asp page be auto refreshed trigger by database change using sqlCacheDependency

I've spent 2 whole weeks in googling some working sample on this. I was almost kind of knocking my head against concrete wall....deeply suffering until now.
Ok, I have a simple web page to display two columns, say, Msg & MsgID, from a table named MsgLog in MS SQL Server. I have stored procedure that will insert new Msg entries into the table. (in future, possibly could update existing entries)
My desire is, whenever there is a new msg entry inserted, or an existing msg entry got updated, the web page must automatically reflect this change without user clicking any page button, or without any coded timer function, otherwise the web page just leave as it is. The page refresh can only be triggered by database table change.
I read lots of internet posts regarding using SqlCacheDependency to achieve this, but none provides complete steps and codes. I tried to tweak their sample codes in my project, but none of work successfully, as I predicted. Or is it impossible to implement this?
My development environment is: Visual Studio 2010 professional, using ASP.NET FRAMEWORK 4.0, MVC 3 application using C# with embedded sql statements with SqlCommand object, database is MS SQL Server 2008 enterprise editon, IIS express.
Can someone genius to show me complete workable detailed steps from sql server setting, to coding. Functionality is just as simple as display rows with 2 columns from one table in a web page, and reflect changes realtime if and only if the table got updated or inserted. Not using polling or timer techniques; Not using LINQ to SQL, but using SqlCommand.
thanks millions of thousannds.
This in itself doesn't have to do directly with SqlCacheDependency.
You are wanting to do something that until only recently was really done with timers/polling unless you were one of the big players (ie google chat) Once your server notification event is raised then use SignalR to notify the clients of the change, so it requires an 'open' connection. Otherwise polling/refreshing is your only option. I haven't used SignalR, but I do know its really your only option now to do what you want. There have been some other projects in this field, but this is your best bet by far.
https://github.com/SignalR/SignalR

Resources