Webadi_ configuration Settings 3_ set text Webadi Context (case)

Source: Internet
Author: User
Tags configuration settings

Webadi

This is the third step in building a new integrator, of course, not a step that must be set. Content is the role of the user when downloading the template, you can send the computer's prepared data file to the template, so that the download down the template is a data template, There is no need for user input or copy data.



Content Name:Write casually
Content Type:The main text file and SQL Query, the text file is obviously the user needs to provide a data File, and SQL is directly from the system to fetch into the template. Let's look at the text file first.
Number of Columns:As needed, determine, in general, how many columns of your layout, which is how much to write, corresponds to layout one by one. It can also be less than the layout column, which is passed only for partial columns. But it's better not to be more than the layout column.
Reporting only:No choice, this entry is for downloading data only.

Apply a bit:



Content ColumnsThis is my choice is 3 column, the Display Name can change not to change, change is also for the back building mapping time to see clear point, no practical use.

Content Parameters:It's important to have a parameter list, where Adi has a preset, and we can use it directly:
Parameter list name:Web adi:download "Text File" Parameters
Application:WEB Application Desktop Integrator

Sumbit Modify, and then start building mapping.  The function of mapping is to establish a mapping between the Content field and the interface field, which is the mapping of the data file column to the layout column, which tells Adi each column in the data file to be directed to which column in the template. The mapping process is very simple, but there is a special note, in the second step when we set interface, when the point update to modify the field properties, there is an item called Enabled for Mapping , this field cannot be mapped to content if it is not selected.

Define Mapping
Select the appropriate integrator, the system will query whether there is a built Mapping, if not, click Define Mapping Create a new

Mapping Name:   casually write
Mapping Key:  unique, and capitalize
number of Columns: match the number of columns in content



Select the Content column on the left, and the corresponding interface column on the right. Attention, must choose, hand loses will have the problem.
Submit modification.

Now to preview the Integrator


donwload template, one step will be to select the content and select the newly built.



Content parameter interface,
Local Filename:   Select the data file that is already prepared in this computer, if more than 3 columns, the subsequent columns are ignored, and Adi reads the first 3 columns.
Text file Delimiter: Column delimiter, selected by the actual delimiter in the data file, usually comma or tab.
Delimiter Character: If you select other above, you need to manually enter the delimiter
Ignore consecutive delimiters:   Continuous delimiter is ignored, such as the file has such a format:
         AAA,BBB,,, CCC,  adi will be considered to be 3 columns, if not selected, Adi will consider 5 columns.
Start Importing at line number:   If the data file has a header row, select 2, otherwise lose 1.

Next Download template, you will find that the downloaded template already has data.

http://blog.itpub.net/10359218/viewspace-734499/

Webadi_ configuration Settings 3_ set text Webadi Context (case)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.