Answered

Display picture on form

Hi

I would like to display a picture on a form to help provide guidance to the user on how to fill in the form for a particular activity/step. I've searched the forum and found similar questions, but none of the answers seem to fit.

To clarify, I do not want to add an image control that is bound to case data. I want to be able to display an image that is part of the display of the form, not part of the case data.

Is this possible? If so, can you please provide guidance as to how I can get this to work?

Kind thanks in advance.

Best Answer
photo

Dear Sam,

In order to show an image in your form, you need to follow these steps:

  • Create a parameter entity and set at least two attributes: description (String control) and picture (image control).
  • Create a relationship from the new parameter entity to your process entity
  • Add the picture attribute to your form. You need to set it as Editable=NO.
  • Using the work portal, add a value to the parameter entity. normally the id of the value is 1.
  • After that, create an expression on enter of the task (Activity Action) in order to set as default the value of the entity.
  • After those steps, you will be able to see the picture as no editable and already set.

Best Regards

Comments (5)

photo
0

Dear Sam,

In order to show an image in your form, you need to follow these steps:

  • Create a parameter entity and set at least two attributes: description (String control) and picture (image control).
  • Create a relationship from the new parameter entity to your process entity
  • Add the picture attribute to your form. You need to set it as Editable=NO.
  • Using the work portal, add a value to the parameter entity. normally the id of the value is 1.
  • After that, create an expression on enter of the task (Activity Action) in order to set as default the value of the entity.
  • After those steps, you will be able to see the picture as no editable and already set.

Best Regards

photo
1

Hello!

How can I do this

  • After that, create an expression on enter of the task (Activity Action) in order to set as default the value of the entity .

set as default the value of the entity, this is the part that I don't know how to do it, can you help me please?

thanks.

photo
photo
1

Hi Juan,

We did as mentioned but still image is not displayed on form, kindly help us.

  • Create a parameter entity and set at least two attributes: description (String control) and picture (image control).
  • Create a relationship from the new parameter entity to your process entity
  • Add the picture attribute to your form. You need to set it as Editable=NO.
  • Using the work portal, add a value to the parameter entity.
  • After that, create an expression on enter of the task (Activity Action) in order to set as default the value of the entity.
  • After those steps, you will be able to see the picture as no editable and already set.
  • Thanks,

    KK

    photo
    1

    hi Team,

    Bizagi 11 version

    Implemented as mentioned earlier in one of the ticket but image is not displayed on form, please suggest.

    1) Created parametric entity with one of the attribute as image type and one with code

    2)Added values with images from work portal

    3)Created expression to set default image

    Thanks,

    KK

    photo
    1

    Dear kktech,

    Please send us the steps that you have done through some screenshots.

    We look forward to hearing from you

    photo