This page (revision-28) was last changed on 26-Nov-2021 10:22 by Kevin Higgs

This page was created on 26-Nov-2021 10:22 by JMyers

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
28 26-Nov-2021 10:22 5 KB Kevin Higgs to previous
27 26-Nov-2021 10:22 5 KB Kevin Higgs to previous | to last
26 26-Nov-2021 10:22 4 KB Kevin Higgs to previous | to last
25 26-Nov-2021 10:22 4 KB Kevin Higgs to previous | to last
24 26-Nov-2021 10:22 4 KB jmyers to previous | to last
23 26-Nov-2021 10:22 4 KB JMyers to previous | to last
22 26-Nov-2021 10:22 4 KB JMyers to previous | to last
21 26-Nov-2021 10:22 4 KB JMyers to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 3 changed one line
!!!Attaching Files in [{$applicationname}] and Self-Service
!!!ATTACHING FILES
At line 6 changed one line
*As binary data in a BLOB column in the database (_DATA)
*As binary data in a [BLOB] column in the database (_DATA)
%%label-primary a _DATA is added the uploaded file will be stored to XXXX_BLOB column / specified table.%%\\
\\
At line 10 added 8 lines
%%label-info a _FILE is added the uploaded file will be stored on the server file system. A record will also be added to specified table with File Name populated but the XXXX_BLOB column will be null%%\\
\\
*Site Preference ‘ATTACHMENTS FLDR’ will be used to define the generic location where the file will be stored.\\
**E.g. ATTACHMENTS FLDR - E:\Highline\FileAttachments\\
*In java we added logic to save the file in a specific location based on the table alias\\
**E.g.
***For uploading a resume, the files will be stored under E:\Highline\FileAttachments\RES folder\\
***For Open Enrollment - E:\Highline\FileAttachments\BOEE\\
At line 19 added 3 lines
The file name in media table is populated with the uploaded file name. Each uploaded file will use the Reference ID and Media code ID in front of the file name to make it distinct (Eg 14736_148_FileName). \\
At line 12 changed one line
The new Form Input Component (FIC) is a modified text field, which displays 3 components:
The Form Input Component (FIC) is a modified text field, which displays three components:
At line 14 changed one line
# File chooser action button, which allows users to browse and attach a new file.
# File chooser action button, which allows users to browse and attach a new file.
At line 22 changed one line
!!Add a File Attachment Column to any Table in the Database (Applies for File and Data)
!!Add a File Attachment Column to any Table in the Database (Applies for File and Data) using IMEC
At line 24 changed one line
#The media code needs to be created for the table for which the file is to be attached. In [IMFDH], the user will need to add 2 form items to represent the new file attachment column as a form item in the form:\\ \\ a) Column with the same column name as the media code.\\ \\b) Column with the same column name as the media code followed by either “_FILE” or a “_DATA”. Adding the “_FILE” column will save attached files to the server file system while adding the “_DATA” column will upload all attached files to the database in the MEDIA_BLOB column of the Media table.\\ \\
#The media code needs to be created for the table for which the file is to be attached. In [IMFD], the user will need to add two form items to represent the new file attachment column as a form item in the form:\\ \\ a) Column with the same column name as the media code.\\ \\b) Column with the same column name as the media code followed by either “_FILE” or a “_DATA”. Adding the “_FILE” column will save attached files to the server file system while adding the “_DATA” column will upload all attached files to the database in the MEDIA_BLOB column of the Media table.\\ \\[AttachingFile_03.jpg]\\ \\Please note that the form item represented on the form should be the “_FILE” or “_DATA” form items (Not both). The other form item should be hidden.\\ \\
#Final result should look like this:\\ \\[AttachingFile_05.jpg]\\ \\
At line 26 changed 2 lines
Please note that the form item represented on the form should be the “_FILE” or “_DATA” form items. The other form item should be hidden.
%%label-warning Deleting an uploaded file will also delete the record from media table and/or the file from the file system (file attachment folder)\\%%
At line 29 changed 2 lines
3. Final result should look like this:
!!Attach Self-Service Implementation (GUI Widget)
At line 32 changed 6 lines
Attach Self-Service Implementation (GUI Widget)
-The new web item displays 2 components:
1) Name and link to open the attached file.
2) File chooser action button, which allows users to browse and attach a new file.
-Clicking on the text link once will open the stored file in a new browser window.
-Upon uploading a new file to attach, the FIC will automatically refresh to display the name of the newly uploaded file.
*The new web item displays two components:\\a) Name and link to open the attached file.\\b) File chooser action button, which allows users to browse and attach a new file.\\ \\
*Clicking on the text link once will open the stored file in a new browser window.\\ \\
*Upon uploading a new file to attach, the FIC will automatically refresh to display the name of the newly uploaded file.
At line 39 changed one line
Example of the set up:
Example of the set up:\\ \\[AttachingFile_06.jpg]\\ \\[AttachingFile_7.jpg]\\ \\[AttachingFile_08.jpg]
At line 41 changed 2 lines
!!Files by Uploading/Downloading Files to/from Server File System (Applies for File Only)
File can be attached by uploading the files directly into the server file system. In fact, this is actually currently the most common method used in the system. When a file is attached using this method, it is uploaded to the server in the directory specified by the LOAD_DATA_FOLDER site preference and stored in a folder with the name of the table alias of the table of the record for which it is attached.\\ \\[AttachingFile_09.jpg]
At line 44 changed one line
!!Attach Media Files to Table Records
%%information Professional Implementation Only%%
Users can attach media files to table records via the Media Dialog by clicking on the Show Media button in the form toolbar. In the Media Dialog, the user can insert or update media records associated with the current record in application focus.\\ \\
Show Media Dialog From Toolbar button in red box\\
[AttachingFile_10.jpg]
At line 46 changed 2 lines
Files by Uploading/Downloading Files to/from Server File System (Applies for _FILE only)
File can be attached by uploading the files directly into the server file system. In fact, this is actually currently the most common method used in the system. When a file is attached using this method, it is uploaded to the server in the directory specified by the LOAD_DATA_FOLDER site preference and stored in a folder with the name of the table alias of the table of the record for which it is attached.
Media Dialog showing attached media file for the current Sites record\\
[AttachingFile_11.jpg]
At line 49 changed 10 lines
Attach media files to table records (Professional Implementation only)
Users can attach media files to table records via the Media Dialog by clicking on the Show Media button in the form toolbar. In the Media Dialog, the user can insert or update media records associated with the current record in application focus.
Show Media Dialog From Toolbar button in red box
Media Dialog showing attached media file for the current Sites record
----
![Notes|Edit:Internal.ATTACHING FILES]
[{InsertPage page='Internal.ATTACHING FILES' default='Click to create a new notes page'}]