How to cache portlets from pl/sql pdk
Is it possible to cache portlets from the pl/sql PDK? I've seen a number of threads asking how to prevent the caching, which suggests that it is (and on some installations is standard installations). However, these may not be the same situation that I have.
I have a number of portlets in a pl/sql provider. Although these portlets display dynamic content, the portlet instance on a particular page will always display thee same information - i.e. the information displayed is page-specific.
Therefore I would like to cache each portlet instance. How can I do this?
When I run the page with the _debug=0 parameter, the information shows that the pl/sql portlets cannot be cached.
Nowadays UTL_FILE_DIR is replaced by Oracle Directory Objects.
Why?
Because:
This parameter can be "*" for all the directories on that disk is a big security hole.
"In the past, accessible directories for the UTL_FILE functions were specified in the initialization file using the UTL_FILE_DIR parameter. However, UTL_FILE_DIR access is no longer recommended. Oracle recommends that you instead use the directory object feature, which replaces UTL_FILE_DIR."
http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/u_file.htm#i996762
And your 'example' will not generate XML in any way,
Similar Messages
-
How to replicate data from MS SQL Server to Oracle
Hi,
Can someone please help me on how to replicate data from MS SQL Server to Oracle 8i database.Dear,
I'm a student.
I do simple replication on Oracle 8.0.5 successfully. (one master site and one snapshot site). I only use the SQL*Plus and Schema Manager to do.
But when I do advance replication (multimaster replication) I meet many problem. So I don't get the result.
Do you show me the technology to do that ?
Thanks ! -
*Urgent*How to insert data from MS SQL to the table that create at the adobe form?
Hi,
I'm using Adobe life cycle designer 8 to do my interactive form. I would like to ask how to insert data from MS SQL to the table that i have created in my adobe interactive form?
I really need the information ASAP as i need to hand in my project by next week... i really appreciate any one who reply this post.
ThanksTou need to do a couple of things
1. On the Essbase server, set up an odbc system connection to your MySQL database
2. In the load rule , go to the file menu and select open SQL data source and in the data source put in your SQL statement . A couple of hints. Where it says Select, don't put in the word select and where it say from don't put in from. The system adds them for you. The easiest way ti enter a SQL statement is to do it all in the select area So if your SQL would normanlly say select * from mytable just enter the code as * from mytable in the select area
The click ol/retrieve and enter in your connection info. Itshould bring data back into the load rule. Save the load rule and use it -
How to Start report from pl sql procedure
I need to create a procedure which runs report and email report output to specified email adress.
I don't know how to start report from pl/sql. Any help will be appreciated.I want to start oracle report from plsql procedure. Is there any OS system command I can use or any other method? My database is installed on windows 2000 machine.
-
How to Create PR from exeternal SQL Server through IDOC
Dear all,
I am in trouble while creating PR from exeternal SQL Server through IDOC . although I have created PR from TCODE we19 giving input as well as from function writen below
My scnerio is from external system(Sql) want to send data to sap to create PR return PR No to SQl Server
Not having idea how to do
Basic Type for Idoc : PREQCR01
Message Type : PREQCR
Function Module : BAP_Idoc_Input1
Thanxs in Advanceif you have XI installed,
than it would be easy,
just use JDBC channel->XI->SAP IDOC.
otherwise,
you can export the table from the SQL to CSV file,
and import it with LSMW with IDOC PREQCR01. -
How to stop portlets from disappearing when invoked?
Hi,
I have a portal Application that contains 2 portlets from WSRP procuder.
These portlets have IPC through a parameter.
The first portlet is an LOV of client list, and the second portlet is a financial situation which takes the client as parameter.
In my Portal Application, when I choose a client and click the button both portlets disappear and then reapper when the second portlet is refreshed with new data.
How can i stop the first portlet from disappearing and reappearing when invoked.
Thank you in advance
EmileHello:
Try rebuilding the library.
http://support.apple.com/kb/HT2638
Barry -
How to send emails from HANA SQL Console
Hi,
Please guide how to send mail from HANA Studio SQL Console.
Is there any standard procedure in Hana Studio to send Mail( e.g. in MS SQL "sp_send_dbmail" Procedure)Hi Preethi,
Please go through the attached link:
How to send emails from HANA
Regards,
Krishna -
How to migrate logins from 2008 SQL server to 2012 SQl server
Hi,
How to migrate all logins from default SQL server2008(enterprise edition) to 2012 SQl server(enterprise edition)defaultHi BomaSri,
Have you tried v.vt’s suggestion? That article describes how to transfer the logins and the passwords between instances of Microsoft SQL Server 2005, of Microsoft SQL Server 2008, and of Microsoft SQL Server 2012 on different servers. The commands apply
to SQL Server 2005, SQL Server 2008 and to SQL Server 2012.
Allen Li
TechNet Community Support -
How to present results from a sql-query in java
Hi - I'm having problems finding out how to present data from a database-query in a nice looking way in a JFrame. Want to present them similar to the way they are presented in the database. Is there an easy way doing this?
Tried to use a JTable, but it's difficult when data in the table should be able to change all the time, i.e the number of rows. What is a Html-table? Can i use it in an application?
-
How to extract row_id from PL/SQL procedure and assign that to batch script
Hello Team,
I am stuck with a requirement, wherein I am running a batch script and within the batch script I am calling a procedure which inserts a record in a table (Including a column named l_id).
I need this generated l_id to be passed on as a variable to batch script after PL/SQL procedure completion. So that I can refer this same l_id to update the same record in the table again in the same batch script in the later part.
Looking for some suggestions!!!!
Thanks
-Vj.789153 wrote:
I am stuck with a requirement, wherein I am running a batch script and within the batch script I am calling a procedure which inserts a record in a table (Including a column named l_id). Operating system? Scripting language or command shell used?
I need this generated l_id to be passed on as a variable to batch script after PL/SQL procedure completion. So that I can refer this same l_id to update the same record in the table again in the same batch script in the later part.
Looking for some suggestions!!!!Don't do this using batch scripts. Batch scripts are very much inferior compared to stored PL/SQL code when it comes to managing databases processes and performing data crunching.
Why can't this be written entirely in PL/SQL? And execution managed from either DBMS_JOB or DBMS_SCHEDULER ? And before answering that, consider the following:
- what is the superior language, PL/SQL or shell script?
- what provides tighter integration with the database, PL/SQL or shell script?
- what provides proper security and access control, PL/SQL or shell script?
As you can call SQL*Plus from a shell script to run PL/SQL, you can call a shell script from PL/SQL instead to run external commands and processes.
Use the right tool for the job. And shell scripting is an excellent tool - but only when correctly used. Are you using it correctly? I strongly doubt that... -
How BW get data from MS SQL server DB?
I got infomation about this from help.com, http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm.
this web told me, when BW application server must be Win NT.BW can get data from MS SQL server DB.
but our BW application server was AIX.
Did you know other solution to this?Hi,
you need to use the DBConnect or in BI7.0 the UDConnect features.
regards
Siggi
See also: http://help.sap.com/saphelp_nw70/helpdata/EN/a1/89786c3df35c4ea930a994e884bb4c/frameset.htm
or
http://help.sap.com/saphelp_nw70/helpdata/EN/44/bcdce1dcaf56a3e10000000a1553f6/frameset.htm
Edited by: Siegfried Szameitat on Aug 13, 2008 9:16 AM -
How to display buttons from pl/sql?
I am creating a page from pl/sql. Is there a way to display a html db button from pl/sql? I have looked in htmldb_item and wwv_flow_item but there is no function for buttons. I can of cause make my own using the two gif that the I can se the buttons consists of, but it would be easyer if there were a function some where :-)
The PL/SQL packahe HTP allows you to output data (HTML etc) that is to be streamed to the browser. Very simply example. Create a dynamic PL/SQL region in HTMLDB and code the following as the contents:
begin
HTP.prn( 'Hello World );
end;So it is fairly simply to add HTML (or other Mime type) contents to a HTMLDB generated web page using custom written PL/SQL.
However, despite the fact that a button can easily be generated from a PL/SQL proc, a button influences the "processing" of a page. Buttons are used to submit forms, trigger JavaScript and so on.
Thus you need to think very carefully as to what that custom button is going to do and hook into HTMLDB's dynamic web page and flow processing.. And why you're not using (and bypassing) HTMLDB itself? -
SAP- BPC (MS Version 10.0) : How to get data from MS SQL !!!
Appreciate, if any one can assists regarding data uploading from MS SQL (2005/2008) to SAP BPC - (EPM - 10.0). Thanks.
Hi Deepak,
Thanks for your email. Actually we not using SAP NW, our BaaN ERP database exist on MS SQL (2005). That’s why we have purchased SAP-BPC 10.0 MS version.
Really appreciate if you can assist to resolve this issue.
Thanks,
Nasar Khan -
How we send email from pl/sql
i want 2 send mail from pl/sql??
plz tell me bout d coding related to this.
i really appreciated ur help.Try the pl/sql code below.
create or replace PROCEDURE send_test_message
IS
mailhost VARCHAR2(64) := '191.168.251.207'; -- ip address of the mail server.
sender VARCHAR2(64) := '[email protected]';
recipient VARCHAR2(64) := '[email protected]';
mail_conn utl_smtp.connection;
BEGIN
mail_conn := utl_smtp.open_connection(mailhost, 25);
utl_smtp.helo(mail_conn, mailhost);
utl_smtp.mail(mail_conn, sender);
utl_smtp.rcpt(mail_conn, recipient);
utl_smtp.open_data(mail_conn);
utl_smtp.write_data(mail_conn, 'Your leave is Cancelled due to xyz...reason ' || chr(13));
utl_smtp.write_data(mail_conn, 'This is line 2.' || chr(13));
utl_smtp.close_data(mail_conn);
utl_smtp.quit(mail_conn);
EXCEPTION
WHEN OTHERS THEN
-- Insert error-handling code here
NULL;
END; -
How to run portlet from report
Whenever a report is run by a user, I would like to have a different portlet eg: PORTLET_LOG_TIME also executed (say from the PL/SQL section).
How to do this?
Thanks,
--AliIt basically depends on what action you plan to do from the called procedure.
If the purpose is simply to call it then
you just need to add the call to the PORTLET_LOG_TIME in your Additional PL/SQL section.
e.g.
begin
PORTLET_LOG_TIME ;
end;
Thanx,
Chetan.
Maybe you are looking for
-
I'm having trouble adding "spoken word" CDs that are in a set to my library. When some of the discs have "gracenotes" info the album gets broken up as if each cd was a separate album. I haven't been able to figure out how to have all the cds in the s
-
Custom Tags starting with $: lots of problems
I'm building an extension for MovableType template tags. Those tags can be delimited in several ways: <MTNameOfTheTag> or <$MTNameOfTheTag> or even <$MTNameOfTheTag$>. Since the dollar sign is not allowed as tag name, i put a prefix="<$" in tag defin
-
XG270HU freesync monitor flicker and graphical artifacts at 100,120, and 144Hz
Hello, just picked up this monitor from Newegg and a bit bummed. looks like I might have a defective monitor, anytime I switch to the higher refresh rates (100,120, 144Hz) I get audiable pops and a horizonal line checkboard artifacts on the screen at
-
Hi, I want to create an editable PDF with Acrobat 10 PRO but it's possible follow these things: 1) I don't want distribute pdf by email or other... 2) I need the user that open my pdf can input data into a form ad save all!! It's very important for m
-
Change the data in fieldcat and update the database table in alv oops
Hi, my requirement is i have displayed a fieldcat in change mode and when i change the data and click on save it has to be updated the database table.. this has to be done using alv oops...