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..
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>
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!
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.
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.
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.
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional