Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungThe Model Got Better. Your Judgment Got Worse.(22.09.2026 um 03:02 Uhr)
Sichere ProgrammierungAIFeed - signed content permissions for AI web crawlers(22.09.2026 um 03:10 Uhr)
Sichere ProgrammierungThanks, glad you liked it!(22.09.2026 um 03:15 Uhr)
Sichere ProgrammierungA request for /.env shouldn't render your React app(22.09.2026 um 03:17 Uhr)
Sichere ProgrammierungAI-Agent Marketplaces Need Verifiable Delivery, Not More Listings(22.09.2026 um 03:20 Uhr)
AI & KI NachrichtenBeyond Bigger Models: Toward a Modular Cognitive Architecture(22.09.2026 um 03:21 Uhr)
Sichere ProgrammierungMasa Depan Manajemen Data: Mengenal Konsep Data Mesh yang Revolusioner(22.09.2026 um 03:22 Uhr)
Sichere ProgrammierungHow to Search Your Claude Code Conversation History(22.09.2026 um 03:22 Uhr)
Sichere ProgrammierungThe Model Got Better. Your Judgment Got Worse.(22.09.2026 um 03:02 Uhr)
Sichere ProgrammierungAIFeed - signed content permissions for AI web crawlers(22.09.2026 um 03:10 Uhr)
Sichere ProgrammierungThanks, glad you liked it!(22.09.2026 um 03:15 Uhr)
Sichere ProgrammierungA request for /.env shouldn't render your React app(22.09.2026 um 03:17 Uhr)
Sichere ProgrammierungAI-Agent Marketplaces Need Verifiable Delivery, Not More Listings(22.09.2026 um 03:20 Uhr)
AI & KI NachrichtenBeyond Bigger Models: Toward a Modular Cognitive Architecture(22.09.2026 um 03:21 Uhr)
Sichere ProgrammierungMasa Depan Manajemen Data: Mengenal Konsep Data Mesh yang Revolusioner(22.09.2026 um 03:22 Uhr)
Sichere ProgrammierungHow to Search Your Claude Code Conversation History(22.09.2026 um 03:22 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

How to: Fix WebResources Layout in Dataverse Dashboards

🤔 The problem If you ever managed to create a Dataverse Dashboard containing an HTML WebResource (e.g. to show some calculated KPI), by default the resulting UI is quite ugly: What I don't like: Each WebResource component has a su…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!




🤔 The problem



If you ever managed to create a Dataverse Dashboard containing an HTML WebResource (e.g. to show some calculated KPI), by default the resulting UI is quite ugly:



UI



What I don't like:




  1. Each WebResource component has a surrounding black border I would like to get rid of

  2. The minimum vertical space that can be occupied by the WebResources row is 6 lines. Too much for my needs.



For both points, the Dashboard editor doesn't provides any option to fix the problem:




  • No option to remove the border



No option to remove the border




  • And I cannot reduce the vertical space



Cannot reduce the vertical space






💡 The solution



As usual, the solution is quite simple via small XML tweaking.



Step 1. Create a new solution



In my case I already had a "ribbon" solution ready to use, thus in the screenshots below you'll see that one.



Step 2. Add the dashboard as the only component



Access the solution, then click on Add existing > Dashboard



Add existing dashboards



And peek the dashboard you want to update (in my case, Tickets).



Peek the right dashboard



*Step 3. Move to VS Code *



In VSCode terminal, run the following PAC CLI command:




pac solution clone --name "<your solution unique name>"






PAC CLI will automatically download the solution and unpack its components in the current folder.



Step 4. Update the Dashboard XML definition



Access the dashboard xml definition you'll find at <solution name>\src\Dashboards\<dashboard guid>.xml



Path to dashboard XML



In the XML definition, find the WebResources controls. They can be easily found searching by the following string <control id="WebResource_.



You'll see something like this:




<cell colspan="1" rowspan="6" showlabel="false" id="{77846b48-5139-4c61-a5d1-fda39d80f21b}">
<labels>
<label description="KPI1" languagecode="1033" />
</labels>
<control id="WebResource_kpi1" classid="{9FDF5F91-88B1-47f4-AD53-C11EFC01A01D}">
<parameters>
<Url>prefix_/pages/dashboardkpi/index.html</Url>
<Data>ticket_total_count</Data>
<PassParameters>false</PassParameters>
<ShowOnMobileClient>false</ShowOnMobileClient>
<Security>false</Security>
<Scrolling>auto</Scrolling>
<Border>true</Border>
<WebResourceId>{F30B702C-C9C4-F011-BBD3-7CED8D454E57}</WebResourceId>
</parameters>
</control>
</cell>






To remove the border, update the <Border> node to false.

To decrease the height, set the rowspan attribute to 3 (or adjust it as you wish).



Like this:




<cell colspan="1" rowspan="3" showlabel="false" id="{77846b48-5139-4c61-a5d1-fda39d80f21b}">
<labels>
<label description="KPI1" languagecode="1033" />
</labels>
<control id="WebResource_kpi1" classid="{9FDF5F91-88B1-47f4-AD53-C11EFC01A01D}">
<parameters>
<Url>prefix_/pages/dashboardkpi/index.html</Url>
<Data>ticket_total_count</Data>
<PassParameters>false</PassParameters>
<ShowOnMobileClient>false</ShowOnMobileClient>
<Security>false</Security>
<Scrolling>auto</Scrolling>
<Border>false</Border>
<WebResourceId>{F30B702C-C9C4-F011-BBD3-7CED8D454E57}</WebResourceId>
</parameters>
</control>
</cell>






Step 5. Rebuild the solution in unmanaged mode



Open the terminal in the folder containing the <solution>.cdsproj file and run the following command:




dotnet build






it will generate the unmanaged version of the solution in the \bin\Debug subfolder of the current folder.



Step 6. Import the generated solution



Via PAC CLI:




# ribbon is the name of my solution, change it with your own
pac solution import -p .\bin\debug\ribbon.zip






Step 7. Publish all



This time, let's use PACX




pacx publish all







You can always do it the old way, via maker portal







😎 The result



Et voilà, the same dashboard, with both issues fixed ☺️



Final result



Hope this helps you too!

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten How to: Fix WebResources Layout in Dataverse Dashboards

Thematisch verwandte Begriffe: WebResources, Layout, Dataverse, Dashboards · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-49449 | Joplin is an open source note-taking and to-do application that organise…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick