Posted: 13 Oct 2017 16:18 EDT Last activity: 16 Oct 2018 12:03 EDT
Close downloaded image automatically on Case Closure
I have a business problem. A case has a link to download an attachment. The file is not case attachment. From an external table we get the BLOB data and we are downloading the image through java API. This is not only image , files are mostly TIFF or PDF . Those are saved through the table through scan. The downloading is working fine. But, closing the window is not possible as this is being opened in Windows Photo Viewer after downloading and opening. So, there is no way we can have the context of the image from Case to close it. So, here is the alternate solutions I have tried.
I tried to open the image in the section itself. For that I tried to use <IMG SRC="<the image path>". In the image path I have given the exact path of the Service Export directory where the image resides after creation of it from the BLOB data. But , that way the image is not showing up. I also tried to give the whole bytestream of the image in the src element. As tiff is not being transferred to base64 , hence this is also not working.
Can any one suggest any alternate solution?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.