<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Print View - images not working in Modern UI in Fusion Manage Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-manage-forum/print-view-images-not-working-in-modern-ui/m-p/10814507#M915</link>
    <description>&lt;P&gt;I tried copying my source code over to a new APV, and for me that works the same as before. Also editing and saving on that new APV again does not alter the "/" in front of the servlets string.&lt;/P&gt;&lt;P&gt;We're using Modern.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you would still like a screen share.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Dec 2021 13:44:08 GMT</pubDate>
    <dc:creator>catot</dc:creator>
    <dc:date>2021-12-10T13:44:08Z</dc:date>
    <item>
      <title>Print View - images not working in Modern UI</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/print-view-images-not-working-in-modern-ui/m-p/10773608#M912</link>
      <description>&lt;P&gt;This example below used to work in Classic and Modern.&lt;/P&gt;&lt;P&gt;However, now it is not working in Modern.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the correct / official way to refer to an image field to render in a Print View?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue seems to be that Modern uses a different base url to classic... COMBINED WITH... the Print View source editor is removing any initial "/" when I save.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The effect is that I want to save a source url like this:&lt;/P&gt;&lt;P&gt;src="/servlets/ImageServlet/?imageid=${item.itemDetails.sections[&amp;amp;quot;Advanced Print View&amp;amp;quot;].fields.CUSTOMER_LOGO_FILE_ID.value}&lt;/P&gt;&lt;P&gt;But the editor is stripping (removing) the initial "/". So "/servlets" becomes "servlets".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In classic this is not a problem, because the Print View is launched in not-relative way.&lt;/P&gt;&lt;P&gt;In Modern, it does not work, because the links seem to be relative to a deeper URL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result - I cannot enter a URL that downloads either /servlets/ImageServlet, or /api/v3/xxx or /api/v2/xxx, because the leading "/" is removed by the APV editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even if I used the "insert artefact" option, to generate the table, this gives me a suggested link eg:&lt;/P&gt;&lt;P&gt;${item.itemDetails.sections["Image Details"].fields.IMAGE_CLOSEOUT.value}&lt;/P&gt;&lt;P&gt;Well, that just gives me the integer number of the field, certainly not a picture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to get image links working in Modern? Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is currently blocking migration to Modern UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apv_issue.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/992279i0BB22235CD1B6E73/image-size/large?v=v2&amp;amp;px=999" role="button" title="apv_issue.jpg" alt="apv_issue.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 13:44:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/print-view-images-not-working-in-modern-ui/m-p/10773608#M912</guid>
      <dc:creator>philipfrench</dc:creator>
      <dc:date>2021-11-22T13:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Print View - images not working in Modern UI</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/print-view-images-not-working-in-modern-ui/m-p/10814222#M913</link>
      <description>&lt;P&gt;Phil,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got this working on our tenant:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;!--&amp;lt;img src="/servlets/ImageServlet/?imageid=${item.itemDetails.sections[&amp;amp;quot;Diagram Test&amp;amp;quot;].fields.VERTICAL_SECTION_1_IMAGE.value}" alt="" Width ="100"/&amp;gt; --&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have any explanation why that works, but I remember I struggled with this a while back. Hope that helps.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 11:12:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/print-view-images-not-working-in-modern-ui/m-p/10814222#M913</guid>
      <dc:creator>catot</dc:creator>
      <dc:date>2021-12-10T11:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Print View - images not working in Modern UI</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/print-view-images-not-working-in-modern-ui/m-p/10814468#M914</link>
      <description>&lt;P&gt;Thanks Cato&lt;/P&gt;&lt;P&gt;the problem is that when I enter this text,&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/servlets/&lt;/LI-CODE&gt;&lt;P&gt;gets changed to&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;servlets/&lt;/LI-CODE&gt;&lt;P&gt;i.e. the first "/" is removed &lt;STRONG&gt;when I save it&lt;/STRONG&gt;. This seems to be some "security" thing.&lt;/P&gt;&lt;P&gt;The problem then, is that when run without the "/" in Modern it does not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have this example working in Modern?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it may work, but if you edit-save in the APV definition, it will change "/servlets" to "servlet".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have pictures working in Modern, I would be very interested to do a screen share and see how it is working for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;phil&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 13:21:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/print-view-images-not-working-in-modern-ui/m-p/10814468#M914</guid>
      <dc:creator>philipfrench</dc:creator>
      <dc:date>2021-12-10T13:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Print View - images not working in Modern UI</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/print-view-images-not-working-in-modern-ui/m-p/10814507#M915</link>
      <description>&lt;P&gt;I tried copying my source code over to a new APV, and for me that works the same as before. Also editing and saving on that new APV again does not alter the "/" in front of the servlets string.&lt;/P&gt;&lt;P&gt;We're using Modern.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you would still like a screen share.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 13:44:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/print-view-images-not-working-in-modern-ui/m-p/10814507#M915</guid>
      <dc:creator>catot</dc:creator>
      <dc:date>2021-12-10T13:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Print View - images not working in Modern UI</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/print-view-images-not-working-in-modern-ui/m-p/10814557#M916</link>
      <description>&lt;P&gt;Here's an simple new APV that I set up to test on a different WS:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;div&amp;gt;&amp;lt;!--&amp;lt;img src="/servlets/ImageServlet/?imageid=${item.itemDetails.sections[&amp;amp;quot;MySectionName&amp;amp;quot;].fields.MyImage.value}" alt=""/&amp;gt; --&amp;gt;&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This works for me.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 14:09:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/print-view-images-not-working-in-modern-ui/m-p/10814557#M916</guid>
      <dc:creator>catot</dc:creator>
      <dc:date>2021-12-10T14:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Print View - images not working in Modern UI</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/print-view-images-not-working-in-modern-ui/m-p/10814564#M917</link>
      <description>&lt;P&gt;I actually just found a way to stop it from removing the leading "/" on "/servlets", which is what Modern needs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the picture, you can see the img tag starts with "&amp;lt;" in the normal way.&lt;/P&gt;&lt;P&gt;However, if you remove this single "&amp;lt;" character with "&amp;amp;lt;" (without quotes) then the parsing of the tags is apparently confused, and the leading "/" does not get removed when you save.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then it works (pictures display in Modern correctly).&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to Cato and others that contacted me via email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="apv_issue.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/999900iECC499750A6A9E1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="apv_issue.jpg" alt="apv_issue.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;replace like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apv_issue2.jpg" style="width: 785px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/999906i8B237DD2E1374D67/image-size/large?v=v2&amp;amp;px=999" role="button" title="apv_issue2.jpg" alt="apv_issue2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 14:11:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/print-view-images-not-working-in-modern-ui/m-p/10814564#M917</guid>
      <dc:creator>philipfrench</dc:creator>
      <dc:date>2021-12-10T14:11:58Z</dc:date>
    </item>
  </channel>
</rss>

