Show / Hide Table of Contents

    ImportFromClientFileDialog Procedure

    Table tTempBlob

    Prompts the user to upload a file into the blob.

    Signature

    ImportFromClientFileDialog(DialogTitle: Text; FromFilter: Text)
    

    Parameters

    DialogTitle Text

    The text displayed in the prompt.

    FromFilter Text

    The type of file that can be uploaded to the server. A user can try to upload any file type but an error occurs if the file is not the specified type.

    A filter string should contain a description of the filter, followed by a vertical bar and the filter pattern. You must also separate multiple filter description and pattern pairs with a vertical bar, and you must separate multiple extensions in a filter pattern with a semicolon.

    Example: Image files (*.bmp, *.jpg)|*.bmp;*.jpg|All files (*.*)|*.*

    Example

    Prompt the user to upload an image, but allow any file type:

    tTempBlob.ImportFromClientFileDialog('Please upload an image!', 'Image files (*.bmp, *.jpg)|*.bmp;*.jpg|All files (*.*)|*.*');
    

    This documentation is generated from Smart Toolbox v27.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX