Allow expression in image source field
Non planifiéeThe Image Element within a Display Form doesn't seem to allow for an expression as the Image URL. This would be very helpful so we can build the URL string at run time.
Important so you can reuse the workflow on multiple sites and environments and not have to change the Image URL for each one.
Example:
=$strViewerURL + "/Resources/Images/loader-small.gif"
0
-
Form Elements do not allow expressions in their inputs, however it is possible to change their values at runtime by using the Set Form Element Property activity in a subworkflow.
For example, you could add an event handler for the load event on your image. In that subworkflow add the Set Form Element Property activity with the following inputs- Element: (Leave blank to use the element whose event you are responding to)
- Property Name: value
- Property Value: =$strViewerURL + "/Resources/Images/loader-small.gif"
- Markdown: (leave blank)
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire