Hi All,
has anyone been able to get the image (from an image field) to work in an advanced print view.
it seems to work in basic however i must be doing something wrong because it wont showup in the advanced print view.
James
Solved! Go to Solution.
Hi James,
This is a known issue with the Advanced Print View printing images and is being looked at by the PLM 360 Development Team for resolution.
John Hill
If the "image display in advanced print views" issue was fixed in 2012, it looks to have reappeared/regressed. I am having no success in getting an image to appear in an advanced print view.
Has something changed recently? Either a tag or a regression?
Thank you,
Hi Bill,
I'm looking back on the history of this issue and have reached out to the team to gather more information.
I'll let you know when I have more data to share.
John
Thanks John. In the mean time, the regular [basic] print view does include images when used so I can at least show that it is possible to include an image in a print view.
-Bill
Hi Bill,
I have a solution for you to use when adding an image to an Advanced Print View.
If you look at the screen shot of my Advanced Print View configuration below, you can see that I’ve added to the formula for the Test_Image field to allow for an image from the record to be displayed and then printed.
What you want to do is copy the text below in red and add it before and after the formula that is created when you add an image field to your Advanced Print View.
<img src="/servlets/ImageServlet/?imageid=${item.itemDetails.sections["PLM 360"].fields.TEST_IMAGE.value}" height="60">
You can manipulate the size of the image on the Advanced Print View by increasing or decreasing the height value from “60”.
John
this does not work if the advanced print view is used as an email.
that puts me back at square 1
i cannot use the print button because PLM is unable to render my CSS so i have to have it email me then print from the email (this is very painfull)
currently i have to have the advanced print view sent to me via email on a transition, then i need to download the images that are in PLM, edit the email then insert the images
just so i can have a report that looks OK
thanks John for putting up this workaround, just a little frusterated that these issues havent been addressed in over a year
James
Interestingly, unlike others, cut and paste didn't work for me. There is something askew in the code.
<img src="/servlets/ImageServlet/?imageid=${item.itemDetails.sections["Vision Document Review"].fields.PRODUCT_IMAGE.value}" height="100">
Results in...
So I've got one or two issues
Hi Bill,
Can you try a different image in the Product_IMAGE field and see if that has an impact?
Your use of the code looks correct.
I confirmed that using this code is working in my Advance Print View.
John
John,
I've tried swapping out images and even using other DSIDs from the WS, and everything comes up the same...
The WS field data type is Image. The user specifies the image which uploaded to the tenant for use. So, nothing unusual there.
I tried changing WS owners to see if it is related to some obscure permissions thing. No change.
Any other suggestions?
Thanks,
Using the Advanced Print I cannot see the image that I have in my WS. Tried the trick mentioned in this thread and result is the same. is this a known issue or am I missing something?
Can you send me screen shots of your Advanced Print View and and the results when you run it?
I cannot see the screenshots. Can you add them as attachments?
Hi James,
I went ahead and escalated this to a ticket, as I want to track this issue more closely.
The cause of the pain for this is PLM360 tracks all Images of this nature by a given value per tenant.
Example:
<img data-dojo-type="dojox/image/Lightbox" title="picture" data-dojo-props="href:'/servlets/ImageServlet/?imageid=47'" src="/servlets/ImageServlet/?imageid=47" style="display: inline;" id="dojox_image_Lightbox_0" widgetid="dojox_image_Lightbox_0">
When you examine the image on the items details page you can see that it is referenced by a value not a location. So when you ask for the image back by scripting (in this case HTML) you get the value back which in this case is 47.
I am working on a universal snippet of code that you can replace the current advance print view code with that will translate the value to a location and show the picture.
This however may take a day or two but when completed I will update you by case and the forums as well, so everyone can benefit.
Hello,
I am trying to display image in Advance Print View, i have used 'Image' data type(image 1) and in Advance Print View i am using <img src="/servlets/ImageServlet/?imageid=${item.itemDetails.sections["Basic Info"].fields.IMAGE.value}" height="100"> (image 2), but not getting success to display image. Please let me know that what i have missed and where i can give the image url. Please look into following images:
image 1
image 2
Thanks & Regards,
Harish Bhaskar
Can't find what you're looking for? Ask the community or share your knowledge.