i want to display image in interface but i am unable to do that one can anyone help me for that,
Discussion posts and replies are publicly visible
Hi, check this https://docs.appian.com/suite/help/22.3/Image_Component.html
thanks for the replay and i am unable to display the image in the interface using the code can you please help me with the code example...
You can display images using a!documentImage or a!imageField in an interface. a!imageField can also display images from the web.
Could you please tell which type of images you're trying to display or paste you code here if it is possible.
What are you trying ?
Can you please shear your code or requirement so I can help you.
{ a!imageField( label: "Image", labelPosition: "ABOVE", images: { /*1. images in your enviorment*/ a!documentImage( /*constant for image*/ document: cons!SP_AMAN_IMAGE ), /*2.images from the web*/ /* - Any scheme other than http, https, ftp, tel, and mailto - Invalid URI characters if not already escaped - Empty text string*/ /*image should be public*/ a!webImage( source: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRZwuzq3op1o0SSKRTlfcTE0YtJbkEbuZeCsHPXuI1nlg&s" ), /*3. users image*/ a!userImage( user: loggedInUser() ) }, size: "MEDIUM", isThumbnail: false, style: "STANDARD" ), }
i want to insert the image inside the card layout
inside card layout I want to add the image... is it possible, if possible, can you please send me the code
Please go through the below code, Hope it will help you..
a!cardLayout( contents: { a!imageField( label: "", labelPosition: "COLLAPSED", images: { a!documentImage( document: cons!PA_IMGAP ) }, size: "FIT", isThumbnail: false, style: "STANDARD" ) }, height: "AUTO", style: "NONE", marginBelow: "STANDARD"
Thanks you very much for the solution,