Changes for page Pick up Files

Last modified by Danniar Firdausy on 2024/08/21 16:48

From version 22.6
edited by Danniar Firdausy
on 2024/08/21 16:47
Change comment: There is no comment for this version
To version 19.1
edited by eMagiz
on 2022/06/13 11:35
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.dfirdausy
1 +XWiki.eMagiz
Default language
... ... @@ -1,1 +1,0 @@
1 -en
Content
... ... @@ -1,8 +1,11 @@
1 1  {{container}}{{container layoutStyle="columns"}}(((
2 -In this microlearning, we will explain the basics of retrieving files from a local directory using eMagiz. We will cover the essentials for setting up file retrieval from a directory that is directly accessible within the network where the eMagiz process is running. We will walk you through key concepts, considerations, and best practices to ensure a smooth file handling process.
2 +In this microlearning, we will explain the basics of retrieving files from a local directory (i.e. a directory that is directly accessible within the network where the eMagiz process is running)
3 3  
4 -If you have any questions along the way, feel free to reach out to us at [[academy@emagiz.com>>mailto:academy@emagiz.com]].
4 +Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].
5 5  
6 +* Last update: February 25th, 2021
7 +* Required reading time: 8 minutes
8 +
6 6  == 1. Prerequisites ==
7 7  
8 8  * Basic knowledge of the eMagiz platform
... ... @@ -10,9 +10,16 @@
10 10  == 2. Key concepts ==
11 11  
12 12  This microlearning centers around retrieving files from a local directory via eMagiz.
13 -* With retrieving we mean: Checking with a certain interval if new files are ready to be pulled from the directory by emagiz
14 -* With local directory we mean: A directory that is directly accessible within the network where the eMagiz process is running
16 +By retrieving we mean: Checking with a certain interval if new files are ready to be pulled from the directory by emagiz
17 +By local directory we mean: A directory that is directly accessible within the network where the eMagiz process is running
15 15  
19 +Key considerations when picking up files are:
20 +
21 +* What are the determining criteria to define when a file is "ready" to be picked up (age, pattern, size, etc.)
22 +* With what frequency is eMagiz going to check for new files
23 +* Has eMagiz the appropriate rights to read from the directory where the messages are to be retrieved from
24 +* What is the format (i.e. XML, JSON, EDI, TXT, CSV, etc.) of the files that eMagiz needs to retrieve
25 +
16 16  == 3. Pick up Files ==
17 17  
18 18  One of the easiest connectivity methods to implement within eMagiz is the retrieval of files from a local directory.
... ... @@ -95,7 +95,8 @@
95 95  Files come in many different forms, shapes, and sizes. Due to the wide variety of options, you will need to ensure that the data is processed correctly.
96 96  How to process each message format (i.e. XML, JSON, EDI, CSV, etc.) correctly is explained in other microlearnings where we zoom in on each of the message formats.
97 97  
98 -For learning about picking up files we need to know that in order for eMagiz to process the content of the file in the onramp and further downstream the contents of the file need to be transformed to string.
108 +For learning about picking up files we need to know that in other for eMagiz to
109 +process the content of the file in the onramp and further downstream the contents of the file need to be transformed to string.
99 99  
100 100  There is a component in eMagiz called the file to string transformer. You should place this directly after receiving the file from the external source
101 101  
... ... @@ -111,19 +111,27 @@
111 111  
112 112  With all this in mind, you have successfully learned how to set up your first connectivity via a messaging flow in eMagiz!
113 113  
114 -== 4. Key takeaways ==
125 +== 4. Assignment ==
115 115  
116 -* Criteria for File Retrieval: Determine the criteria for identifying when a file is "ready" to be picked up, such as age, pattern, or size. Ensure these criteria are properly configured to avoid issues with file processing.
117 -* File Formats: Ensure you handle various file formats (e.g., XML, JSON, EDI, CSV) correctly. Use the file to string transformer to process file contents as needed.
118 -* Check Frequency: Decide how frequently eMagiz will check the local directory for new files. You can choose between options like Fixed Delay, Fixed Rate, or Cron Trigger, based on your needs and expected changes in frequency.
119 -* Access Rights: Verify that eMagiz has the necessary permissions to read from the directory and any parent directories. Proper access rights are crucial for successful file retrieval.
127 +Build an entry that retrieves files from an external source and ensures that the data is delivered on the onramp queue.
128 +This assignment can be completed with the help of your (Academy) project you have created/used in the previous assignment.
120 120  
121 -== 5. Suggested Additional Readings ==
130 +== 5. Key takeaways ==
122 122  
123 -If you are interested in this topic and want more information on it please read the help text provided by eMagiz and read the following link:
132 +* Key considerations when picking up files are:
133 + * What are the determining criteria to define when a file is "ready" to be picked up (age, pattern, size, etc.)
134 + * With what frequency is eMagiz going to check for new files
135 + * Has eMagiz the appropriate rights to read from the directory where the messages are to be retrieved from
136 + * What is the format (i.e. XML, JSON, EDI, TXT, CSV, etc.) of the files that eMagiz needs to retrieve
124 124  
125 -* [[Store (Menu)>>doc:Main.eMagiz Store.WebHome||target="blank"]]
126 -** [[Accelerators (Navigation)>>doc:Main.eMagiz Store.Accelerators.WebHome||target="blank"]]
127 -*** [[File Inbound (Store Item)>>doc:Main.eMagiz Store.Accelerators.File Inbound.WebHome||target="blank"]]
128 -* [[Pick up Files (Search Results)>>url:https://docs.emagiz.com/bin/view/Main/Search?sort=score&sortOrder=desc&highlight=true&facet=true&r=1&f_space_facet=0%2FMain.&l_space_facet=10&f_type=DOCUMENT&f_locale=en&f_locale=&f_locale=en&text=%22pick+up+files%22||target="blank"]]
138 +== 6. Suggested Additional Readings ==
139 +
140 +If you are interested in this topic and want more information on it please read the help text provided by eMagiz.
141 +
142 +== 7. Silent demonstration video ==
143 +
144 +This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned.
145 +
146 +{{video attachment="crashcourse-messaging-pick-up-files.mp4" reference="Main.Videos.Microlearning.WebHome"/}}
147 +
129 129  )))((({{toc/}}))){{/container}}{{/container}}