Platform Business table field settings

Source: Internet
Author: User

There is a "Field settings" function button in the Business Table management interface of the rapid development platform, click Enter as shown below:

650) this.width=650; "id=" aimg_1680 "src=" http://bbs.delit.cn/data/attachment/forum/201606/16/ 173034ee9p3nmes9megbnb.png.thumb.jpg "width=" 399 "height=" 157 "alt=" 173034ee9p3nmes9megbnb.png.thumb.jpg "/>

650) this.width=650; "id=" aimg_1681 "src=" http://bbs.delit.cn/data/attachment/forum/201606/16/ 173055vhpopfibpjt7pb8p.png.thumb.jpg "width=" "height=" 199 "alt=" 173055vhpopfibpjt7pb8p.png.thumb.jpg "/>


We see that the field settings interface is similar to the database table creation interface and that each field can be set in addition to the new field. So what's the function of setting properties in the Business table field?

Business Scenario:

The three departments of the Information section, the Office and the Finance Department all require their own department homepage, which is used for uploading documents for the whole unit to view the reading. However, due to the different departments of business, the classification of documents and materials are different, Information section (Information system, training manuals, software updates, network information ...) ), Office (Rules and regulations, procedures, documents download, notice of announcements), Finance Section (Notice, Financial Regulations ...). )

Through the analysis found that to achieve the business requirements of three departments, the database table fields created are actually the same (author, date, title, text, attachments, file classification, departments); But because of the files uploaded by the departments to classify and query the display, so the contents of the File classification field can not be entered by the user casually, You can only select one in a given range, that is, the Set File category field is a single selection or a table selection; But each section of the file classification is different, whether it is a single choice or his table selection is not the way to implement the File Classification field option in the same database between departments Can you really only create three database tables separately?

In order to be able to use a database table to realize the business requirements described above, the measurement of rapid development Platform Business table field setting function was born.

field setting function: used to set field properties of fields in the same database table in different business tables;

Business implementation:

First step: Create a database table

650) this.width=650; "id=" aimg_1682 "src=" http://bbs.delit.cn/data/attachment/forum/201606/16/ 173157vctcmamitemt4in4.png.thumb.jpg "width=" 399 "height=" 108 "alt=" 173157vctcmamitemt4in4.png.thumb.jpg "/>

Step Two: create the business table separately and set the attribute for the category field in the Business table

Information section Editorial Business table:

650) this.width=650; "id=" aimg_1683 "src=" http://bbs.delit.cn/data/attachment/forum/201606/16/ 173224l2j73w88k2jvdkw3.png.thumb.jpg "width=" "height=" 290 "alt=" 173224l2j73w88k2jvdkw3.png.thumb.jpg "/>

650) this.width=650; "id=" aimg_1684 "src=" http://bbs.delit.cn/data/attachment/forum/201606/16/ 173323xj8x5sl833j3i15c.png.thumb.jpg "width=" "height=" 168 "alt=" 173323xj8x5sl833j3i15c.png.thumb.jpg "/>

650) this.width=650; "id=" aimg_1685 "src=" http://bbs.delit.cn/data/attachment/forum/201606/16/ 173334pq60v0uqgvuuaov6.png.thumb.jpg "width=" "height=" 219 "alt=" 173334pq60v0uqgvuuaov6.png.thumb.jpg "/>

The Office and Finance Branch business tables are created in a similar manner as above, and are not described here.

Effect Show:

Information Section Editor:

650) this.width=650; "id=" aimg_1686 "src=" http://bbs.delit.cn/data/attachment/forum/201606/16/ 173503un67xzyci375r3z7.png.thumb.jpg "alt=" 173503un67xzyci375r3z7.png.thumb.jpg "/>

Office Column Editor:

650) this.width=650; "id=" aimg_1687 "src=" http://bbs.delit.cn/data/attachment/forum/201606/16/ 173533ajwmb4lsla3jngsf.png.thumb.jpg "alt=" 173533ajwmb4lsla3jngsf.png.thumb.jpg "/>

Section editor of Finance Section:

650) this.width=650; "id=" aimg_1688 "src=" http://bbs.delit.cn/data/attachment/forum/201606/16/ 173601uyy2hxgy05yo3hdo.png.thumb.jpg "alt=" 173601uyy2hxgy05yo3hdo.png.thumb.jpg "/>


Database Query Results:

650) this.width=650; "id=" aimg_1689 "src=" http://bbs.delit.cn/data/attachment/forum/201606/16/ 173631e12w44c10b443wsd.png.thumb.jpg "alt=" 173631e12w44c10b443wsd.png.thumb.jpg "/>



Original address: http://bbs.delit.cn/thread-1072-1-1.html

Reprint please indicate the source:

Author: metric Technology http://www.delit.cn


Platform Business table field settings

Related Article

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.