PLM 360 General Discussion

PLM 360 General Discussion

Reply
Active Member
jamest
Posts: 15
Registered: ‎09-27-2012
Message 1 of 17 (428 Views)
Accepted Solution

Advanced Print view images

428 Views, 16 Replies
12-20-2012 11:15 PM

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

Product Support
JohnCHill
Posts: 351
Registered: ‎03-27-2012
Message 2 of 17 (418 Views)

Re: Advanced Print view images

12-21-2012 06:17 AM in reply to: jamest

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



John Hill
Support Specialist
Product Support
Autodesk, Inc.
Valued Contributor
Bill.Bogan
Posts: 94
Registered: ‎03-06-2013
Message 3 of 17 (347 Views)

Re: Advanced Print view images

11-11-2013 08:40 AM in reply to: JohnCHill

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,

Product Support
JohnCHill
Posts: 351
Registered: ‎03-27-2012
Message 4 of 17 (333 Views)

Re: Advanced Print view images

11-12-2013 06:00 AM in reply to: Bill.Bogan

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

 

 



John Hill
Support Specialist
Product Support
Autodesk, Inc.
Valued Contributor
Bill.Bogan
Posts: 94
Registered: ‎03-06-2013
Message 5 of 17 (327 Views)

Re: Advanced Print view images

11-12-2013 07:17 AM in reply to: jamest

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

Product Support
JohnCHill
Posts: 351
Registered: ‎03-27-2012
Message 6 of 17 (303 Views)

Re: Advanced Print view images

11-20-2013 08:49 AM in reply to: Bill.Bogan
Spoiler
 

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.

 

Bill Bogan.png                      

 

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



John Hill
Support Specialist
Product Support
Autodesk, Inc.
Active Member
james.n.tennent
Posts: 12
Registered: ‎09-10-2008
Message 7 of 17 (294 Views)

Re: Advanced Print view images

11-20-2013 06:35 PM in reply to: JohnCHill
Thanks John,
this works quite well however still shows the image frame on the print view even if there is no image to display which is still a little messy but better than not having the images at all

James Tennent
Active Member
jamest
Posts: 15
Registered: ‎09-27-2012
Message 8 of 17 (287 Views)

Re: Advanced Print view images

11-20-2013 09:14 PM in reply to: james.n.tennent

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 

 

Valued Contributor
Bill.Bogan
Posts: 94
Registered: ‎03-06-2013
Message 9 of 17 (262 Views)

Re: Advanced Print view images

11-27-2013 10:11 AM in reply to: JohnCHill

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...

Workspace_03.jpg

 

So I've got one or two issues

  1. Missing image - unless the code is making it hiccup.
  2. Missing quotes or something of that nature - unless the broken image link is causing the hiccup.

 

Product Support
JohnCHill
Posts: 351
Registered: ‎03-27-2012
Message 10 of 17 (258 Views)

Re: Advanced Print view images

11-27-2013 11:13 AM in reply to: Bill.Bogan

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 Hill
Support Specialist
Product Support
Autodesk, Inc.
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.