I have a requirement, need to display image in screen based on change in property like I have a pagelist named as Document, inside it there is property "Document ID", so for every "Document ID", need to display seperate image. Could you please help me out. I tried with Display image inline control, but everytime it is showing same image.
Attaching screenshot for your reference.
***Edited by Moderator Marissa to update Platform Capability tags****
You should be able to use normal image control to do this.
2 ways that I can think of.
1. In your pagelist along with document id also hold the image url like : /webwb/img1.png and display that from the image control.
2. Have your pagelist created of different classes. Say if your page list class is a-b-c then have a-b-c-img1, a-b-c-img2 and so on class created. At run time based on the image you want to display change class of each tuple in your pagelist. Create sections (with same name) with image control in each of those classes with your required image. Have a dummy section with the same name in class a-b-c.
I would prefer option 1 (Simple and fits your requirement)
Posted: 11 months ago
Posted: 3 Sep 2021 11:54 EDT
Pratibha Sharma (PratibhaS9329)