Skip to main content

Notifications

Community site session details
Power Apps - Microsoft Dataverse
Answered

Where to find the source code of the web resource?

Like (0) ShareShare
ReportReport
Posted on 9 Apr 2021 11:51:19 by

Hello everyone,

 

I am using out of the box integration of Dynamics 365 with Azure blob storage.

I am adding adx_annotations. html webresource to my entity form. 

I want to customize this webresource because i have specific requirements. 

I am not good in programming, so i want to use the same code from this webresource(that is to upload note attachments to azure blob). But I am not sure how to get the html and javascript code added to this webresource. Please help me with this. 

 

Thank you.. 

 

 

  • CU17011032-0 Profile Picture
    83 on 13 Mar 2023 at 09:28:01
    Re: Where to find the source code of the web resource?

    Hi all.

    Simplest way was to add navigation item (default form) as web resource. Web Resource is an HTML page that has javascript to replace current Form on load. Replace <url of form link> with relevant Default Form URL. 

     

    <html>

    <head></head>

    <body></body>

    <script>

    parent.window.location.replace(<url of form link>)

    </script>

     

     

     

  • Verified answer
    EricRegnier Profile Picture
    8,714 Most Valuable Professional on 13 Apr 2021 at 08:49:37
    Re: Where to find the source code of the web resource?

    Hi @Anonymous,

    To clarify from the previous post, the control is a web resource and nothing states you can't reused it for other purposes. That said, I don't recommend you venture that route especially if you're not comfortable with coding and JavaScript. Are you trying to use it in Portals or within a model-driven form, because it is a portal component? If within portals, you don't need to create a copy of it and modify it, you can just enable that functionality on your custom entity forms. More info: https://docs.microsoft.com/powerapps/maker/portals/add-web-resource

    Hope this helps!

  • Fubar Profile Picture
    7,850 Super User 2025 Season 1 on 12 Apr 2021 at 01:01:14
    Re: Where to find the source code of the web resource?

    In make.powerapps.com for your instance/environment go to the Solutions area, open the Default Solution (last solution in the list) filter and/or search for the Web Resource record, open it.

    Alternatively you can use a tool in XrmToolBox to download Web Resources.

  • Fubar Profile Picture
    7,850 Super User 2025 Season 1 on 12 Apr 2021 at 00:59:57
    Re: Where to find the source code of the web resource?

    In make.powerapps.com for your instance/environment go to the Solutions area, open the Default Solution filter and/or search for the Web Resource record, open it.

    Alternatively you can use a tool in XrmToolBox to download Web Resources.

  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on 09 Apr 2021 at 12:21:08
    Re: Where to find the source code of the web resource?

    First, I think this is something MSFT would probably frown upon: they give us the platform to work with, but I am sure they would regard their source code as proprietary and copying it as some kind of violation.

     

    Moreover, I highly doubt that control is a web resource. Basically nothing MSFT puts out in Dataverse is anymore; everything is done with PCFs and at least part of the reason is that the code gets wrapped into a concise, efficient bundle that is pretty much impossible for you to "extract". 

     

    You are much better off looking for someone else that has implemented a similar custom solution in the past and working from their code. I suggest you start with the PCF Gallery, although you will need to have someone on your team who knows how to work with PCFs to get it working.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard

Featured topics

Loading started