We will dedicate the next few sections to understand the uploading of files. The process of uploading as coded on page 5 of the reference application is as follows:
The user clicks on the UPDATE button. We have an UPDATE button on every row of the report in page 5. Use the following screenshot for your assistance. Clicking on this button sets the value of the
P5_EMPLOYEE_ID page item to the selected employee ID using the Update profiles Dynamic Action. The code that does this is discussed in the Using DA to set page items and side effects of PPR section. The label of the
P5_FILEOBJECT item uses
P5_EMPLOYEE_ID as a substitution variable. So the label of
P5_FILEOBJECT always has the selected employee ...