Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
JavaScript Expression to pass ListView ID in a DynamicAction, Rel 20.1
OK, I followed your instructions.. thanks again. When I run it, I get an error exactly when the form is loading.. Uncaught Type Error: "apex.da.initDaEventList is not a function" and: Uncaught syntax error: "Invalid or unexpected token" Interestingly, when I remove the erroneous Dynamic Action - atRead more
OK, I followed your instructions.. thanks again.
When I run it, I get an error exactly when the form is loading..
Uncaught Type Error: “apex.da.initDaEventList is not a function”
and:
Uncaught syntax error: “Invalid or unexpected token”
Interestingly, when I remove the erroneous Dynamic Action – at least, the ListView shows up with the TextFormatting exactly like you have written:”<h3>&DNAME.</h3> <p>DEPTNO: &DEPTNO.</p>”.
In fact, I am able to inspect a random item in the JavaScript console which brings up the relevant item like here:
<li data-id=”1229″ class=”a-ListView-item ui-body-inherit has-count”><h3>first_name</h3><p>ID: 1229</p><span class=”ui-li-count”>1229</span></li>
in my example &ID. is the key (&DEPT_NO. in your example) – so that is fine.
The span class is duplicate (its probably the Universal Theme doing its thing).
I posted the above to give you an idea of where the issue might be ~ a wrong ‘selector’ maybe?
… Probably a good time for me to learn some JavaScript, clearly :-/
JavaScript Expression to pass ListView ID in a DynamicAction, Rel 20.1
Sorry Afzal ~ I only just saw your post. Thanks! I will give this a try.
Sorry Afzal ~ I only just saw your post. Thanks! I will give this a try.
See lessJavaScript Expression to pass ListView ID in a DynamicAction, Rel 20.1
Helllo again.. It looks like Jeff Kemp's article here has some potential solutions - he has used an Interactive Grid example and it does not exactly translate to a ListView. I just wish I knew JavaScript a bit better.. http://jeffkemponoracle.com/tag/javascript/ .. it does not exactly translate to aRead more
Helllo again.. It looks like Jeff Kemp’s article here has some potential solutions – he has used an Interactive Grid example and it does not exactly translate to a ListView. I just wish I knew JavaScript a bit better..
http://jeffkemponoracle.com/tag/javascript/
.. it does not exactly translate to a ListView. I just wish I knew JavaScript a bit better because I cannot even get this to evaluate in this case.
See lessthis.triggeringElement
JavaScript Expression to pass ListView ID in a DynamicAction, Rel 20.1
1.. CREATE A LIST VIEW AS LIKE SELECT DEPTNO,DNAME,LOC FROM EBA_DEMO_CHART_DEPT MAKE A STATIC ID LIKE-- listView 2.. GOTO ATTRIBUTE SECTION OF LIST VIEW SETTING-- CHECKED "ADVANCED FORMATTING" List Entry Attributes ==> data-id=&DEPTNO. Text Formatting---> <h5>&DNAME.</h3>Read more
1.. CREATE A LIST VIEW AS LIKE
SELECT DEPTNO,DNAME,LOC FROM EBA_DEMO_CHART_DEPT
MAKE A STATIC ID LIKE– listView
2.. GOTO ATTRIBUTE SECTION OF LIST VIEW
SETTING– CHECKED “ADVANCED FORMATTING”
List Entry Attributes ==> data-id=&DEPTNO.
Text Formatting—> <h5>&DNAME.</h3> <p>DEPTNO: &DEPTNO.</p>
Counter Column ==> DEPTNO
Link Target===> NO LINK DEFINED
3.. CREATE DYNAMIC ACTION
EVENT– CLICK
SELECTION TYPE= JQUERY SELECTOR
jQuery Selector== #listView li
ACTION =>EXECUTE JAVASCRIPT CODE LIKE
alert($(this.triggeringElement).attr(‘data-id’));
See lessJavascript combined with PL/SQL on Apex page
Hi Vanish, how can i do follwoing when i have three apex items like P1_DR , P1_CR and P1_AMT If user enter some values in P1_DR then P1_CR becomes unwriteable and and P1_AMT got the value of P1_DR. 2. If user enter some values in P1_CR then P1_DR becomes unwriteable and and P1_AMT got Read more
Hi Vanish,
how can i do follwoing when i have three apex items like P1_DR , P1_CR and P1_AMT
2. If user enter some values in P1_CR then P1_DR becomes unwriteable and and P1_AMT got the value of P1_CR.
How to call database procedure on button click
Thank you afzal, Working perfect!
Thank you afzal,
Working perfect!
See lessHow to call database procedure on button click
step1-- create dynamic action NAME-- 'CALL_PROCEDURE' EVENT--CLICK SELECTION- BUTTON BUTTON-- NAME OF THE BUTTON TRUE-ACTION-- EXECUTE/PL/SQL CODE BEGIN //-- CALL HERE YOUR PROCEDURE END;
step1– create dynamic action
NAME– ‘CALL_PROCEDURE’
EVENT–CLICK
SELECTION- BUTTON
BUTTON– NAME OF THE BUTTON
TRUE-ACTION– EXECUTE/PL/SQL CODE
BEGIN
//– CALL HERE YOUR PROCEDURE
END;
See lessHow to call database procedure on button click
Hi Fazal, Can you please elaborate few more steps so i can complete this activity as i am doing this first time. Thanks.
Hi Fazal,
Can you please elaborate few more steps so i can complete this activity as i am doing this first time.
Thanks.
See lessHow to call database procedure on button click
hi, create a dynamic action at click button and use pl/sql execute action
hi,
create a dynamic action at click button and use pl/sql execute action
See lesshow to implement list view for mobile app
Nobody knows or can not?
Nobody knows or can not?
See less