Advanced Print Views in Change Order Workspace

Advanced Print Views in Change Order Workspace

bmatthews8LS6L
Enthusiast Enthusiast
666 Views
4 Replies
Message 1 of 5

Advanced Print Views in Change Order Workspace

bmatthews8LS6L
Enthusiast
Enthusiast

We have a test Advanced Print View and all is working except a Company logo image.  The Insert/Edit image dialog box has a source field but does not give the ability to upload / attach like the logo manager does.  What is expected to be entered here?

0 Likes
667 Views
4 Replies
Replies (4)
Message 2 of 5

bmatthews8LS6L
Enthusiast
Enthusiast

bmatthews8LS6L_0-1630073283073.png

 

0 Likes
Message 3 of 5

philipfrench
Collaborator
Collaborator

I never used the insert dialog box in your picture, I always paste in an example using HTML.

So try going to the HTML source (in the editor click on the "<>" button), and where you want your logo, try something the below.

 

This will pull in pull in a value from an external website, eg your company website.

 

(Note if you are using your APV to generate an email notification, then when it appears in Outlook, it may prompt the user to "download external links". OR... it might make the heuristics scanner suspicious and not deliver the email.)

 

<img title="Company LOGO" src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Autodesk_Logo.svg/330px-Autodesk_Logo.svg.png" alt="Autodesk LOGO" width="45" height="59" />



 

0 Likes
Message 4 of 5

bmatthews8LS6L
Enthusiast
Enthusiast

I get that there are some types of workarounds, but....  In another admin area called system configuration is a Logo Manager that does exactly this.  It is not "looking for" an image file, it is uploaded.   I guess I should put this in the ideas area

 

0 Likes
Message 5 of 5

philipfrench
Collaborator
Collaborator

It's not a workaround in my view.

Logo Manager and Print View are doing fundamentally different things, when you consider how they are normally used.

 

Logo Manager is requesting you to store a file, which is held internally in Fusion 360 Manage.

When you arrive at a FM page, the logo is there - yes - and this is served to you from the Autodesk cloud - to which you are authenticated. It is an image link, back to FM, that your browser will then retrieve and display for you.

 

I mean, if you tried to access the picture URL directly, in an unauthenticated browser window, it would demand that you authenticate. Bear with me...

 

The Print View is not just used for popping up window that you can print from. In fact, it is used much more often to generate custom email notifications. You can send/create a custom email using an action script, and it forms the body of the email for you, needing almost no code.

 

I imagine it is used more often for email templates, and than "printing something out on a printer", which we try to discourage wherever possible in the PLM space.

 

In this case, if you generate an HTML email body with an image link that points back to Autodesk cloud, your email client is not authenticated to the cloud, and therefore could not display the image.

 

If you really are just intending your print view to be used for printing, I agree, it doesnt matter where the image is served from.

 

BTW You can always store a library of images in FM itself, in a workspace eg called Reference Pictures.

Some of my customers do this to store the images of their suppliers, for example.

You can pick the supplier in a picklist, and bring in their image as a derived field.

 

You can then insert that FM-stored pictures in your Print View using something like this:

<img style="float: right;" title="Customer LOGO" src="servlets/ImageServlet/?imageid=${item.itemDetails.sections[&quot;Advanced Print View&quot;].fields.CUSTOMER_LOGO_FILE_ID.value}" alt="Supplier LOGO" width="180" height="70" /></td>

 In this case, the "&quot" is simply because the section name must go in quotes, which need escaping.

0 Likes