Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Start the Joget server and open the App Center .

  2. Login as admin and click on Design New App (See Figure below) or click on existing application.
     
     
  3. For new application, fill up the App ID with camel case, App Name and click on Save button. (See Figure below)

  4. Create New Form, fill up Form Details and click on Save button534px. (See Figure below)

  5. In the form, drag two Text Fields and an Image Upload to upload image. (See Figure below)

  6. Fill up the Text Fields and File Upload, for example:
    1. First textfield field with id = 'name'
    2. Second textfield field with id = 'desc'
    3. File Upload field with id = 'image'

  7. Click save and generate a CRUD. (See Figure below)

  8. Edit the newly created datalist and edit the Name column to add the Card Viewer Datalist Formatter. (See Figure below)

  9. Configure the Card Viewer Datalist Formatter by referring to Figure below.

  10. After making sure that you are only displaying the Name column in the datalist, save the datalist.

  11. Next, go to the userview builder and add a new form element. (See Figure below)

  12. After that, edit the CRUD and remove the Form (Edit) and save the userview. (See Figure below)  
  13. If you have followed steps that have been provided, you can click on Preview but nothing will be showed because no data were keyed in the Form yet.

  14. Therefore, you need to fill in the Form that you have been created, for example:
    a. Fill in the Name with 'Alex'
    b. Fill in the Description with 'Working as IT Support'
    c. Upload an image to be displayed in the card.

  15. Finally, you can see the final result in the Userview. (See Figure below)

...

Configure Card Viewer Datalist Formatter

Image Modified


NameDescription
TitleColumn to map values as the card titles. This is a mandatory field.
Description

Column to map values as the description in the card, which will be displayed below the Title textThis is a mandatory field.

HTML is accepted here.

If no valid column detected from data binder, this will be literal string with support for hash variable and syntax like {columnName} to map column IDs from data binder.

URL

Column to map values as the URL to be redirected to when users click the card.

If no valid column detected from data binder, this will be a literal link with support for hash variables and syntax like {columnName} to map column IDs from data binder.

Form to retrieve image from

Select which Form to obtain the image files/paths from.
ImageField from the selected form in Form to retrieve image from property, to map images stored as the card images.

Customize Card Viewer Properties

Image Modified


NameDescription
URL Target

Select where to display the URL of the Card.

  • Current Window
  • New Tab
  • Popup Dialog

...