- 48
- 116 340
Weili Liu
Canada
Приєднався 23 жов 2018
Oracle APEX (Developer, Freelancer, Tutor )
This channel are some tips and experience in the projects I did before. Hope I can share with you and improve together.
This channel are some tips and experience in the projects I did before. Hope I can share with you and improve together.
Selectable Template Component in Oracle APEX 24.1
Template Components including Avatar, Badge, Content Row, Button, Media List, Comment, Timeline are introduced in APEX 23.1. APEX 24.1 brings the selection support for these template components except Avatar and Badge.
For the Avatar and Badge, We can add row selection to the badge Template Component by copying the standard Badge Component and including the following DIV in the Partial attribute.
Configure the template component:
1) Identify the primary
2) Create the 2 page items, one is used to store return colon delimited list of the selected rows(primary key values), the other is used as check all rows.
3) Row selection:
None
Focus
Only enables setting the focus to a selected row. Useful to improve accessibility or being able to keyboard navigate through the result set.
Single Selection
Enables single row selection.
Multiple Selection
Enables multiple row selection.
For the Avatar and Badge, We can add row selection to the badge Template Component by copying the standard Badge Component and including the following DIV in the Partial attribute.
Configure the template component:
1) Identify the primary
2) Create the 2 page items, one is used to store return colon delimited list of the selected rows(primary key values), the other is used as check all rows.
3) Row selection:
None
Focus
Only enables setting the focus to a selected row. Useful to improve accessibility or being able to keyboard navigate through the result set.
Single Selection
Enables single row selection.
Multiple Selection
Enables multiple row selection.
Переглядів: 542
Відео
Automatically decrement from a predefined number when adding Row in interactive grid in Oracle APEX
Переглядів 193Місяць тому
ex, specifying a specific number in a cell, then when adding a new row, it gives us a warning that it is not possible to put a number higher than the specified “fixed” number... Or show the remaining number from the process of subtracting the previously fixed number from the rows entered later, until a new entry is not accepted if the value of zero is reached from the fixed number. Please look ...
Select One and Select Many Item Types in Oracle APEX 24.1
Переглядів 1,1 тис.2 місяці тому
We can use ‘select one’, ‘select many’ item type when selecting the department, The difference between ‘select one’ and ‘select many’ is ‘select many’ can choose many options and return multiple values, while ‘select one’ can only select one value once a time. Select many has two types of ‘multiple values’ return, Delimited List and JSON Array Delimited List example: ["10","20","30"] JSON Array...
How to validate email in Oracle APEX with Regular Expression or Regex
Переглядів 3022 місяці тому
^[a-zA-Z0-9_!#$%&'* /=?`{|}~^.-] @[a-zA-Z0-9.-] \.[a-zA-Z]{2,4}$ ^: Start of the string. [a-zA-Z0-9_!#$%&'* /=?`{|}~^.-] : One or more characters that can be letters (a-z, A-Z), digits (0-9), underscores (_), and some special characters like !#$%&'* /=?`{|}~^.- for the username part. @: Match the "@" symbol. [a-zA-Z0-9.-] : Match one or more letters (a-z, A-Z), digits (0-9), dots(.), or hyphens...
How to log in the Oracle APEX Application with Authentication 'Custom' type
Переглядів 1,6 тис.3 місяці тому
I will emphasize a few points in the application: 1)Account Register 2)Sign in 3)Forgot Password /*Table and Column*/ Table : MTL_USER: Column: User_id(pk) email password, verification_code role_id /*Function or Procedure*/ /*log in the application. if true then pass, otherwise false*/ function custom_authenticate ( p_username in varchar2, p_password in varchar2 ) return boolean; /*register the...
How to link multiple public saved reports in interactive report
Переглядів 5365 місяців тому
This video assumes in each interactive report there are a couple of public saved reports in the interactive report. How to specify the right public report in the page link for each of the IR? Please look at the URL ?p=&APP_ID.:1:&SESSION.:IR_r_emp1::RIR,CIR::IR_DEPTNO:ACCOUNTING request IR_r_emp1, the r_emp1 is the alias of emp1 IR_DEPTNO, DEPTNO is the emp IR column name Oracle official docume...
How to upload CSV file in Oracle APEX Application
Переглядів 1,6 тис.5 місяців тому
Upload CSV file and parse data with Oracle APEX function: apex_data_parser Upload file Parse Data Load data
How to pass parameters from one page to another page in Oracle APEX
Переглядів 2,5 тис.7 місяців тому
Passing parameter from one page to another page when clicking button Button behavior: 1)submit page 2) redirect to URL: apex.submit('Next'),Next is the name of the button After Processing: Branches, Page or URL
How to change Tab color in Oracle APEX
Переглядів 1,2 тис.7 місяців тому
In the page css inline: .t-NavTabs-link.tab1_link{background-color:red} .t-NavTabs-link.tab2_link{background-color:rgb(25, 201, 33)} tab1_link, tab2_link are defined in the ' user define attributes' '4. Link Class' in tab list.
How to control update and delete on per row basis In IG in Oracle APEX
Переглядів 6178 місяців тому
This video I will show you how to use the 'Allowed Row Operations' Column in interactive grid in Oracle APEX Allowed Row Operations Column - To control the allowed operations on a per row basis add a column to your SQL query and select that column here. The column value must be U to allow update, D to allow delete or UD to allow both.
How to build Chatgpt in Oracle APEX
Переглядів 2,6 тис.8 місяців тому
1: Create an OpenAI Account ,htts://openai.com/,sign in 2: Navigate to the API Section, Choose one API to generate images. Under the endpoints, Images, I will use the end url POST api.openai.com/v1/images/generations Creates an image given a prompt. 3: Create API keys 4: Go to Oracle Application builder, create new application 5: Go to shared components, create 'REST Data Sources' 6: Go to appl...
How to open URL saved in DB in Oracle APEX
Переглядів 9299 місяців тому
There are 2 ways: 1: change the column type from 'plain text' to 'Link' Link attribute: URL: #COLUMNNAME# target='_blank' class='hideNulls' Remove NULL URL, Inline CSS: .hideNulls:not([href*="."]){display:none;} 2:column type 'plain text' HTML Expression:HTML script
How to put html tag to the column of the report in Oracle APEX
Переглядів 1,2 тис.9 місяців тому
There are 2 ways to put the html tag to the column. 1: Incorporate the html tag in the SQL statement directly, then change column type from text(other, text area, image etc.) to html expression sector. 2:Change column type from text(other, text area, image etc.) to html expression, then put the the html tag to the html expression sector.
Workspace in Oracle APEX
Переглядів 3439 місяців тому
A workspace is an area within Oracle APEX where you create your application. To create an application, you first must create and access to workspace. Each workspace is associated with one or more schemas. Build applications that interact with the database objects in that schema. Create new database objects in that schema. One or more developers or end users can access a workspace. Internal work...
How to incorporate JavaScript into your application in Oracle APEX
Переглядів 9309 місяців тому
There are a few ways to include Js code in the Oracle application 1) Add Js code to the header in the page 2) Add Js code to the Function and Global Variable Declaration in the page 3) Upload the js file to the shared components static application files or static workspace files, add the file to the file URLS in the page. #WORKSPACE_FILES#textfield#MIN#.js Go to the page item: P9_ENAME Advanced...
How to sum 2 columns in Interactive grid in Oracle APEX(2) using JavaScript Expression
Переглядів 1,1 тис.10 місяців тому
How to sum 2 columns in Interactive grid in Oracle APEX(2) using JavaScript Expression
How to sum 2 columns in Interactive grid in Oracle APEX(1) using PL/SQL Expression
Переглядів 1,6 тис.10 місяців тому
How to sum 2 columns in Interactive grid in Oracle APEX(1) using PL/SQL Expression
How to solve 'ORA-01733:virtual column not allowed here ' in interactive grid in Oracle APEX
Переглядів 2,5 тис.10 місяців тому
How to solve 'ORA-01733:virtual column not allowed here ' in interactive grid in Oracle APEX
How to pass page item to column in interactive grid when adding row in Oracle APEX
Переглядів 3,7 тис.10 місяців тому
How to pass page item to column in interactive grid when adding row in Oracle APEX
How to get sum of column in interactive grid on click add row in Oracle APEX
Переглядів 6 тис.Рік тому
How to get sum of column in interactive grid on click add row in Oracle APEX
How to add auto increment number on click button add row in Interactive grid in Oracle APEX
Переглядів 5 тис.Рік тому
How to add auto increment number on click button add row in Interactive grid in Oracle APEX
How to pass the column value in the interactive report to another report?
Переглядів 6 тис.2 роки тому
How to pass the column value in the interactive report to another report?
How to play video with oracle APEX if url is stored in the database
Переглядів 2,8 тис.3 роки тому
How to play video with oracle APEX if url is stored in the database
how to link into the alternative named report with APEX URL syntax
Переглядів 2,4 тис.3 роки тому
how to link into the alternative named report with APEX URL syntax
You solve this issue better than ChatGPT
Thanks for your compliment and interest.😊
Your tutorial is so nice. I need a solution can you help me? During creating a customer invoice, I want to set some default invoice items for apex collections. These items will differ customer to customer. I want to set this items in the customer table so that when I select old cutomer, invoice items will insert in the invoice items list. How can i do this ?
There are a couple of ways to solve it. I believe there is customer_id connecting the 2 tables 'customer_invoice' and 'customer'. When you select customer, you should pass the parameter customer_id to pxx_customer_id (pxx is page number) in the invoice page. Assume in your invoice page there are some items from the customer table such as customer_name, customer_email, customer_location etc. First, you should have the page item pxx_customer_id, pxx_customer_name, pxx_customer_email, pxx_customer_location etc. Then go to the page item property pane, 'Default', 'Type' :SQL Query(return single value) , write SQL statement: 'select customer_name from customer where customer_id=:pxx_customer_id'. Similarly, this way is also appliable for other items like customer_email, customer_location etc. This is one way, hope it can help you. Thank you for you interested my channel.
Thanks for sharing!
Thanks for watching!
Thank you, your contents are great and helpful. I suggest you improve the sound quality, more people will find these tutorials very useful. Sound improvement will be great for this channel. I am already subscribed to this channel. Thank you.
Thank you for your advice, I hope you will see a brand-new me in my next video😊
Thanks for sharing, we also need the integration of AI vision, document understanding in APEX please .
Thank you for you advice, I will do that if I am available😊, I appreciate you like my video and topic.
@@weililiu2119 great!
can you make a vedio how can i edit a card or delete it from a card region or classic report with template cards?
Card or class report region is different from the template component type about the checkbox selection. I will do that in my future video. Thank you😊
wow, great explain for this subject
after i reset from the gmail the login page open> after i sign in again > it crashes the error i have provided in the prev comment please help me
Can you send me a screenshot to my email cherryliu362@gmail.com? Thank you
is this vedio need any service need money ?
It’s free
You are awesome. thanks
Getting error ora-01722 invalid line number while uploading csv file. Please help
I will check it
Thanksss
If you'd like to get the code , you can go to the GitHub and get source github.com/Cherryweili/Oracle-APEX-Custom-Authentication.git Thanks🙂
Thank you Lady
Hello Weili, thank you very much for your teachings. I did not understand why the values sent in the parameters of the "Set Items" section using the Button option: "Redirect to Page in this Application" are not the same values existing in the session state, and what makes it necessary to use one of the other 2 alternatives that you explain. Thank you so much !!!
Because 'Redirect to Page in this Application' doesn't request and pass the parameter to the server, and in page 12, I used dynamic action to get the value of original salary, current salary which are in the client side, not in server. Session is only stored in the server side, so we should submit the page to get the new session value. Hope it is helpful for your future developing. Thank you for asking.
@@weililiu2119 Thank you Weili
In the login screen I'm getting an error says : ORA-06550 line 4, wrong number or types of arguments in call to 'DUP2_VALIDATE_USER_PASSWORD' My function is : create or replace FUNCTION dup2_validate_user_password ( P9999_USERNAME IN VARCHAR2, P9999_PASSWORD IN VARCHAR2) RETURN BOOLEAN IS l_password VARCHAR2(1000); l_stored_password VARCHAR2(1000); l_count NUMBER; BEGIN -- Check if the username and password match a record in your database table SELECT COUNT(*) INTO l_count FROM APX_EMPL_DTL WHERE UPPER(USERNAME) = UPPER(P9999_USERNAME); --AND HASHED_PASSWORD = NRM_ENCRYPT( P9999_PASSWORD ); -- If a record is found, return TRUE; otherwise, return FALSE IF l_count > 0 THEN SELECT HASHED_PASSWORD into l_stored_password FROM APX_EMPL_DTL WHERE UPPER(USERNAME) = UPPER(P9999_USERNAME); l_password := NRM_ENCRYPT( P9999_PASSWORD ); IF l_password = l_stored_password THEN RETURN TRUE; ELSE RETURN FALSE; END IF; END IF; END ; Can you please guide me , how to solve the error in my case!😢
1). You can use V_USERNAME, V_PASSWORD as arguments instead of P9999_USERNAME, P9999_PASSWORD in the function DUP2_VALIDATE_USER_PASSWORD like below: create or replace FUNCTION dup2_validate_user_password ( V_USERNAME IN VARCHAR2, V_PASSWORD IN VARCHAR2) RETURN BOOLEAN IS l_password VARCHAR2(1000):=' '; l_stored_password VARCHAR2(1000):=' '; l_count NUMBER:=0; ... END; Then you can call the function DUP2_VALIDATE_USER_PASSWORD( :P9999_USERNAME, :P9999_PASSWORD) in your application. 2) In the function , declare variable, I add default value because you used sql like 'select ... into ...' Hope it can help you. Thank you for asking.
I have a problem where a button with behavior set to redirect to a page in this app doesn't redirect me to a page, can you tell me how to fix this isssue please
You can go to the button Behavior setting: Behavior: Action: Redirect to URL Target: apex.oracle.com/pls/apex/f?p=132071 (This is the app which you want to redirect) Hope it can help you.
Mail check your mail ASAP
Please check your email mam
Please check your email
When i am entering first row value as 4.00 and second row value as 1,25,000.00 it's showing wrong value instead of 1,25,004.00
I think the code should modify a little. It should use ‘parseFloat’ to ensure the number has 2 decimals. Thank for your question.
Thank you for your reply
Can we validate row level entry in IG and restrict the add row process
@@PMNDEV ua-cam.com/video/50TNO9DdMhk/v-deo.htmlsi=WfHN3Za5hn13sg4b
Thankyou for this but I want control on add row or validation on add row...means new add will not perform if previous row's column is empty ....like that check the validation on click add row button @@weililiu2119
Thank you Weili Liu!!! Can you help me I want to know how to integrate oracle apex with technoriverstudio?
I will see and try. Thanks
THANKS
Thank You Please u can explain about all the new features kindly
I’ll prepare for it
Thank you so much!! You saved my day!!!!! Most sincerely appreciate you creating this great tutorial! Please continue the good work.
Glad it helped!
Is it possible to take sum of 2 columns from 2 different region?
Yes. I will post a new video about this. I'd like to know if you have business requirement about this? Usually we sum columns in one report. Thank you for your question
@@weililiu2119 Thank you for replying , i will explain .For eg: i have 2 Interactive grid A and B .Interactive grid A have “salary” column and interactive grid B have “increment column” ,i need to take the sum of these 2 columns and show in interactive grid B as "total" column. how can i achieve this ?
@@BinuKP-m3q Thank you for your explanation. I'd like to know you just sum the 2 columns without modifying(just reading) rather than sum the 2 columns when the 2 columns change? Usually what we do, get the salary cell value when IG row is selected to the page item and put the page item as hidden, then when I select one row in the report B, sum the page item and 'increment column' value to the column 'Total'.
Thank you Weili Liu!!! You've helped me a lot!!!
Hi, good video and knowledge. here I have one question. in mail ur sending url to change password is same for all. if any one can get that url can change and hack the application. So what's the security.
I modified the function request_rest_password in package MTL_AUTH_PKG, APEX_UTIL.PREPARE_URL ( p_url IN VARCHAR2, p_url_charset IN VARCHAR2 default null, p_checksum_type IN VARCHAR2 default null, p_triggering_element IN VARCHAR2 default 'this') RETURN VARCHAR2; P_checksum_type: Null or any of the following six values, SESSION or 3, PRIVATE_BOOKMARK or 2, or PUBLIC_BOOKMARK or 1. I added the session in URL and changed p_checksum_type from 1 to 2 If p_checksum_type=2, then we can use this value when you want to generate a private link that will only be available to you. It’s associated with the currently authenticated user. /****************** before zero session for pubilc user *****************/ l_url := apex_util.prepare_url(p_url => c_hostname||'f?p='||v('APP_ID')||':31:0::::P31_USER_ID,P31_VC:' || l_id || ',' || l_verification_code, p_checksum_type => 1); /*****************modify: session for the authenticated user ***********/ l_url := apex_util.prepare_url(p_url => c_hostname||'f?p='||v('APP_ID')||':31:'||v('APP_SESSION')||'::::P31_USER_ID,P31_VC:' || l_id || ',' || l_verification_code, p_checksum_type => 2);
How to Automatically decrement from a predefined number when you click the Add Row button in the interactive grid in Oracle APEX... ex, specifying a specific number in a cell, then when adding a new row, it gives us a warning that it is not possible to put a number higher than the specified “fixed” number... Or show the remaining number from the process of subtracting the previously fixed number from the rows entered later, until a new entry is not accepted if the value of zero is reached from the fixed number. thank you
I will try it. Thank for asking
How to Automatically decrement from a predefined number when you click the Add Row button in the interactive grid in Oracle APEX... ex, specifying a specific number in a cell, then when adding a new row, it gives us a warning that it is not possible to put a number higher than the specified “fixed” number... Or show the remaining number from the process of subtracting the previously fixed number from the rows entered later, until a new entry is not accepted if the value of zero is reached from the fixed number. thank you
Please take a look: ua-cam.com/video/dzY8iLedmZU/v-deo.html
How to Automatically decrement from a predefined number when you click the Add Row button in the interactive grid in Oracle APEX... thank you
I will consider and do it. Thanks for your question.
My you prepare a video showing dynamic storing and reading of images from the file system rather storing in database and the reading
I will consider it. Thanks for your question.
国人apex 教程。 👍 可不可以出个怎么用js 添加css
好的,我会考虑,谢谢
Really nice blog...thank you for sharing
Thank you🙂
Please check your email
Have sent it. Please check your email. Thank you for your interest
@@weililiu2119 Please check your email
hello @weililiu211, I send a question for your email.
It seemed that I didn’t receive your email. My email:cherryliu362@gmail.com
Respond via email. Please your email. Thank you for interest.
Thank you for this video! The step-by-step guidance and clear explanations were very helpful.
I love your videos.
tank you for the video !, can you please share the code ? package ? 🙏
Send me email and contact:cherryliu362@gmail.com
@@weililiu2119 I sent a email for you to ask about your video badge list.
@@weililiu2119 Please add it in description or in comment section.
Thank you for sharing.
Thanks for the session ,It really helped a lot
very nice for beginners like me... what about if i have all item's static id and use specific style(s) for specific item, how i can refer them in inline CSS ? thanks.
I really like these methods! Well done
Thanks, This was helpful.
This worked perfect! Thank you for putting the video together!
Excellent video. Haw can I contact you ?
how an static file of JS can be stored and how the same file can referenced in an item. Could you explain. Your guidance will be appreciated.
Many many thanks.
❤❤❤❤
Please make a video on validation of form in Apex
I will. Thanks.
Greats a lot, i found what i was looking for!!! your are 10! this mensage is from Brazil
Thanks. But if each IR has several enabled public reports, how do you specify the right public report in the page link, for each of the IR?
Please take a look my new video ua-cam.com/video/FhFpSSvR-_Q/v-deo.html Thank you
Thanks @@weililiu2119, in the meantime, I managed to get the information.
But I would like to do the same for a page with multiple Interactive GRIDs. But it is not possible to do the same as IRs. Only one IG can be put in the "Request" area. I think it is a bug.