Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to automatically insert a default value to a column during spreadsheet data loading?

DannyS-OracleApr 19 2017 — edited Apr 19 2017

Hi guys,

This is my first time using the Data Loading Wizard pages in Apex, so I am a bit lost when trying to customize its workflow

So I have a CHECKLIST_ITEM table which lists all checklist items of a checklist (identified by the ID_Checklist column):

IDID_CHECKLISTChecklist_Content
1121Clean my room
2121Brush my teeth

I want to create a data loading wizard from a checklist page. So when I open the Data Loading Wizard, I already have the ID of the checklist (e.g. 121) and store it in an item (e.g. P1_ID_CHECKLIST).

Meanwhile, my spreadsheet data will not have the ID_CHECKLIST column, only the Checklist_Content column. It looks like this:

Checklist_Content

Eat healthy breakfast

Go to work

So my question is, how to automatically insert the P1_ID_CHECKLIST value to the ID_CHECKLIST column for each row in the imported spreadsheet data?

Any help will be appreciated!

P.S. I am using Apex v5.1.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 17 2017
Added on Apr 19 2017
1 comment
447 views