Question
Lanit BPM
RU
Last activity: 19 Sep 2018 12:33 EDT
Change User Icon task
Hello everybody! My task is to implement a module to change the user's icon. I found an ImageSectionWrapper section where you can load an image, but in the end a pop-up window appears in the browser that says you need to save the page. On this I stopped. I tried to create a button in Action that Save, but an error occurs. I wanted to implement the preservation, similar to how it was done in the operator image change section in Designer Studio, but I did not succeed. Copying a button does not help. I would be very grateful if someone suggested a way to solve my problem. Can there be another native way of changing the user's icon? Thank you in advance!
***Edited by Moderator: Pallavi to update platform capability tags***
Hi,
For upload and Image preview you can use "pzMain" section Which is in Data-Content-mage class. You can customize this section as per your requirements.
You can also check OOTB control 'pzAttachmentThumbnail' avaible in ruleset Pega-EndUserUI:07-10-17 to display the attachment as thumbnail.
Thanks
Tashika