Adding values over the link to the column in the Apex
HelloIs it possible to add extra or more values in the column link in the Apex. I have already 3 name of the column and the values associated with another report.
.........
For example: -.
The column link:
Text link: #COUNT #.
Value name
DATE #DATE #.
PRICE #PRICE #.
COST #COST #.
.....
I would like to add a name like 'ID' and correspondent and value #ID #.
Help, please...
Thanks in advance...
Published by: user13561710 on January 10, 2011 09:20
Published by: user13561710 on January 10, 2011 12:34
Change the target in "URL".
and set the URL as
f? p = & APP_ID.:
Replace
CITY
Tags: Database
Similar Questions
-
Adding values in the primary column of ATG DB
Hello
Here is a fictitious scenario for my question:
Some of the tables oracle DB that are used in the profile repository:
Table T1 (NAME varchar2, varchar2 ADD) - old table
The table T2 (SNO varchar2 not null, NAME varchar2, varchar2 ADD) primary_key (SNO) - new table
I want to insert data from T1 to T2. This can be accomplished by using a SQL query in the comic book, but how can I insert values in the primary key column? I am aware that ATG may not treat the unique keys generated manually in SQL, it must generate its own primary keys using generators of ID.
How should I set the above scenario?It is not true that ATG must reach all primary keys through his IDGenerator. The requirement is that no primary key, you also must be guaranteed to not collide with something that the IDGenerator could generate. If you look at sample CRS catalogue data, for example, you will see ID like masterCatalog and homeStoreCatalog. Those who never come out of the IDGenerator, which is what makes them safe.
The best way to keep your keys IDGenerator separated keys is to ensure that your keys have a different prefix or a suffix to the prefix or suffix configured for the point in idspaces.xml descriptor. For example, ATG has no prefix or a suffix for user profiles, so your key would be safe when they all began with one or two letters. For example, CRS sample nicks all start witih "be -". For references in the product catalog, configuration shipped to ATG defines "sku" to a prefix of ID. Examples of CRS data uses "xsku".
If you already have digital keys, you want to insert in the profile repository, the situation is more difficult, especially if you already have some profiles whose IDS are generated by the IDGenerator. If there is no collision yet, you may need to increase the value of 'seed' in the table of IDGenerator (das_id_generator), assigning a value that is greater than your higher key. You would probably do so that no ATG server running while they all pick up the new seeds when they started again. This process is risky and probably not worth a try if you're talking about a system that is already in production, especially if you are not an expert on the IDGenerator.
-
Adding values to the database.
Hi guys,.
I have a simple form consisting of first name and family name.
I want to add the text box values in the database.
I have to write a custom form handler. Can any body tell me how can I do. ??
I created my mapping Xml file.
I am facing difficulties to get the form Manager custom... I don't know how how dynamically call my point descriptor name to correspond with the repository.
There is no coe good for adding value OTS database and I do not know the syntax. Help, please.In the code above we have:
The student class
StudentFormHandler
StudentManager
StudentTools
Formhandler ranks Manager user and class manager will use class to add in the database tools. -
Keep adding values to the PDF-field
Hello
I have a PDF field called additional information which I have to add a set of data one line after another.
For example:
1 Visted Mexico in 2009 for 2 weeks.
2 Visted Paraguay in 2011 for 5 days.
3 and so on.
Since these data must be assembled from different files, I am looping through the information and try to continue to add to this area.
However I'm unable to add to the values in the field. Only the last line is affected.
How can I activate the field to add more values line after line because they are assigned?
Any help is appreciated!
Thank you.
To add, you take the current value and paste the new value at the end, then store it back. Add new lines if necessary.
-
How to clear the values of the APEX
Hi team,
In our application, I had implemented these changes listed below.
1. we have two tabs, one for delete records & other one to restore the records that have been deleted.
2. tab delete, I'll be if you select date & click the button remove.
3. click on Remove button a pop-up window will be opened where we needed fields and click on submit button.
4. for the first time, when popup window open required fields will be empty and once provided and click on submit these values will be removed from the rear end and store in the table.
5 now, I went to tab to restore, where I had provide date and click Restore, so the records which had been deleted got restored back.
6. After restoring back, I returned to Delete tab and once again chosen the date and click on the button Delete, click clear said previous window will be open, but this time in the pop-up screen, we can see values already exist which have been entered previously.
-If the problem is how we can clear the values in the popup screen when comes to remove the tab and process. Any help much appreciated.
Kind regards
Sruthitamiri
Sruthi Tamiri wrote:
Thank you for the quick turn around, little confuse how to delete in URL, here's what we used. Could you please help me were to make changes.
The element is P3_Requested, P3_Who, P3_Why
- URL = ' f? p = & APP_ID.: 3: & APP_SESSION. : 3::P3_TRADE_DATE, P3_DAILY, P3_MONTHLY: "+ $x("P1_START_DATE").value + ',' + $x("P1_DAILY_0").value + ',' + $x("P1_MONTHLY_0").value;
- w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
You have '3' in the position of debug in the URL, not the ClearCache position:
f?p=App:Page:Session:Request:Debug:ClearCache:itemNames:itemValues:PrinterFriendly
It's basic stuff that should be easily resolved by referring to the documentation...
-
How to pass the value of the apex element to html source?
Hello world
I have a HTML box on a page of the Apex with the following value hardcoded:
I have a question about the page (P90_LINK_DB_ID) that will contain the value I want to use with the above code, so it is hard coded, I tried:<img src="#OWNER#.FILE_TO_BLOB?p_file_id=22"/>
without success, can someone point me in the right direction please.<img src="#OWNER#.FILE_TO_BLOB?p_file_id=P90_LINK_DB_ID"/> <img src="#OWNER#.FILE_TO_BLOB?p_file_id=:P90_LINK_DB_ID"/> <img src="#OWNER#.FILE_TO_BLOB?p_file_id=&P90_LINK_DB_ID"/> <img src="#OWNER#.FILE_TO_BLOB?p_file_id='P90_LINK_DB_ID'"/> <img src="#OWNER#.FILE_TO_BLOB?p_file_id=':P90_LINK_DB_ID'"/> ....
Thank you
DanielHello
Try
Point of note after the name of the element. You didn't try this variation
BR, Jari
-
Where can I get a list of valid parameters for GET_NUMERIC_SESSION_STATE and GET_SESSION_STATE values that provide the apex engine State (that is, things like FLOW_SECURITY_GROUP_ID) rather than the State of enforcement?
Here are all of the names supported v recognizes and expression that describes the return value:
FLOW_SESSION, APP_SESSION, SESSION, INSTANCE => wwv_flow.g_instance FLOW_ID, APP_ID => wwv_flow.g_flow_id FLOW_ALIAS, APP_ALIAS => wwv_flow.g_flow_alias FLOW_USER, APP_USER => htf.escape_sc(wwv_flow.g_user) FLOW_USER_ID, APP_USER_ID => wwv_flow.g_user_id FLOW_STEP_ID, APP_STEP_ID, FLOW_PAGE_ID, APP_PAGE_ID => wwv_flow.g_flow_step_id FLOW_IMAGES, APP_IMAGES => wwv_flow_file_mgr.get_file?p_security_group_id=' || wwv_flow_security.g_security_group_id || '&p_flow_id=' || wwv_flow.g_flow_id || '&p_fname=' FLOW_SECURITY_GROUP_ID, APP_SECURITY_GROUP_ID, COMPANY_ID, WORKSPACE_ID => wwv_flow_security.g_security_group_id FLOW_CURRENT_MIN_ROW => wwv_flow.g_flow_current_min_row FLOW_CURRENT_MAX_ROWS => wwv_flow.g_flow_current_max_rows FLOW_CURRENT_ROWS_FETCHED => wwv_flow.g_flow_current_rows_fetched FLOW_JOB => wwv_flow_plsql_job.g_job FLOW_LAST_TAB_PRESSED => wwv_flow.g_last_tab_pressed FLOW_HEADING_BGCOLOR => wwv_flow.g_heading_bgcolor FLOW_TABLE_BGCOLOR => wwv_flow.g_table_bgcolor FLOW_UNIQUE_PAGE_ID => wwv_flow.g_unique_page_id APP_TRANSLATION_ID => nvl(wwv_flow.g_translated_flow_id,wwv_flow.g_flow_id) APP_TRANSLATION_PAGE_ID => nvl(wwv_flow.g_translated_page_id,wwv_flow.g_flow_step_id) APP_REGION_ID => to_char(wwv_flow_disp_page_plugs.g_region_id) APP_REGION_STATIC_ID => wwv_flow_disp_page_plugs.g_region_static_id DEBUG => YES or NO based on boolean wwv_flow.g_debug DISPLAY_USER => replace(nvl(htf.escape_sc(wwv_flow.g_user),user),'WEB$',null) REQUEST => wwv_flow.g_request REQUEST_STRING => replace(wwv_flow.g_request,'''','''''') USER => htf.escape_sc(wwv_flow.g_user) USER_KNOWN_AS => nvl(htf.escape_sc(wwv_flow.g_user_known_as),htf.escape_sc(wwv_flow.g_user)) PRINTER_FRIENDLY => YES or NO based on boolean wwv_flow.g_printer_friendly IMAGE_PREFIX => wwv_flow.g_image_prefix COMPANY_IMAGES, WORKSPACE_IMAGES => wwv_flow_file_mgr.get_file?p_security_group_id=' || wwv_flow_security.g_security_group_id || '&p_fname=' SYSDATE_YYYYMMDD => to_char(wwv_flow.g_sysdate,'YYYYMMDD') BROWSER_LANGUAGE => nvl(htf.escape_sc(wwv_flow.g_browser_language),'en-us') LOGOUT_URL => replace(replace(replace(replace(replace(replace(replace(replace(replace(replace( wwv_flow.replace_cgi_env(p_in => wwv_flow.g_logout_url), '&SESSION.','&SESSION'),'&SESSION',wwv_flow.g_instance), '&FLOW_ID.','&FLOW_ID'),'&FLOW_ID',nvl(wwv_flow_security.g_flow_id,wwv_flow.g_flow_id)), '&APP_ID.','&APP_ID'),'&APP_ID',nvl(wwv_flow_security.g_flow_id,wwv_flow.g_flow_id)), '&FLOW_PAGE_ID.','&FLOW_PAGE_ID'),'&FLOW_PAGE_ID',wwv_flow.g_flow_step_id), '&APP_PAGE_ID.','&APP_PAGE_ID'),'&APP_PAGE_ID',wwv_flow.g_flow_step_id) LOGIN_URL => wwv_flow.replace_cgi_env(p_in => wwv_flow.g_login_url) PUBLIC_URL_PREFIX => wwv_flow.g_public_url_prefix AUTHENTICATED_URL_PREFIX => wwv_flow.g_dbauth_url_prefix PUBLIC_USER => wwv_flow.g_public_user AUTHENTICATION => wwv_flow.g_authentication POPUP_FILTER => wwv_flow.g_popup_filter CURRENT_PARENT_TAB_TEXT => wwv_flow.g_current_parent_tab_text OWNER => wwv_flow.g_flow_owner HOME_LINK => replace(replace(replace(wwv_flow.g_home_link,'&SESSION.',wwv_flow.g_instance),'&SESSION',wwv_flow.g_instance),'&APP_ALIAS.',wwv_flow.g_flow_alias) MAP1_X => wwv_flow.g_map1(1) MAP1_Y => wwv_flow.g_map1(2) MAP2_X => wwv_flow.g_map2(1) MAP2_Y => wwv_flow.g_map2(2) MAP3_X => wwv_flow.g_map3(1) MAP3_Y => wwv_flow.g_map3(2)
If none of them are undocumented they are either obsolete or not necessarily useful.
Scott
-
Package of added value on the Satellite X 200-212 (PSPBUE) - win7
Hello!
I did a clean install of windows 7 in my Satellite X 200-212 (PSPBUE), but I don't know how to get the value added package for Windows 7...
PS: tried the driver windows vista on it
Thank you
null
If the VAP for Win7 is not available for your laptop model how you get it?
What you can try is to install VAP for other model of mobile in the hope, it works well.Try with VAP for P200 version 1.2.28.
-
SET THE VALUE TO VALIDATE THE VALUE IN THE APEX
GOOD DAY MASTER
PLEASE HELP ME ON THIS
I HAVE A POPUP LOV (NOM_ELEMENT) COME TO THE DATABASE VIEW
UNDER THIS POPUP LOV, I CREATED AN ACTION DYNAMICS (SETPOINT)
WHERE WHEN THE USER CLICKS THE POPUP LOV (ITEM_NAME) AND TAKE AN ARTICLE
IT WILL SET THE VALUE OF QTY_LEFT1 TO THE NAME OF THE CORRESPONDING ELEMENT.
AND AFTER THAT, I TRY TO QTY_PCS1 ENTRY ACTION DYNAMICS (ALERT IN QTY_PCS1)
IT DOESN'T WORK ANYMORE... HIS ONLY WORKS ONLY WHEN THE QTY_LEFT1 HAVE A DEFAULT VALUE.
IF THERE IS A WAY?
HERE IS THE LINK OF MY SAMPLE APPLICATION WHICH IS MY REAL APPLICATION
http://Apex.Oracle.com/pls/Apex/f?p=67079:1:1702076887505601:
HELP PLEASE...Hi Mike
Use this dynamic Action
Event-> loose Focus
Type of selection-> elements
Article-> P1_QTY_PCSAction-> to run the JavaScript Code
Enter the Code below:
var a = document.getElementById("P1_QTY_LEFT").value;
var b = document.getElementById("P1_QTY_PCS").value;If (b > a)
{
Alert ("upper Qty");
} -
Setup error during installation of the package of added value
I just installed PVAT v 1.2.40. However during the installation I get an error - Setup PVAT Error (Ox8145030B). I have also tried to re - upload the files, and then repeat the installation with the same result. All ideas
Richard
Hi Rpayne32,
What laptop you have exactly?
Where did you downloaded package of added value?
The operating system that is pre-installed in Toshiba or your own installation of Windows that you are using?
Try you added value package update or new installation?In my opinion, you should check your antivirus or firewall. I think that something is blocking the installation.
-
Issue by passing the value of the link in the column
Hello.
Starting with a simple question, I hope. !!
I finished the examples supplied by oracle 2 day tutorial, but I can't make it work values between pages.
Here's what I did.
I created a page of report interactive (2). In the region of origin, I have the following SQL statement
Select PUPIL_NAME, class
of T_PUPILS
where CLASS = 'P '.
order of PUPIL_NAME
In the State of the page attribute section, I created a link in the column on the PUPIL_NAME column.
In the section "links" column, I put the following
Target = this Application Page
Page = 7 (this is the page I want to)
Clear Cache = 7, CIR
Name = IR_PUPIL_NAME
Value = #PUPIL_NAME #.
I created page 7 in a report. In the source page 7 region, I have the following SQL code
Select PUPIL_NAME,
JOIN_DATE,
HOME_ROOM,
HOME_FLOOR,
HOME_TEACHER
RESULT
of T_PUPIL_INFO
where PUPIL_NAME =: IR_PUPIL_NAME;
When I run the application and go to page 2, I get a list of students and their class. When I select one of the names of the student, the application moves on page 7, but instead to list information for that student, he simply says no data found.
In the URL of page 7, I can see that the: IR_PUPIL_NAME has the value of the student, I chose, but it doesn't seem to use it in the SQL statement.
Any help would be appreciated.Hello
You can try this.
Go to page 7, then on the right, click the report area and select Create page element. Type the name P7_PUPIL_NAME and deposited item text.
Change your report query page 7 as
Select PUPIL_NAME,
JOIN_DATE,
HOME_ROOM,
HOME_FLOOR,
HOME_TEACHER
RESULT
of T_PUPIL_INFO
where PUPIL_NAME = NVL (: P7_PUPIL_NAME, PUPIL_NAME);On Page 2 changing the link set the P7_PUPIL_NAME element with the value #PUPIL_NAME #.
Clear Cache 7.Run the 2 page now and click the link
Thank you
Mehabub -
Create null values in the database for interactive report link column values
Hello
I'm pretty new to APEX and tries to create an interactive report with the form. This report examines essentially for more information for a particular employee. If the employee has any information in the table, the report presents information with a button change beside him. If there is no record in the table for this employee, a create button appears. Now when you click create, a new creation page. This page contains the employee number as a single display field with the value from the previous page. This value is displayed in the page, but it is not in the database. Create the page has view-only number and a couple of other columns. The other columns get inserted into the table with an empty number!
Can someone please? Looks like the page keeps the value zero for the number of the employee who came during the search of the interactive report. Hope I made myself clear, being the newbie hope I haven't used any incorrect terminology.
Thank you!
RobetWithout the DB column, apex will not determine which DB column the data in this field are mapped to (it would be quite impossible to guess the destination since the name of the element column).
If you want to assign to the previous element of the page, use the default section
return: P1_EMP_NUM
By default the value Type: body of the PLSQL function
and configure the attributes of source as I said before
-
How can I replace the value of the column with a particular value in SQL
Hi all
Is someone can you please tell me how can I format my output with the replacement of a column value with a specific value that really depends on the current value of the column
I am executing the following SQL statement
Select state, count (id) from < table_name > where composite_dn = < composite_dn_name > Group by State;
My current performance is:
State Instance number
1 3
3 28
I want to replace the value in the State column as follows
No.OfInstances State
3 filled
28 faulted
I want '1' to be reppaced of 'Done' and '3' is replaced by 'Faulted. '
Is is possible with SQL or PL/SQL, if it is then how I can achieve this required. Help, please!
Thanks in advance!
Published by: Roshni Shankar on October 27, 2012 12:38 AMHi Claude,.
I guess this CASE clause can be simulated by a DECODE and also it is very easy to use.
See - http://www.techonthenet.com/oracle/functions/decode.phpselect decode(t1.state,t2.state_id,t2.state_name), t1.count_id from
t2, (select state,count(id) count_id from where composite_dn= group by state) t1 where t1.state = t2.state_id; HTH
Vanessa B.Published by: Vanessa B on October 27, 2012 14:02
-link addedPublished by: Vanessa B on October 27, 2012 14:19
-added code sample -
Separate the values in the columns in lines
Hello
Here is my requirement
How can I achieve the above format.create table test_test2 (deptno number ,enos varchar2(30)) insert into test_test2 values (10,'101,102,103') insert into test_test2 values (20,'104,105,107') insert into test_test2 values (30,'106') Desired output deptno enos 10 101 10 102 10 103 20 104 20 105 20 107 30 106
Thank youHello
Smile says:
... I tried your query, but get invalid data type error. I can't solve it. My version of oracle's 10gMy apologies. Apparently, odcinumberlist does not work as I thought, he did it in Oracle 10. I tried the query I posted earlier in Oracle 11.1, but in 10.1.0.2.0 I «...» ORA-00904. invalid identifier"error, as you do.
Even I tried the other ways in the link you provided I get the output as
10 1 10 0 10 1 10 , ---
OP in the thread else wanted each character on a separate line.
You want each substring , separated by commas, on a separate line, so the technique of iterating over the chain and get a number N will be the same as in other this thread, but, once you have found a number N, how to generate the N - th line will be different.The changes I need to make...
I just tested this in Oracle 10.1:
WITH got_part_cnt AS ( SELECT deptno , enos , 1 + LENGTH (enos) - LENGTH (REPLACE (enos, ',')) AS part_cnt FROM test_test2 ) , cntr AS ( SELECT LEVEL AS n FROM ( SELECT MAX (part_cnt) AS max_part_cnt FROM got_part_cnt ) CONNECT BY LEVEL <= max_part_cnt ) SELECT p.deptno , REGEXP_SUBSTR ( p.enos , '[^,]+' , 1 , c.n ) AS eno FROM got_part_cnt p JOIN cntr c ON c.n <= p.part_cnt ORDER BY p.deptno , c.n ;
This assumes that your column enos is not missing elements, such as 901, 904', ot, if so, you want to treat commas repeated like a comma. If you have data like this, and you want to be the 4th point, 904 not the 2nd, then the apprioach even basic will work, but the details are a little more complicated.
-
By the way the value of the report column in Javascript
Dear magicians Apex,
I am a bit stuck now to implement a modal pop-up/iframe/javascript and this forum is my last hope to solve this problem.
Anyway, I will try to explain what I'm trying to accomplish.
What I need, is: I want to have a SQL report, as first column I want to have an 'ID' of my table numbers and I want this column to have a "link in the column" located in the appropriate links "column attributes. The thing is that when I click on the link of the column (when I run my report on the Apex page) I need a JQuery modal window where the pop-up in IFrame will be another page and this page uses an 'ID' of my link URL column to display the data. So, basically, I want to pass a value of 'ID' of my page parent to my page of the child which appears in an iFrame modal window.
And here's what I have:
1. I have a SQL report:
2 then, in 'The column attributes' to 'SUBNET_ID' a have put a "link in the column" URL like:select SUBNET_ID, long2ip(NETWORK_ADDRESS), long2ip(SUBNET_MASK), long2ip(END_HOST), long2ip(START_HOST), MAX_HOSTS, long2ip(BROADCAST_IP), NETWORK_CLASS, NETWORK_SIZE, HOST_SIZE from YC_CM_IP_SUBNETS
3. now, when I run my page and point my mouse over any item in my column "SUBNET_ID", I see that she receives a number of "SUBNET_ID" of my table and it shows it in the button of the browser as:javascript:ViewNetworkDetails(#SUBNET_ID#);
, or (2) or anything that is 'SUBNET_ID '. So, that's good.javascript:ViewNetworkDetails(1);
4 and here I am confused, basically, I need to pass a value of
, which seems to work as it gives me good numbers of my table to my 'ViewNetworkDetails' JavaScript function, then it can paste this value in "f?" p =... "IFrame URL. Here is my Jquery Modal script form and Javascript to redirect me to my popup page (the script is located in the HTML header):javascript:ViewNetworkDetails(#SUBNET_ID#);
PS My hypothesis is that there is a problem with this part of my script<script type="text/javascript"> function ViewNetworkDetails(){ var apexSession = $v('pInstance'); var apexAppId = $v('pFlowId'); var subnetIDNumber = document.getElementById(#SUBNET_ID#); $(function(){ vRuleBox = '<div id="ViewNetworkDetailsBox" title="View Subnet Details"> <iframe src="f?p='+apexAppId+':103:'+apexSession+'::NO:103:P103_SUBNET_ID:'+subnetIDNumber+' "width="875" height="500" title="View Subnet Details" frameborder="no"></iframe></div>' $(document.body).append(vRuleBox); $("#ViewNetworkDetailsBox").dialog({ buttons:{"Cancel":function(){$(this).dialog("close");}}, stack: true, modal: true, width: 950, resizable: true, autoResize: true, draggable: true, close : function(){$("#ViewNetworkDetailsBox").remove(); location.reload(true); } }); }); } </script>
where I can't get my "SUBNET_ID" value fromvar subnetIDNumber = document.getElementById(#SUBNET_ID#);
in 'subnetIDNumber' variable and that's why I can't spend my iFrame URL.javascript:ViewNetworkDetails(#SUBNET_ID#);
P.S. P.S. the child page 103 has a "Automated row fetch", is not a problem. In addition, I did a simple test, where I had a page element 'P102_Value' with values and in my script I had instead
Thisvar subnetIDNumber = document.getElementById(#SUBNET_ID#);
and it worked perfectly fine... but cannot operate against the SQL Select statement :-(var subnetIDNumber = $v('P102_Value');
HEEEEEEEEEEEEEELLLLLPPPP.
Thank youChange your column to link to send the value of the subnet_id column to the function call (you mentioned, but I don't know if you've actually done m)
JavaScript:ViewNetworkDetails(#SUBNET_ID#);
You pass the value of the parameter to the function, but not defined all the parameters in the function definition (this is possible in JS, no other parameter is ignored)
For example, to change the function to accept the subnet ID parameter (I'm really surprised how you missed it) and assign this parameter to a variable.eehelp_c