Skip to content

Commit 1a91348

Browse files
Merge pull request #210 from DomoApps/arun.raj/connectors-DOMO-484068-CSV-Advanced
Add file name match type field in details section
2 parents 67299bb + 8a26abb commit 1a91348

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

s/article/360043436513.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ In this pane you choose a protocol (HTTP request or SFTP file transfer) then fil
4949

5050
</Note>
5151

52-
<table border="1" cellpadding="1" cellspacing="1" data-aura-rendered-by="33:201;a"><thead><tr><th colspan="1" rowspan="1"><p> Menu </p></th><th colspan="1" rowspan="1"><p> Description </p></th></tr></thead><tbody><tr><td colspan="1" rowspan="1"><p> Protocol </p></td><td colspan="1" rowspan="1"><p> Select a protocol for accessing the CSV file. </p><p> Use SFTP to access a CSV file located on an SFTP server. </p><p> Use HTTP Request to access a CSV file using an HTTP GET request. The request is triggered by the use of a unique URL parameter defined by the service providing the CSV file. </p></td></tr><tr><td colspan="1" rowspan="1"><p> URL </p></td><td colspan="1" rowspan="1"><p> Enter the URL for the CSV file. </p><p><span> If using the File Transfer protocol, enter the URL to the folder containing the CSV file. For example: s <a href="ftp://hostname/home/test" rel="noopener" target="_blank"> ftp://hostname/home/test </a>. You'll also have to include the port in the URL if the SFTP server is not configured to run on the standard port 22. The 1234 port specific URL would look like s <a href="ftp://hostname:1234/home/test" rel="noopener" target="_blank"> ftp://hostname:1234/home/test </a></span></p> <Note><div class="info-box-wrapper"><div class="info-box-icon-container"></div><div class="info-box-content-container"><div class="info-box-content"><b> Note: </b> Due to security concerns, Domo no longer permits uploading data using FTP. If necessary, please update your server settings to support SFTP instead of FTP. </div></div></div> </Note><p> If using the HTTP Request protocol, enter the full URL for the CSV file. You must provide the URL as well as the fully qualified path, including the filename. For example: <span class="nowiki"><span class="mt-font-courier-new"><a href="http://www.ferc.gov/docs-filing/eqr/...v/contract.txt" rel="noopener" target="_blank"> http://www.ferc.gov/docs-filing/eqr/...v/contract.txt </a></span></span></p><p> If you are using the SFTP protocol, you can request a file for a specific date. You need to name your file using the format <span class="mt-font-courier-new"> `file_[yyyyMMdd]_suffix.csv` </span>. You can also select the most recent file using the format <span class="mt-font-courier-new"> filenameprefix_[latest] </span>. </p></td></tr><tr><td colspan="1" rowspan="1"><p> File Location Method </p></td><td colspan="1" rowspan="1"><p> Select whether you want to select a specific file from the specified directory or search for a file name. </p></td></tr><tr><td colspan="1" rowspan="1"><p> File Name </p></td><td colspan="1" rowspan="1"><p> Enter the name of the file to search for. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Directory File </p></td><td colspan="1" rowspan="1"><p> Select a file from the specified directory. You can select a CSV or GZ file to parse or a ZIP file to unzip. </p></td></tr><tr><td colspan="1" rowspan="1"><p> File Type </p></td><td colspan="1" rowspan="1"><p> Select the file type for the file you want to access. </p></td></tr><tr><td colspan="1" rowspan="1"><p> HTTP Headers </p></td><td colspan="1" rowspan="1"><p> Enter additional headers for your HTTP/HTTPS CSV URL, if necessary. Use the format <span class="mt-font-courier-new"> header Name1 = 'headerValue1' </span> and <span class="mt-font-courier-new"> headerName2 = 'headerValue2' </span>. </p></td></tr><tr><td colspan="1" rowspan="1"><p> HTTP Body </p></td><td colspan="1" rowspan="1"><p> Enter additional request body for your HTTPS CSV URL, if necessary. </p></td></tr><tr><td colspan="1" rowspan="1"> Convert Double type to Decimal </td><td colspan="1" rowspan="1"> Select this checkbox to convert Double to Decimal. </td></tr><tr><td colspan="1" rowspan="1"> Cast Columns to String Datatype </td><td colspan="1" rowspan="1"> Enter a comma separated list of fields that need to be treated as <b> STRING </b> in Domo. </td></tr></tbody></table>
52+
<table border="1" cellpadding="1" cellspacing="1" data-aura-rendered-by="33:201;a"><thead><tr><th colspan="1" rowspan="1"><p> Menu </p></th><th colspan="1" rowspan="1"><p> Description </p></th></tr></thead><tbody><tr><td colspan="1" rowspan="1"><p> Select the Protocol to access the CSV File </p></td><td colspan="1" rowspan="1"><p> Select a protocol for accessing the CSV file. </p><p> Use SFTP to access a CSV file located on an SFTP server. </p><p> Use HTTP Request to access a CSV file using an HTTP GET request. The request is triggered by the use of a unique URL parameter defined by the service providing the CSV file. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Enter the URL to your CSV file </p></td><td colspan="1" rowspan="1"><p> Enter the URL for the CSV file. </p><p><span> If using the File Transfer protocol, enter the URL to the folder containing the CSV file. For example: s <a href="ftp://hostname/home/test" rel="noopener" target="_blank"> ftp://hostname/home/test </a>. You'll also have to include the port in the URL if the SFTP server is not configured to run on the standard port 22. The 1234 port specific URL would look like s <a href="ftp://hostname:1234/home/test" rel="noopener" target="_blank"> ftp://hostname:1234/home/test </a></span></p> <Note><div class="info-box-wrapper"><div class="info-box-icon-container"></div><div class="info-box-content-container"><div class="info-box-content"><b> Note: </b> Due to security concerns, Domo no longer permits uploading data using FTP. If necessary, please update your server settings to support SFTP instead of FTP. </div></div></div> </Note><p> If using the HTTP Request protocol, enter the full URL for the CSV file. You must provide the URL as well as the fully qualified path, including the filename. For example: <span class="nowiki"><span class="mt-font-courier-new"><a href="http://www.ferc.gov/docs-filing/eqr/...v/contract.txt" rel="noopener" target="_blank"> http://www.ferc.gov/docs-filing/eqr/...v/contract.txt </a></span></span></p><p> If you are using the SFTP protocol, you can request a file for a specific date. You need to name your file using the format <span class="mt-font-courier-new"> `file_[yyyyMMdd]_suffix.csv` </span>. You can also select the most recent file using the format <span class="mt-font-courier-new"> filenameprefix_[latest] </span>. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Would you like to enter a file name to search for or select a file to retrieve every time </p></td><td colspan="1" rowspan="1"><p> Select whether you want to select a specific file from the specified directory or search for a file name. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Enter File Name </p></td><td colspan="1" rowspan="1"><p> Enter the name of the file to import into Domo. To import the most recently modified file, add [latest] to the file name prefix.<br/>
53+
<b>Example:</b> Enter <i>myfile[latest]</i> to import the most recently modified file with the prefix myfile.
54+
</p></td></tr><tr><td colspan="1" rowspan="1"><p> File Name Match Type </p></td><td colspan="1" rowspan="1"><p> Select the file name match type.<br/>
55+
<Note>**Note:**: If you select **File Name Contains String** or **File Name Starts With String**, the most recently uploaded file is retrieved. </Note>
56+
</p></td></tr><tr><td colspan="1" rowspan="1"><p> Select a file from the above directory </p></td><td colspan="1" rowspan="1"><p> Select a file from the specified directory. You can select a CSV, TXT or GZ file to parse or a ZIP file to unzip. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Select a file type </p></td><td colspan="1" rowspan="1"><p> Select the file type for the file you want to access. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Enter the CSV file from the zip archive </p></td><td colspan="1" rowspan="1"><p> Enter the CSV file to parse from the zip file. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Select a file from the Zip archive </p></td><td colspan="1" rowspan="1"><p> Select a CSV file to parse from the unzip folder. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Enter a filename from inside the Zip archive </p></td><td colspan="1" rowspan="1"><p> Enter the name of the file to parse from the ZIP archive. If you leave this field blank, the first file found is processed. </p></td></tr><tr><td colspan="1" rowspan="1"><p> HTTP Headers </p></td><td colspan="1" rowspan="1"><p> Enter additional headers for your HTTP/HTTPS CSV URL, if necessary. Use the format <span class="mt-font-courier-new"> header Name1 = 'headerValue1' </span> and <span class="mt-font-courier-new"> headerName2 = 'headerValue2' </span>. </p></td></tr><tr><td colspan="1" rowspan="1"><p> HTTP Body </p></td><td colspan="1" rowspan="1"><p> Enter additional request body for your HTTPS CSV URL, if necessary. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Date Format </p></td><td colspan="1" rowspan="1"><p> Select the required date format. Use this option to correct incorrectly formatted dates. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Add file name column </p></td><td colspan="1" rowspan="1"><p> Adds the retrieved file name to the dataset in the <b>_BATCH_FILE_NAME_</b> column. If you select this option, only columns in the header row are used. Data without a column name in the header row is excluded. A blank column name is considered a column name. </p></td></tr><tr><td colspan="1" rowspan="1"> Convert Double type to Decimal </td><td colspan="1" rowspan="1"> Select this checkbox to convert Double to Decimal. </td></tr><tr><td colspan="1" rowspan="1"> Update only if the source file is modified </td><td colspan="1" rowspan="1"> Choose whether to retrieve and update data only if the source file has changed since the last execution. </td></tr><tr><td colspan="1" rowspan="1"> Cast Columns to String Datatype </td><td colspan="1" rowspan="1"> Enter a comma separated list of fields that need to be treated as <b> STRING </b> in Domo. </td></tr></tbody></table>
5357

5458
## Advanced Pane
5559

0 commit comments

Comments
 (0)