web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Managing pictures on a...
Power Pages
Answered

Managing pictures on a portal

(0) ShareShare
ReportReport
Posted on by 147

Hi,

 

I have created a custom entity named "Property Unit" in MS D365 CE. For this entity, I have made a lot of records, ie a lot of units (apartments) with data.

 

Currently, I have a portal that shows all my "vacant" apartments, but I handle the images for these apartments externally and they are currently not related to the individual records at all.

 

I am therefore trying to find a solution on how to handle images related to a particular record in MS D365 CE and have these images displayed on a portal.

 

To see the scenario from a different perspective, one could imagine a webshop selling products. The webshop, of course, has a number of images for each product. How do I best handle images for the product - in my case - images for the apartment?

 

As the portal is now, I view various data from a record using liquid code. But I do not know how to handle images that are related to the record.

 

Just to give you an idea of what I mean here is a link to my portal: https://yavica-self-service.powerappsportals.com/properties/rent/

Categories:
I have the same question (0)
  • the365bit Profile Picture
    136 on at

    Hi @oml ,

     

    You have a few options:

     

    * You could create an Image field in your custom entity, add the field to the form and display it in your portals

    * You could create a normal text field and store the image as base64string and decode it in your portals

    * You could enable notes in your entity and upload attachments to it and rendering in your portals

     

    You might want to create a new entity to handle the images though as I imagine that an apartment could have more than 1 image assigned to it.

     

    Best regards,


    If this post helps, then please consider Accept it as the solution to help the other members find it more
  • Verified answer
    H V Profile Picture
    1,510 on at

    Hi @oml

    If you have multiple images for single apartment record then you have to store images on Azure Blob Storage.

    While you are storing the images on Azure Blob Storage you will get an Open Url for uploaded image. Then you can store that URL in another custom entity related to particular apartment. 

     

    Now about Portal, you can display Images using liquid code as per stored Images in related custom images. 

  • l.oliver Profile Picture
    147 on at

    Hi @hardikv,

     

    Thank you very much for your answer.

     

    So if I want to store images (or files) in Azure Blob Storage I will have to get a subscription for this service? In other words, Azure Blob Storage is a different service than Dynamics 365 CE and Power Apps, correct?

  • H V Profile Picture
    1,510 on at

    Hi @oml 

    Yes, you'll need an Azure subscription. Azure will give you free trial.

    For more info please refer this link: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-portal

     

    Above link will help you to create azure subcription, azure storage account and blob storage.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 56

#2
Valantis Profile Picture

Valantis 46

#3
rezarizvii Profile Picture

rezarizvii 35

Last 30 days Overall leaderboard