Create my own deletion links in a report
I use the instance online on apex.oracle.com.I am trying to create links 'Remove' in a report. Here are the steps that I've taken to establish this:
1 modify the query to add a static column 'DELETE '.
2. create a hidden page P4_REM_ROWID element
3. in the attributes column, make a link to the column, the column REMOVE target: Page in this Application, Page: 4 (same page), ask: DELETE Item1: P4_REM_ROWID, value1: #ROWID # and accepting the default values for the others.
4. create a process: On Load - before header, execute processes: once a page visit. Condition type: request = Expression 1, term 1: REMOVE
With the following PL/SQL:
BEGIN
DELETE FROM my_table WHERE rowid = :P4_REM_ROWID;
END;
When I click a delete link in the report, I will not get an error, but nothing will be deleted.I found that it doesn't, it is because the order of the day: P4_REM_ROWID will actually have the value NULL when the code is executed.
Anyone know where this is wrong?
Sorry that I missed a bit here... because before submitting the page, you must set the value of the rowid in your page, article, so it can be used in PL/SQL
Add this javascript function to your page header
function deleteRow(pRwId) {
//set the row id value into page item before submitting
$s('P4_REM_ROWID',pRwId);
//submit the page
doSubmit('REMOVE');
}
Select rather target: URL > in the URL field add javascript:deleteRow('#ROWID#');
Change this by creating a process: on submit - after calculations and Validations
This should work, mark it
Tags: Database
Similar Questions
-
Hello
How can I create a column of link area of report (not an area of interactive report).
Link column configuration section is not available for a report from the region.
APEX version: 4.0.1.00.03
Thank you.
Dave,
Do you not see a section labeled
"Link in the column".
When you drill down on a particular report column? I see this section of the Interactive reports and classic.
-Joe
-
Hi all
I'm looking for emergency one-handed helpig on this:
Bought an ipad at a reseller on ebay but the previous owner of the ipad has not removed its link to ID apple for ipad.
What should I do to remove this link and create my own link to apple to my account alle ID now?
Bright ideas?
Thanks in advance.
BR,
Bodo
Sorry, but the only option is to return the iPad.
-
I had an iphone to my sister and have successfully created an apple Id and password. I want to remove their icloud password to create my own. How?
Go to settings > iCloud and click 'Sign out' or 'Remove account' as appropriate. If you are asked for his ID and password that you need to ask what they are in order to move forward, or make him do the disconnection for you, or you can also ask him to remove iCloud in his list of devices - please see the http://support.apple.com/kb/ts4515 .
-
How to create my own reactive model
Hello
I need to create my own sensitive model, so we can accelerate the development of our e-learning modules. I know how to create a model. But it gives me the opportunity to make a static. I thought that I could open the default reactive model file, modify and then save it under a new name. But it is not found or I can't find it! .
Each active web sites I found that eLearning brothers allows you to download what they call a model, but this is a project, not a true template file (CPTL).
Can someone help me please?
Thank you! Rik
Are you sure that you need a model? A sensitive issue is not enough? Take a look at my last blog entry to see the difference. I was little confused by confusion about themes and templates, too, as you know with brothers in e-learning assets. Never, they offer a model, or a theme, but always a cptx file. Here is the link:
What's in a theme - a model? -Captivate Blog
There is no model of reagent by default as far as I KNOW, there are several default only reactive themes included with Captivate and also several pallets of theme colors.
-
Want to create my own widget customized for Muse (was: widget)
HI I am trying to create my own widget from scratch, do not feel the need to buy when I know, it can be created.
Here is a link to what I mean this guy sells widgets... Scroll effects for reagent. Muse Motion Widget | Adobe Muse CC 2015.1 | Muse for you - YouTube
Here is a link to the documentation MuCow (Muse Widget format).
David
-
Using a variable db link for interactive report
I have a requirement where users select an instance a LOV apex (link db) and data in an interactive report query based on the selected db link.
I use a db link in a report query interactive but only if I provide the exact name of the binding. If I'm doing something link select * from foo@:P12_DBLINK it does not work.
It seems that my only option is to use something like apex_collection.create_collection_from_query and then I can build my dynamic SQL query and use a variable for the name of dblink. Then I create just a from IRR of my collection.
This sound correct approach like that or am I missing something?
Any suggestions are most appreciated,
John
Hi John,.
Why not create a classic report based on a function of PL/SQL returns a query.
André
-
How can I create my own social media buttons and connect again?
I want to create my own buttons of social media (from facebook, twitter, google + and pinterest) and have always related.
When I use the widget to social media in muse, I can't change the layout. Is there a work around?
I tried using the code from the developers of facebook share on the page properties, but it has always created a tiny facebook button that I couldn't change.
Does anyone know a solution?
Thomas
Hi Thomas,
What you can do is, manually import the custom icons that image of Muse and link them to your pages.
-
Create your own for hashset add() method
Hello
I am creating my own method for a hashset because I am pulling in data from another class.
I did some tests with a junit and realize that my new method addPosition() does not work. Does anyone know where the problem lies?
or if I write my wrongly junit test cases?
Much appreciated!
Note: position depends on an instrument, the price, the coast and the quantity called from another class... as can be seen in the junit.
The code above is false as follows junit spent.import java.util.HashSet; import java.util.Set; import java.util.Iterator; public class Portfolio { Set<Position> post = new HashSet<Position>(); protected Position _position; public Portfolio( Position position ){ _position=position; } public void addPosition(Position position){ post.add(_position); } }
Published by: 876247 on October 4, 2011 06:30public class test_Portfolio extends TestCase { public void test1() throws Exception{ Portfolio portfolio = new Portfolio(null); Set<Position> post = new HashSet<Position>(); assertTrue(post.isEmpty()); assertTrue(post.size()==0); portfolio.addPosition(new Position(new Instrument (31),new Price(new Date(), new Dollars(80)), new Side(true) , new Quantity ((long)100))); portfolio.addPosition(new Position(new Instrument (21),new Price(new Date(), new Dollars(80)), new Side(true) , new Quantity ((long)100))); //The following assertTrue test passed, indicating that the new entry was not added. It should be a size()==2 assertTrue(post.size()==0); //The following assertTrue tests passed, which should be what the above test should show if everything is added correctly post.add(new Position(new Instrument (31),new Price(new Date(), new Dollars(80)), new Side(true) , new Quantity ((long)100))); assertTrue(post.size()==1); post.add(new Position(new Instrument (21),new Price(new Date(), new Dollars(80)), new Side(true) , new Quantity ((long)100))); assertTrue(post.size()==2); } }
876247 wrote:
Does this mean that addPosition is not the link to the message?"Link to" means nothing in Java.
You have an instance of your class portfolio. This object has a member variable named 'post' which is a reference to a value of Positions.
Completely apart from that, your test method has a completely independent, independent local variable that just coincidentally happens to have the same name and type as this member variable to 'post' in the subject of your Position. If this confuses you, or if you were not aware that the two 'post' are completely foreign, then you'll want to study up on the differences between local variables and member variables. And as a proposal, you will probably need a refresher on members static vs static as well.
-
How to put links to the reports by e-mail?
We use ibots to schedule reports, then distribute them by e-mail.
Is there some way, we can send the links instead of reports.
The link that we see in the browser for a specific report should be sent by electronic mail instead of report.
Users should be able to click on the link and then provide the credentials to connect. Then only, they should be able to see the reports.
Can anyone suggest a way to do this.
Thank you
SwethaOK, how about a total different approach?
You said that you needed your reports to run at a time specific (you gave the example of 09:00) with the data at that time. Links must be to the 'already-run' reports, not having only not reports to run when you click the links. Yes?
If so, then think about this. Use your iBots to run at the scheduled time and file reports on a file server. How? Read this:
http://oraclebizint.WordPress.com/2007/12/17/Oracle-BI-EE-101332-calling-Java-scripts-and-Java-classes-from-ibots/
Now you can use your email application to send regular emails (when reports are run) to have users access to reports on the server at a given time. You can create a javascript script for each different place depending on who needs to see that report. In this way, the when users connect to the site, they see only the reports that they are supposed to see.
-
Download the file from the link in the report
I built a custom file upload/download capability that works very well. The UPLOADED_FILES table has 2 columns that are used to access the contents of the file - a sequence number of a related table entry and a varchar2 file type. I have a built procedure that downloads the contents of my table UPLOADED_FILES. Now, I would like to be able to display a link in my report which allows the user to download the appropriate file. I can't get the right format. I need to pass 2 variables to the procedure - a (p_file) is a column name in the report, while the other (v_type) is a static string value "SUMMARY."
My procedure is:
I triedcreate or replace PROCEDURE download_my_file (p_file in number, v_type in varchar2) AS v_mime VARCHAR2(48); v_length NUMBER; v_file_name VARCHAR2(2000); Lob_loc BLOB; BEGIN SELECT UPLOAD_MIME_TYPE, upload_CONTENT, UPLOAD_NAME, DBMS_LOB.GETLENGTH(upload_content) INTO v_mime,lob_loc,v_file_name,v_length FROM uploaded_files WHERE NOTIFICATION_SEQ_ID = p_file and upload_type = v_type; owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE ); htp.p('Content-length: ' || v_length); htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"'); owa_util.http_header_close; wpg_docload.download_file( Lob_loc ); end download_my_file;
and I triedjavascript:popupURL("DOWNLOAD_MY_FILE?p_file=#NOTIFICATION_SEQ_ID#&v_type='SUMMARY'");
in the URL of the link in the column to the report item. Neither work. Can someone help me fix this please?<a href="#OWNER#.DOWNLOAD_MY_FILE?p_file=#NOTIFICATION_SEQ_ID#, v_type='SUMMARY' ">Download Summary</a>
Hello
Sorry, it is just spotted 'in the URL field. You should put in the Expression of HTML and remove all the settings link. The & works ok in there.
Andy
-
How do you create you own toolbars custom
How to create your own client toolbars in the latest version of Firefox version 39. Allows you to do this and it was easy as hell to do. Now I can't find this feature anywhere. How do you do that now? Because your FAQ on it look like all FAQS in existence... absolutely useless and a complete waste of time because they never understand MY problem.
Has more easy ways to do this.
I don't know what is your use case and you need but a few ideas to consider.
Bookmarks Toolbar
No doubt, you can imagine what is available in the Customize menu.
Button-> customize menu {(trois bar icône) {[+])-> [see her hide toolbars]}}
You can do on this space by nesting folders instead of having unique bookmarks.
You my put other elements including icons and the search bar.Menu space
You will have items in the menu that opens. You can edit to add or remove items. Space to develop according to the needs and will become scrollable.
Try addons
These adddons will create additional toolbars. (I have not tried)- Roomy Bookmarks Toolbar 1.4.9.1 - signed
https://addons.Mozilla.org/firefox/addon/roomy-bookmarks-toolbar/ - Multirow Bookmarks Toolbar most 1.2.1 - signed
https://addons.Mozilla.org/en-us/Firefox/addon/Multirow-Bookmarks-toolbarplus/ - Other options are trying a Search
This one I have not tried recently. It has more than 1/2 million users and may be exaggerated, but will certainly you can add and customize toolbars, / especially if you want the old type on the bottom status bar
- Classic theme restaurateur (CUI) 1.3.5
https://addons.Mozilla.org/en-us/Firefox/addon/classicthemerestorer/
(I note that this is not a signed addon I hope that doesn't become a problem)
- Roomy Bookmarks Toolbar 1.4.9.1 - signed
-
AT & T changed their design of the homepage, and I liked the old one. A way to create my own homepage in Firefox using modules for content that I prefer? I liked the modules which gave me a variety of sources of news, finance, sports, weather, calendar, etc... It also allowed me to use a background of my own source. Finally, he allowed me to resize the modules I needed. I would like to be able to replace the new AT & T with my own homepage. Thank you.
Maybe http://www.netvibes.com/
-
Want to learn how to make/create my own website in Dutch?
Was watching and find your offer to make/create my own Web site. But not so far away to throw in my own language = Dutch.
Can you help me realize my site in Dutch?
[email protected] and [email protected] to answer on that.Assistance in Dutch with the construction of a Web site, you can ask a question on the Mozilla forums Dutch Support users, just go to www.mozbrowser.nl. You can also download a Dutch version of Kompozer (Web site editor open source) of www.kompozer.nl
-
Using the USB Flash Drive install method / ISO to install Windows on the new Boot Camp partition.
In OS X, prepared the USB like
, flash drive. In OS X, when you download the ISO from the Microsoft Web site, it is automatically saved to the downloads folder. Do you copy and paste the content of downloads folder on the USB flash drive? There is an error message indicating that it cannot copy all of the files; is this correct?
From the Apple website: create an ISO image for Windows - Apple Support installation media Boot Camp
Create your own ISO
Follow these steps to make a copy of your Windows DVD ISO or USB flash drive:
4. Choose file > new Image, then select your Windows DVD or flash drive in the submenu. [(Il y a trois choix dans la nouvelle Image: 1) (blank image, 2) Image Image in the folder, 3) of "Untitled".] Which do you choose?]
AppleTime wrote:
Using the USB Flash Drive install method / ISO to install Windows on the new Boot Camp partition.
In OS X, prepared the USB like
, flash drive. In OS X, when you download the ISO from the Microsoft Web site, it is automatically saved to the downloads folder. Do you copy and paste the content of downloads folder on the USB flash drive? There is an error message indicating that it cannot copy all of the files; is this correct?
2015 macs (based of your signature) do need an external Setup program. Please visit https://help.apple.com/bootcamp/assistant/6.0/#/bcmp173b3bf2 . If you manually build an installer, you will encounter installation problems. Are you unable to install Windows without a flash drive? You should put the entire folder downloads manually in the Flash Player, it may have more/more large files that can accommodate a FAT32 USB key.
From the Apple website: create an ISO image for Windows - Apple Support installation media Boot Camp
Create your own ISO
Follow these steps to make a copy of your Windows DVD ISO or USB flash drive:
4. Choose file > new Image, then select your Windows DVD or flash drive in the submenu. [(Il y a trois choix dans la nouvelle Image: 1) (blank image, 2) Image Image in the folder, 3) of "Untitled".] Which do you choose?]
It is not required for your Mac. You have already an ISO from Microsoft. The goal is for Macs where the user has a physical DVD, but the model of Mac does not have an integrated optical drive.
BCA must ask the location of the ISO (Documents is preferable downloads) and start download the support software and start the partitioning.
Maybe you are looking for
-
There is a space above the pane below the folders which is gray and includes to, and subject to the information as well as several icons and message. All this is already displayed elsewhere above this new view. Is it possible to eliminate this view a
-
I have reset my mozilla firefox. as I was in trouble, watch videos before you reset it, I downloaded mozilla but it had the same problem, so I reset it. the problem is after this new windos open in my default browser as shaadi.com etc... They annoy m
-
How can I add points mark before and after every comma in TextEdit?
Hello world I have a fairly big translation file CSV that I need to change and I'm wondering how to do this without having to do it manually. I want to add points mark before and after every comma of the document. Currently, my text looks like this:
-
uppgrade memory 1067 MHz DDR3 2 GB more too
According to DIN Mac innehaller 2 minneskortplatser som var och in kan Fyllas med in minnesmodul av typen 1067 MHz DDR3.1067 MHz DDR3. VAD gora om jag vill ha till minne I min Mack. Vilka minnen ska jag Kopa?
-
WinXP split the screen problem
Brand: Compaq PresarioModel: V6444USOS: XP sp3 Problem: When the computer is turned on this morning the entire screen (from the beginning of initialization) was split into tiled copies of iteslf. Even when I go into the BIOS screen, it is too divided