[Reporting and Traditional Reporting] Upload Component

vividime-Club Show all floors Published on 2024-12-24 11:23:29 |Reading mode print Previous Topic Next Topic
1
Unresolved
How to upload component ?
reply

Using props report

Exciting comments1

vividime-Club Show all floors Published on 2024-12-24 11:23:48
1.Function Introduction
The location of the upload components is shown below.
In [Settings] on the right side of the upload component, the upload file type and format can be selected in the table below.
File type
Format
Documentation
Word(*.doc, *.docx)
Excel(*.xls, *.xlsx)
CSV(*.csv)
PowerPiont(*.ppt, *.pptx)
PDF(*.pdf)
Text(*.txt)
Image
jpg, png, gif, jpeg, bmp

[File size] Limit the size of files upload by users, the default is 1024 KB, and the maximum can be set to 100MB.
[Display image] When the file type contains the image, check the display image, check, the upload image will be displayed, do not check the file name will be displayed.
2. Upload
Create a new dashboard, drag a form parameter component and upload component. Bind data "ID" and "SHOP" in the form parameter component.
Click the top menu [Form> Form mapping], set the form mapping relationship, and set the commit type as intelligent commit. The upload component has two column relationships to be set, file and file name. The file needs to correspond to blob, longblob and such binary type database fields, and the file name corresponds to the string type field, as illustrated in following figure.
Preview dashboard. Click on the upload component, and select the picture to upload, and then click on commit, as shown in the figure below.
➢Explain:
After upload, the file is only cached, and you need to click the commit. After successful commit, the file can only be written to the database.

reply

Using props report

Advanced mode
You need to log in before you can reply to the post login | Free registration

© 2024 VIVIDATA PTE. LTD. All Rights Reserved. Privacy Statement