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 Apps / Resources for generati...
Power Apps
Suggested Answer

Resources for generative pages

(0) ShareShare
ReportReport
Posted on by 9
I have a generative page that loads GeoJSON maps using D3. These files are on the public internet not controlled by me. I'd like to move those resources locally (i.e. part of the solution). I can put the JSON files in the webresources table and query them from the generative page, but I'm wondering if there is a better way.
I have the same question (0)
  • Suggested answer
    MParikh Profile Picture
    521 Super User 2026 Season 1 on at
    Here are the options I would like to suggest:

    Web Resources (your current idea)
    Storing GeoJSON in web resources works, but it has trade-offs. Web resources are versioned with your solution, so updates require a new deployment. For static geographic data that rarely changes, this is fine. For anything you update frequently, it becomes painful.

    SharePoint Document Library
    If your environment has SharePoint, store the GeoJSON files there and fetch them via the SharePoint REST API or Microsoft Graph. You get versioning, access control, and easy file replacement without touching your solution. The downside is an extra authentication hop from your canvas app or PCF component.

    Dataverse File Column or Note Attachment
    You can store binary/JSON content in a Dataverse file column or as an annotation attachment. Query it like any other Dataverse record. This keeps everything inside the platform and works well if you need row-level security on the data.

    Azure Blob Storage
    If you control an Azure subscription tied to this tenant, a blob with public read access (or SAS token) gives you a CDN-backed, easily updatable file store. Your generative page fetches it like any external URL, but now you own it.

     

    Thank you!
    Proud to be a Super User!
    🏷️ Need more help?
    ✅ Don’t forget to Accept as Solution if this guidance worked for you.
    ❤️Your Like motivates me to keep helping
     
  • Suggested answer
    MS.Ragavendar Profile Picture
    7,431 Super User 2026 Season 1 on at
     
    Yes — for a model-driven app generative page, putting the GeoJSON into Dataverse web resources is the most native and supportable way if you want the files to travel with the solution and not depend on third-party URLs. Web resources are specifically meant for static files (HTML, JS, CSS, images, other file types), are stored in Dataverse, can be referenced by URL, support relative paths, and are solution components that export/import with your solution.
    Use Dataverse Web Resources for the GeoJSON files. (Best supported option for your scenario)
    • ALM-friendly packaging: the files move with the solution across environments. 
    • No dependency on external/public hosts: avoids runtime risk if the third-party URL changes or goes down.
    • Relative URL referencing from your page or related assets. 
     
    When there is a better way
     
    If you are building the generative page using the new code-first external tools workflow (local TypeScript/React + PAC CLI), then a cleaner developer experience can be to keep the GeoJSON files in the local project and bundle them as part of the generated page artifacts during build/deploy, because that workflow is explicitly designed for local development with supporting files and deployment through CLI.
     
    ✅If this helped, please Accept as Solution to help others ❤️ A Like is appreciated 🏷️ Tag @MS.Ragavendar for follow-ups.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard