Skip to main content
Answer

How to load external url image to Acumatica Form

  • December 9, 2023
  • 7 replies
  • 283 views

Forum|alt.badge.img

Does anyone know how to load external url image to Acumatica Form?

For example I have an UDF UsrImageUrl = https://designerimages.artifi.net/UserPhoto/0e8a78b2-eea3-475e-b38c-b3ea2b606926/Customize/Standard/5f2142de-766c-44a0-8f32-0b447de9f6e2.png.

How do I load image in UsrImageUrl to an Form?

 

Thanks

Best answer by junmao01

I figured it out. The PXImageView will load URL image.

<px:PXImageView runat="server" DataField="ImageUrl" ID="edImage" Style='left:9px;top:9px;Position:absolute;' />

7 replies

Laura03
Captain II
Forum|alt.badge.img+19
  • Captain II
  • December 9, 2023

Hello @junmao01 ,

Are you a developer, trying to customize a form to include Images?  If so, you may receive a faster answer by posting in one of the Customization/Developer forums (vs. Distribution) of Acumatica Community.

Whether you are a developer or not, it’s helpful if you tell us the Screen Name where you are trying to attach a photo/URL and give us an example screen shot so we can understand where/how you’d like to see the photo/URL. Do you want the URL to show to the Users, or do you want the Image to show to the users?

Without customization, a URL may be recorded:

  1. In any Note field
  2. In any Description field
  3. Using User-Defined Fields (Attributes)
  4. Attributes of Stock/Non-Stock Items may contain an Image
  5. Extra Description tab of Stock Items
  6. Get creative, maybe, with Cross-Reference Items tab of Stock/Non-Stock Items

 

Load Image to Attributes tab of Stock/Non-stock Items
Add URL to Description tab of Stock/Non-stock items
Add Attribute/User-Defined Fields to Sales Orders form

 

Laura


Forum|alt.badge.img
  • Author
  • Varsity I
  • December 11, 2023

@Laura02 Thanks for your response. I am a developer. I added URLas User-Defined Fields in SOLine. I want to create a new form for the SOLine that can display the image of the URL. Then I want to add this new form as a side panel of Sales Order Entry screen. So when user click an order line, the side panel will display the image of the line.

 

I will re-post it to the Customization/Developer forums. 

 

Thanks.


lbarker
Semi-Pro II
Forum|alt.badge.img+3
  • Semi-Pro II
  • December 11, 2023

Forum|alt.badge.img
  • Author
  • Varsity I
  • December 12, 2023

@lbarker That helps. I can display the image statically. Now my problem is how to display it dynamically that assign ImageUrl = SOLine.UsrImageURL.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • January 11, 2024

Hi @junmao01 were you able to find a solution? Thank you!


Forum|alt.badge.img
  • Author
  • Varsity I
  • Answer
  • January 11, 2024

I figured it out. The PXImageView will load URL image.

<px:PXImageView runat="server" DataField="ImageUrl" ID="edImage" Style='left:9px;top:9px;Position:absolute;' />


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • January 11, 2024

Thank you for sharing your solution with the community @junmao01!