Dynamic selection of actions LOV
I have a form with 12 fields and a pop up Lov. This LOV is called model. When I select a value LOV (Template), all 12 fields must be defined with a default value based on the model.
The model is nothing more than a row of a table. Can be done by using the dynamic action? Help, please
George
Yes, you can create a dynamic Action as follows:
Event: change
Selection type: product (s)
Article (s): PXX_TEMPLATE
Real Action
Action: execute the PL/SQL Code
BEGIN SELECT COLUMN1, COLUMN2 INTO PXX_COLUMN1, PXX_COLUMN2 FROM TABLE WHERE ID = PXX_TEMPLATE; EXCEPTION WHEN NO_DATA_FOUND THEN PXX_COLUMN1 := NULL; PXX_COLUMN2 := NULL; END;
Page to submit items: PXX_TEMPLATE
Page to return items: PXX_COLUMN1, PXX_COLUMN2
Thank you
Erick
Tags: Database
Similar Questions
-
How can I dynamically select the shared Variable API programming data type?
I am trying to create a configuration of open connections of variable shared using the programming API. It seems to me that the cleanest way to do would be to put one "open and check" routine in a loop, then call it for each variable in the library.
The question that I am running is that I have different types of data in my library (to help a server Modbus i/o and data types 'boolean' and 'single' in my library.) How can I dynamically select the data type of the shared variable API?
See the attached snipit.
Thank you
What I ended up doing was doing a Subvi to open, read, write, and close each data type, I use the packaged in 4 polymorphic SubVIs (polymorphic Open, read, etc...)
Now all I have to do I drop in the polymorphic Subvi and it switches automatically to the appropriate data type
-
Restore the options popup after selecting "Non-action" and choose to use this option, whenever a device is plugged in USB?
Hello
Did you follow the "AutoPlay Repair Wizard"?
You can follow the link provided in the previous post. Later, check to see if the problem persists.
Hope the helps of information.
-
Dynamic selection tabular list
Hello, I am new to the PL/SQL and APEX.
I want to create the dynamic selection list in a table based on another column in the same tabular form. But lack me of expression stop.
Can someone tell me whats wrong with my code?
Behold, my code
SELECT ID, NILAI,
APEX_ITEM. SELECT_LIST_FROM_QUERY (7, NILAI,'SELECT V.MEANING AS DISPLAY,)
LOOKUP_CODE AS RETURN_V FROM apps.fnd_lookup_types_vl@SUCODEV T,
Apps.fnd_lookup_values_vl@SUCODEV V where T.lookup_type = V.lookup_type and v.attribute_category =' |' SCI_TYPE_SELEKSI' | "and V.ATTRIBUTE1 =' |" BADAN |) SELECT_LIST_NILAI
OF SCI_TABLE
v.attribute_category is the search category in the database
I want to make this dynamic selection list as V.ATTRIBUTE1 value is generated by another column named BADAN
I'm sorry for the bad explanation
I just edited my nickname of Lexover XD
Thank you
Post edited by: Lexover
Post edited by: Lexover
Hi guys, I found the error. Here's the correct code:
SELECT ID, NILAI,
APEX_ITEM. SELECT_LIST_FROM_QUERY (7, NILAI,'SELECT V.MEANING AS DISPLAY,)
LOOKUP_CODE AS RETURN_V FROM apps.fnd_lookup_types_vl@SUCODEV T,
Apps.fnd_lookup_values_vl@SUCODEV V where T.lookup_type = V.lookup_type and v.attribute_category = "SCI_TYPE_SELEKSI" and V.ATTRIBUTE1 =' | NILAI) SELECT_LIST_NILAI
OF SCI_TABLE
I put the apostrophe before | and the column name (parameter) and doble single quote in varchar where clause. Double quotation mark, 2 times the apostrophe. Easy to understand hope.
Thanks guys for the feedback.
Lexover
-
Dynamic selection of images for OBIEE 11 g report
Hello dear colleagues,
need help to solve a problem with the dynamic selection of images for reports OBIEE 11 g.
For OBIEE 10 g, it works perfectly - put images in
*'\ < HOME_ORACLE_BI > \web\app\res\s_oracle10\images'*
Directory and enter edit the column formula (in the answers) of the expression:
* ' < table_name > '. "" < table_column > | ". jpg'*.
and selecting
URL of the image (in the properties of column-> Data Format)
retrieve the images appropriate for the corresponding model (the project is for fashion retail customer) regarding the description of the specified column (for example * "DM_ITEM".) «MODEL_CODE ' ('09361' = *) put correspondence the name of the image file (* '09361.jpg' *).»
For the OBIEE 11g (installed on W7, DWH on MSSQL 2008R2, VM in the field), I followed the link * "http://vikramwalia.wordpress.com/category/obiee-11g/" * and stuck at the step where the browser should recover image (s) based on the following address:
*' http://localhost:9704/analyticsRes/product / *.
Dive into the issue, I checked the staticports.ini and in the * [WEBLOGIC] * section find the following message is displayed:
*#The port of 'content' for the most part POET. This is the Weblogic managed server port on which BIEE applications are deploie.*
Oracle WLS BIEE managed Server Port No. = 9704
that seems to be OK...
The netstat command response confuses me much since I found (and also of external) record for TCP Local address (should be < IP localhost >: 9704), which lead me to the point that, probably one of the OBIEE 11 g services not started OR I made a mistake during installation of OBIEE 11 g, although the system did not send a message about this possibility. BTW, the BI Publisher on this machine works correctly.
So, kindly ask support or advice on this subject. Thank you
AL
Published by: user7374943 on 29.04.2013 01:01
Published by: user7374943 on 29.04.2013 02:15
Published by: user7374943 on 29.04.2013 02:19Not able to open the IAM blog you referred to above.
Make sure that you have deployed the analyticsRes component as shown in http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1113/customizing_obiee11g/customizing_obiee11g.htm. Create a folder called produced under analyticsres and start accessing images.
Good luck...
Isabelle Renon -
Dynamic selection list: link to another page
Hello
Following the list of dynamic selection at the bottom of page "product.php" (www.dolls.com.sg)
< div id = "selectcat" >
< select name = "Catégories" >
<? PHP
{}
? >
< option value = "<?" PHP echo $row_rsCategories ["categoryName"]? > "<?" PHP if (!) () strcmp ($row_rsCategories ["categoryName"], $row_rsCategories ["categoryName"]))) {echo "selected = \"selected\"" ;}? "} > > <? PHP echo $row_rsCategories ["categoryName"]? > < / option >
<? PHP
} While ($row_rsCategories = mysql_fetch_assoc ($rsCategories));
$rows = mysql_num_rows ($rsCategories);
If ($rows > 0) {}
mysql_data_seek ($rsCategories, 0);
$row_rsCategories = mysql_fetch_assoc ($rsCategories);
}
? >
< / select >
My goal is, whenever a visitor clicks on a category in the drop down menu, it is transmitted to the respective page "categories.php".
How can I do?
Thank you
Helmut
Change your code to this:
In categories.php, use $_GET ['categories'] to filter the Recordset.
-
Problems with dynamic selection lists in IE7
I have another problem related to the last one I posted here: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=217 & threadid = 1385428
I have a list of dynamic selection populated by a SQL Server database.
I want to select all the items in the list if you have selected a particular item. The code I wrote works fine in Firefox, and I'm assuming that other browsers as well. It does everything not in IE and the specific test does not not in IE7.
I can't use the fix suggested for my last question, because this time I want all of the selected options and selectedIndex applies only to a single option.
Any ideas on what I can do to make it work in IE7?
Here is the code I use:
I have provided a solution to this question in another forum:
http://www.Tek-Tips.com/viewthread.cfm?QID=1495671&page=1
Thank you
Jesse -
dynamic selection list hangs with php
Hi all
I can't get a list of dynamic selection of work in dreamweaver. It completely crashes whenever I try to add to my page. I found someone else in the forum who had the same problem, but no one ever answered. I've tried several things, including putting just the dynamic record and select on its own page with no other code in this regard. He always breaks DW. I also tried this coding myself by making a listmenu and change it so that the value of the option equals a value PHP echo. It crashed too much here. Does anyone have a piece of code with a selection list dynamic work that uses a recordset that I could look at? This way I can see where I am going wrong. All I'm trying to do is to get a simple drop-down menu select list of employee names, so anyone can choose their name for advice. This is a table, a set of records 2 fields (first and last name).
Using DW CS3, php & MySQL, windows XP Pro
Any help would be really appreciated!
That's all! Thanks a lot for your help!
-
Action dynamic apex on popup lov
Hello
I have a popup lov in apex 4.1.1.00.23, I want to put some values after the selection of an item from the LOV. That is, select a certain customer and set variables based on customer ie customer...
I created a dynamic value on the evolution of the popup lov, but we note the change on the selection of a different value.
If I save the form and then come back shows the correct data, not just directly after changing the value after the value in the LOV POP.
Dynamic value is triggered on the evolution of the LOV POP to set some values, but it does not work!
Any help appreciated.
Thank you
David
Thank you
I managed to get this working:
Solution for anyone interested:
Create a dynamic action advanced popup lov
Event: change
Select a Type: element
Element was the popup lov
No condition
Now to update the items, I used the set value
Action: value
Parameters: Sql statement
SQL code
In page items to submit (popup lov name), it's the part that I had not before!
Item is updated.
-
Dynamically set a value based on the selected value of LOV
Apex 4.2
I can't create a dynamic action to set a value. I have used dynamic actions to hide and display areas but for some reason any cannot set a value.
I have a list of selection-> P101_LIST. Type of source is "Column of the database". Source of value or an expression is "person_id" the query is as follows:
Select first_name, person_id From Persons
I have a display-> P101_DISPLAY value. Source type is 'static Assignment. The source value or expression that I left blank.
I would like for each time the user selects a name of P101_LIST, the P101_DISPLAY element is updated to display the value (person_id) correspondent.
Because there are other page elements / information on the page, I prefer that to not submit / update of the page. Would not want other page elements / information update.
Any help on this would be greatly appreciated. Thanks in advance.
Hello
Create a DA:
-event onChange P101_LIST
-Action: PL/SQL
-PL/SQL code:
: P101_DISPLAY: =: P101_LIST;
What to submit: P101_LIST
Point of return: P101_DISPLAY
And in fact.
Kind regards
Joni
-
Listen to the changing value of the element that is passed under dynamic PL/SQL action
Hello
Version 4.2.6 apex
I have a dynamic action that fires the PL/SQL. It is about 'change' DA for item P1_INPUT.
It triggers the PL/SQL code
:P0_ITEM_CONTROL := '{"Item":"#P2_SIF_MT_INFO","State":"success"}';
Now, I want to hear this change (in question (P0_ITEM_CONTROL) in my external JS.
$('#P0_ITEM_CONTROL').on('change', function() ....
Of course, in that you can only listen for the changes that have been made by typing the entry itself, so I have to add another REAL action that fires the code JAVASCRIPT and trigger the change manually.
$('#P0_ITEM_CONTROL').trigger('change');
Which is cause of unnecessary bloat. Is there another way to trigger the change?
First one that comes to mind is to create a DA who listen to change everything I want my JS to trigger. Then trigger manually there from there.Then come from your other thread, I take back what I said - I have messed up. I felt pretty sure the plsql execute did not have the change event, but I was wrong - I checked once again after the other thread. Since you're using two versions of jquery your question is exactly the same in this thread as what you experience with the popup lov! Use apex.jQuery to listen for the event changes and you will be fine, since the action of plsql execute trigger changes on 'elements to return'!
-
Conditional display of links - using dynamic application example "Actions".
I have a similar to the one shown on the page need delete and refresh the application "Sample of dynamic Actions" on Apex.Oracle.Com. However, in my case, the application must be selective.
How can show us the cross out 'X' for people in the SALES Department.
I tried this using a case statement to return the EMP_IDS for people in the SALES Department and NULL values for all others (in a new column called Sales_Emp_IDS. My attempts failed but that each record in this new column shows red X if the emp in the sales department or not.
Is this possible?
Here are the changes I made to the EMPLOYEES area
Adds the source code of the next column
SELECT e.ROWID
e.EMPNO ID
case when 'd.dname =' SALES
then e.EMPNO
Another null
end Sales_Emp_IDs
e.EMPNO
e.ENAME
e.JOB
m.ename MGR
e.HIREDATE
e.SAL
e.COMM
DEPTNO d.dname
OF #OWNER #. E EBA_DEMO_DA_EMP
#OWNER #. EBA_DEMO_DA_EMP m
#OWNER #. EBA_DEMO_DA_DEPT d
WHERE e.mgr = m.empno (+)
AND e.deptno = d.deptno (+)
Then on the report to the report ineractive attributes I copied the link column to delete settings
Text link < img src = "" #IMAGE_PREFIX #red_x_16.png "alt ="Remove"> "
Link attributes = id' #ID # "class ="delete" "
Target URL
URL #
Thank you
Gene
Hi Gene Lowy,
you see X for each column because you made conditional, only the column don't value not the link,.
Need to add X in the query itself.
1. remove this part of the column binding
The link text
Link attributes = id' #ID # "class ="delete" "
Target URL
URL #
2 change your query, added X in the query.
Replace with your report query
SELECT e.ROWID , e.EMPNO ID , case when d.dname='SALES' then '' else null end Sales_Emp_IDs , e.EMPNO , e.ENAME , e.JOB , m.ename MGR , e.HIREDATE , e.SAL , e.COMM , d.dname DEPTNO FROM #OWNER#.EBA_DEMO_DA_EMP e , #OWNER#.EBA_DEMO_DA_EMP m , #OWNER#.EBA_DEMO_DA_DEPT d WHERE e.mgr = m.empno ( + ) AND e.deptno = d.deptno ( + )
3. change your Sales_Emps_IDs column-> column-> display attributes as-> change to Standard report column.
Hope this helps you,
Kind regards
Jitendra
-
Select list THAT LOV based on the selection of the Parent list
HelloI'm pretty new to APEX and which seems to be a pretty basic question, but I don't know how to do it.
So, I have two items in the selection list on my page and I need to dynamically change LOV in the second list based on the value of one of the parents.
I think this question been here before, so could someone just tell me the answer?
Thank you very much
Leo.
Leo_Y wrote:
I'm pretty new to APEX and which seems to be a pretty basic question, but I don't know how to do it.
So, I have two items in the selection list on my page and I need to dynamically change LOV in the second list based on the value of one of the parents.
I think this question been here before, so could someone just tell me the answer?
To get the right answer, you must ask the right question.
Integrated support in cascade LOV is addressed in the documentation.
-
How to change the values of a from the values selected in another LOV LOV
Hello
I have a requirement in the ADF where there are two LOVs. The values in the second LOV based on the values that I selected in the 1st LOV should change dynamically.
In addition, the 1st LOV accepts 3 values for each value that I select, a different query is executed to fill the 2nd LOV.
I have a gross thought I can use 3 different read only view objects containing these 3 queries. And according to the value that I select in the 1st LOV I can run the object matching the view of the bean to support. But my doubt is how to link the results of this query that is executed to fill the 2nd LOV.
Thanks in advance.
Published by: 886591 on September 21, 2011 04:48Kouadio,
All your queries based on the table? If Yes, you can use a variable binding for the lov attribute relative to the query to run on the LOV child.
If they are based on different tables, you can create 3 different lovs for the child attribute and select what lov seem based on the parent attribute.
Here are a few examples.
http://andrejusb.blogspot.com/2011/03/ADF-BC-dependent-lov-11g-ps2ps3-bug-and.html
http://andrejusb.blogspot.com/2008/12/Groovy-multiple-lovs-per-attribute-in.html
Arun-
-
Hi all
I want to collect information about a feature, but according to the value of an attribute from entity level - I want to make the selection of the value of the attr - dynamic level entity.
i.e.
Study the following
-So if I add x 2 instance childEntity: the children Relationship: the child Entity-Attr: the child's name Entity-Attr: the child's gender Entity-Attr: the child's toy
While:Child Instance #1: "Tom", "Male", I would require his drop down list for a toy to be like "Action Man", "Spider Man" on the screen for the user to select
Hope that makes senseChild Instance #2: "Jenny", "Female", her drop down list for the child's toy would consist of: "Barbie", "Justin Bieber CD's"
See you soon
Published by: user9015745 on August 23, 2011 03:00You would not be able to ask sex and toy preferred on the same screen without a 'submit', unless you use javascript. Assuming that it is acceptable to ask the names of all the children and women on a screen (i.e. in collecting entities) and continue to ask questions about the favorite toy of each child on a separate screen, you can take advantage of the screen definitions and screen flow to achieve this without any programming.
Basically, you need to set the following:
-an entity collect the screen for children that you collect the name and gender of each child
-a 'male_toys' screen requesting favorite toy to the child and who uses a choice list that contains only the 'male' toys
-a 'female_toys' screen that asks favorite childhood toy and that specifies the list "female toys."
-define a global screen flow that has first collects 'children' is evolving into the "flow of child", then ends.
-define the workflow of the child to begin with a decision point based on the sex of the child which is progressing towards the male sex toys to screen if = 'male' or the female toys screen if = "female".
-Add the overall flow to the summary screen of the evaluation so that an interview is initiated by starting the overall throughput (you want to force a stream of screen to use to undertake the interview to make you progress in automatic screen based on the pursuit of a goal)
-Also to note: you probably want to shoot left alternative in the child_toy_male and child_toy_female so that it is clear what child screen wonders about the screens.
Maybe you are looking for
-
When I send an email-error message says cannot save in the folder
do not save my emails sent in the sent folder. When I click on send a new email... I get an error message that says: it can not save to the sent folder. Just started using TB yesterday.
-
How can I tell if my macbook air has a virus?
Tired, stupidly, I opened an e-mail from "amazon" with a "your order" zip file, I open the zip file, he opened a box of tex with a script in it. Mail disappeared from my Inbox and is not in the trash or junk. Now I'm worried I've infected my laptop -
-
Why 2 sites almost always take 10 to 20 minutes to download 7 Ff.?
I have cleared my cookies and cache, used three times Ff Mode safe to disable my extensions and have updated my plug-ins. But 2 sites still last for 10 to 20 minutes to download!They are the same sites that download quickly in IE, which I try to use
-
Satellite A100-036 - disturbing noise from power supply
Hello! I use Satellite A100-036. Lately, I've noticed a whistling top-height standard adapter Toshiba coming, sort of some fluorescent lamps do, only much quieter. Yet, the adapter is on the table near the laptop, is disturbing. The character changes
-
Windows Vista will not start up - keep getting the black screen
I read through the questions answered similar questions and still can not past the black screen with windows vista. It's on a dell inspiron 1525. Also, it does not start in safe mode and I tried booting from the last good configuration and is still