View all Blog posts
Uncategorized

Tip Tuesday! Pretty as a Picture in PLM 360

By     MAY 6, 2014

Today’s tip is how to display a picture in an Advanced Print View – Joe Piggee from our support team wrote up a detailed example of how it use an image in an Advance Print View on our forum.  I’ll walk through an additional example here showing how to create a print view for the Products workspace.

products_ws

To be able to use that image in a print view, you need need to tweak the code a bit – nothing too scary, promise!  Set up your advanced print view with the section that has the image field.

widget

You need to modify the highlighted line (field for image):

apv_setup_inital

Wrap this in  <img src="/servlets/ImageServlet/?imageid=" height="60">  {Note: you can alter the height as needed – your image field will go in after the ‘?imageid= bit}

So the result is: <img src="/servlets/ImageServlet/?imageid=${item.itemDetails.sections["Product Design"].fields.IMAGE.value}" height="60">

apv_setup_final

And the resulting Advanced Print View comes out as such:

apv_result

In addition to the help, there are a few previous blogs for Using Advanced Print Views and Getting even more advanced with Advanced Print Views.

–Michelle