Size: a a a

2021 January 24

MA

Marvin Amorim in Oracle APEX
No man. Never in apex (at least since 5.0, never worked with lower versions) any sql code of any kind was exposed to the DOM or is served in any static file.
If you want limit yourself to only use Apex for "in-house" use, good for you. But the things that you are saying just don't make any kind of sense.
источник

RT

Ricardo Ortín TechCo... in Oracle APEX
i have a problem with variables in javascript, i have the correct url in variable, but when i pass the value througth javascript, its dont take.... any suggestion?

i have this code:
<script type="text/javascript">
 function foortiawindows(pURL){
  if(!pURL){pURL = 'https://google.com';}
 
   var pURL;

   window.open(pURL);

   
   }

and i call in dynamic option like this:

foortiawindows('&P6_URL');

the value of P6_URL is an  correct url, but the javascript don take and show google, what`s happening?? if i put in the code:

foortiawindows('https://xxxxxx.xx'); its works correctly, but when i put de variable its doesnt work.

i have oracle apex 20.2.
источник

RT

Ricardo Ortín TechCo... in Oracle APEX
i write the result on a P0 variable but its the same
источник

Т

Темик in Oracle APEX
Ricardo Ortín TechConsulting
i have a problem with variables in javascript, i have the correct url in variable, but when i pass the value througth javascript, its dont take.... any suggestion?

i have this code:
<script type="text/javascript">
 function foortiawindows(pURL){
  if(!pURL){pURL = 'https://google.com';}
 
   var pURL;

   window.open(pURL);

   
   }

and i call in dynamic option like this:

foortiawindows('&P6_URL');

the value of P6_URL is an  correct url, but the javascript don take and show google, what`s happening?? if i put in the code:

foortiawindows('https://xxxxxx.xx'); its works correctly, but when i put de variable its doesnt work.

i have oracle apex 20.2.
Not next to my pc at the moment, have you tried use $v('P6_URL') instead of &P6_URL. ? Sometimes it does a trick, especially in DA.
источник

MA

Marvin Amorim in Oracle APEX
Темик
Not next to my pc at the moment, have you tried use $v('P6_URL') instead of &P6_URL. ? Sometimes it does a trick, especially in DA.
About the use of $v, it's better to use apex.item("P6_URL").getValue(); (as is shown on the Apex javascript documentation)
The $v might get deprecated.
источник

MA

Marvin Amorim in Oracle APEX
Ricardo Ortín TechConsulting
i have a problem with variables in javascript, i have the correct url in variable, but when i pass the value througth javascript, its dont take.... any suggestion?

i have this code:
<script type="text/javascript">
 function foortiawindows(pURL){
  if(!pURL){pURL = 'https://google.com';}
 
   var pURL;

   window.open(pURL);

   
   }

and i call in dynamic option like this:

foortiawindows('&P6_URL');

the value of P6_URL is an  correct url, but the javascript don take and show google, what`s happening?? if i put in the code:

foortiawindows('https://xxxxxx.xx'); its works correctly, but when i put de variable its doesnt work.

i have oracle apex 20.2.
And the problem here is:
Substitution strings are parsed on page load. So the foortiawindows('&P6_URL'); will parse the submited value of the item P6_URL, not the client side value.
источник

MA

Marvin Amorim in Oracle APEX
If that item is null when page is loaded, your function will call an empty string foortiawindows('');
If you put some value in the item and submit the page, the function will call whatever value was submited when page reload.
источник

MA

Marvin Amorim in Oracle APEX
So if you want to use the client side value of the item, it should be:
foortiawindows(apex.item("P6_URL").getValue());
источник

Т

Темик in Oracle APEX
Marvin Amorim
About the use of $v, it's better to use apex.item("P6_URL").getValue(); (as is shown on the Apex javascript documentation)
The $v might get deprecated.
Yep, does make sense to me.👍 it will be sad if the $v('') and $s('') will be deprecated, we using it a lot in our development ..
источник

SM

Shyam Mukharji in Oracle APEX
Hi ,
•Microsoft
•AWS
•google
•oracle
•juniper
•cisco
•SAP
•linux
•comptia
•VMware
•salesforce
•huawei

Contact : @Viral_boy0

All dumps are Available and latest
Ping me/DM me ...
источник

T

Tawfeq in Oracle APEX
Did anyone used the ora_hash function for data mining?
источник
2021 January 25

RT

Ricardo Ortín TechCo... in Oracle APEX
Marvin Amorim
And the problem here is:
Substitution strings are parsed on page load. So the foortiawindows('&P6_URL'); will parse the submited value of the item P6_URL, not the client side value.
Thank you!!!! its works perfect!!!!
источник

JR

Jacky Reddy in Oracle APEX
Переслано от Jacky Reddy
Hi ,  
•Microsoft  
•AWS  
•google  
•oracle  
•juniper  
•cisco  
•SAP  
•linux  
•comptia  
•VMware  
 
All dumps are Available and latest  
Ping me/DM me ...
источник

T

Tawfeq in Oracle APEX
How can I hide the URL in the browser?
источник

FD

Fabrizio Delli Prisc... in Oracle APEX
Hi, I'm on apex 20.1. I have a pl/sql dynamic region. I want to display a pdf file. Which is the maximum file size supported? Because if I point to a file which is more than 3 MB size it is not displayed. But if I point to a file under 3 MB size it is displayed correctly. Is there some properties to set? Thanks
источник
2021 January 26

MS

Murad Saleh in Oracle APEX
Tawfeq
How can I hide the URL in the browser?
Mobile or desktop?
источник

T

Tawfeq in Oracle APEX
Desktop
источник

MS