Loading...

Microsoft Dynamics 365 and Power Platform Rss Feed

Stay up to date with the latest news, articles, and updates from the Microsoft Dynamics 365 and Power Platform community.

Detect, investigate, and respond faster to security incidents.

https://www.youtube.com/watch?v=GkBjHuRjiWw

Published on: 1 hour ago

How to overcome 5 common SharePoint migration issues

Genericblogimage Featured 36

Executing a successful SharePoint migration takes serious planning, but you can experience a smooth transition when you overcome the common challenges detailed here. Your content in SharePoint and Microsoft 365...

The post How to overcome 5 common SharePoint migration issues appeared first on ShareGate.

https://sharegate.com/blog/how-to-overcome-5-common-microsoft-teams-migration-challenges

Published on: 2 hours ago

Microsoft Graph APIs and LangChain agents with UI

https://www.youtube.com/watch?v=RadCzyK8PEo

Published on: 3 hours ago

Translate CRM Records Instantly with Translate4Dynamics | Dynamics 365

https://www.youtube.com/watch?v=fuYdlVM2PTo

Published on: 3 hours ago

Duplicate Mail User Objects Created for Guest Accounts

The February 2025 EX1015484 incident explains why mail user objects with duplicate SMTP addresses are created for guest accounts. That’s a problem because Exchange Online can’t route messages to objects with duplicate email addresses. Fortunately, you can find out if any duplicates exist in your tenant with some PowerShell. Problems happen!

https://office365itpros.com/2025/03/28/ex1015484-problem/?utm_source=rss&utm_medium=rss&utm_campaign=ex1015484-problem

Published on: 9 hours ago

AI maps access patterns, showing who or what device interacted with compromised data.

https://www.youtube.com/watch?v=FLAeL68znrg

Published on: 15 hours ago

Business Central 2025 wave 1 (BC26): Add more columns to various pages to gain more insight

Hi, Readers.The public preview for Dynamics 365 Business Central 2025 release wave 1 (BC26) is available. Learn more: Link. I will continue to test and share some new features that I hope will be helpful. Add more columns to various pages to gain more insight: Business value:Different businesses and users need different information to complete business […]

https://yzhums.com/62820/

Published on: 15 hours ago

Fluent PCF SmartButton

Fluent PCF SmartButton Ahash Thu, 03/27/2025 - 22:38

Body

PCF SmartButton Control

GitHub License GitHub ReleaseGitHub Downloads (all assets, all releases)

Overview

The PCF SmartButton control provides dynamic, configurable buttons based on Dataverse settings. This control allows you to create flexible, context-aware buttons that can be used for custom actions and navigation in your Power Apps forms.

Features

The PCF SmartButton control includes the following features:

Feature Description
Dynamic Button Configuration Configure buttons directly in Dataverse without code changes
Visibility Conditions Show/hide buttons based on dynamic expressions
Custom Actions Execute custom scripts or navigate to URLs
Field Value Integration Use record field values in button labels, tooltips, URLs, visibility expression and action scripts.
Smart Caching Optimized performance through intelligent caching of record data
Error Handling Robust error handling and graceful fallbacks
Fluent UI Integration Modern, consistent UI using Fluent UI components

Installation

Prerequisites

  • A Power Platform environment with Dataverse
  • Solution Import permissions

Install steps

  1. Download the solution from the releases page.
  2. Choose the appropriate solution package:
    • Managed Solution: For production environments (recommended)
    • Unmanaged Solution: For development environments
  3. Import the Solution into your environment.

Configuration

Button Configuration Table

After installation, create records in the Button Configuration table with the following fields:

Field Type Required Description
Name Text Yes Unique identifier for the button configuration
Table Name Text Yes Entity/table the button appears on (e.g., 'contact')
Button Label Text Yes The text to display on the button
Button Tooltip Text No Hover text for the button
Button Position Number Yes Numeric order for button placement
Button Icon Text No Fluent UI icon name - Browse available icons
Visibility Expression Text No Condition for showing/hiding button - The pcf context is available to be referenced.
URL Text No The URL to navigate to when clicked
Show as Choice Yes Choose between Button or Link display
Action Script Text No Custom script to execute on click

Configuration form

Dynamic Values and Tokens

All text fields (Label, Tooltip, URL, Visibility Expression, and Action Script) support dynamic tokens:

Token Format Description Example
{fieldname} Reference to a field value {websiteurl}
{lookup.fieldname} Access related record field {parentcustomerid.name}
{lookup1.lookup2.fieldname} Chain multiple lookups {parentcustomerid.parentaccountid.websiteurl}

Configuration Examples

Basic Navigation Button

To create a simple button that navigates to a website:

Name: View Website
Table Name: contact
Button Label: Visit Website
Button Tooltip: Go to {websiteurl}
Button Position: 1
Button Icon: Globe
Visibility Expression: {websiteurl}
URL: {websiteurl}
Show as: Button

Action Button with Custom Script

To create a button that executes JavaScript:

Name: Create Related Case
Table Name: account
Button Label: Create Case
Button Icon: Add
Button Position: 2
Visibility Expression: true
Action Script:
var entityFormOptions = { entityName: "incident", formId: "your-form-id" }; entityFormOptions["formParameters"] = { "customerid": "{accountid}" }; Xrm.Navigation.openForm(entityFormOptions);
Show as: Button

Advanced Usage

Filtering Buttons by Control

To display buttons only on specific control instances:

  1. Add the SmartButton control to your form.
  2. Open the control properties.
  3. Set a filter expression in the "Button Configuration Filter" property (e.g., contains(theia_name,'Control 2')).

This ensures that only buttons matching the filter will appear on that specific control instance.

Showing filter on form

Visibility Expressions

Use JavaScript expressions to determine when a button should be visible:

Example Description
{revenue} > 10000 Show only for high-value accounts
{statuscode} === 1 Show based on status value
{parentcustomerid.parentaccountid.websiteurl} != null Show based on related record values
{revenue} > 10000 && {statuscode} === 1 Combine multiple conditions

Action Scripts

Examples of common action script scenarios:

var accountid = "{accountid}";
var name = "{name}";
// Open a record
Xrm.Navigation.openForm({entityName: "account", entityId: accountid});

// Show a notification
Xrm.App.addGlobalNotification({
  type: 1, // INFO
  message: "Processing "+name+"...",
  level: 1
});

// Retrieve related record data
var id = "{parentcustomerid.id}";
const parentcustomer = await Xrm.WebApi.retrieveRecord("account", id);

Action Script Example

Troubleshooting

Common Issues

Issue Solution
Buttons not appearing Verify Table Name matches exactly with the entity logical name
Visibility expressions not working Check that field names are correct and in proper case
Action scripts failing Test scripts in browser console first to verify syntax
Related record values not loading Verify lookup references use proper format and exist

Note: Make sure you have the latest version of the control installed to benefit from the most recent bugfixes and improvements.

Related topics

Image
/sites/default/files/2025-02/PCFSmartButton.png

https://dynamics-chronicles.com/article/fluent-pcf-smartbutton

Published on: 18 hours ago

Unlock the Secrets of Premium Capacity with Eureka!

https://www.youtube.com/watch?v=la8ENiLN6zs

Published on: 20 hours ago

SQL Conf() 2025 Highlights: So Much Developer Innovation!

For decades, SQL Server has been a cornerstone of data management, evolving to meet the needs of modern developers. What began as a traditional relational engine is now a cloud-enabled, AI-integrated platform designed for building real-world applications. SQL Server continues to meet developers where they are—offering tools, services, and capabilities that simplify complexity and support […]

The post SQL Conf() 2025 Highlights: So Much Developer Innovation! appeared first on Azure SQL Devs’ Corner.

https://devblogs.microsoft.com/azure-sql/sql-conf-2025-recap/

Published on: 20 hours ago

How to pin Microsoft 365 Copilot Chat for users

https://www.youtube.com/watch?v=zcP4zROc6uI

Published on: 21 hours ago

Unlock New Potential with Fabric SQL! 🚀

https://www.youtube.com/watch?v=Z_vP6EUGrLg

Published on: 22 hours ago

Kickstart Your Microsoft Copilot Studio

https://www.youtube.com/watch?v=v1viJ2j_NO4

Published on: 23 hours ago

Azure SDK Release (March 2025)

Azure SDK releases every month. In this post, you find this month's highlights and release notes.

The post Azure SDK Release (March 2025) appeared first on Azure SDK Blog.

https://devblogs.microsoft.com/azure-sdk/azure-sdk-release-march-2025/

Published on: 23 hours ago

Error | We’re sorry, but something went wrong | Power Pages

It took me a few hours to figure this out, and hopefully this post will save you time Multiple factors can trigger this error, the root cause for me was a failure to renew the site’s authentication key. When a website is created, a new authentication key is generated with the public key uploaded to … Continue reading Error | We’re sorry, but something went wrong | Power Pages

https://soundharyasubhash.wordpress.com/2025/03/27/error-were-sorry-but-something-went-wrong-power-pages/

Published on: 23 hours ago

Power Platform & M365 Dev Community Call – March 27th, 2025 – Screenshot Summary

Call Highlights   SharePoint Quicklinks: Primary PnP Website: https://aka.ms/m365pnp Documentation & Guidance SharePoint Dev Videos Issues List —– Sharing Is Caring: A community initiative that...

The post Power Platform & M365 Dev Community Call – March 27th, 2025 – Screenshot Summary appeared first on Warner Digital - David Warner II.

https://warner.digital/summary03272025/

Published on: 1 day ago

Built-in chat translation in Teams—instantly understand messages in their preferred language.

https://www.youtube.com/watch?v=NnKg4sgPxMI

Published on: 1 day ago

Unlock the Secrets of Automation in Power BI Testing!

https://www.youtube.com/watch?v=Q3Uu6k99qe4

Published on: 1 day ago

Jonathan Hunt presents AI in Action: How 1-800-Flowers is revolutionizing retail with AI (part 1)

https://www.youtube.com/watch?v=O7RFvxFkDFM

Published on: 1 day ago

Let Copilot Fly Your Power Query in Microsoft Fabric

https://www.youtube.com/watch?v=h8s1UGDbfRc

Published on: 1 day ago

Microsoft 365 Certification control spotlight: Data retention, back-up, and disposal

https://www.youtube.com/watch?v=Hcg1tXiw9nI

Published on: 1 day ago

Microsoft 365 Certification control spotlight: Data retention, back-up, and disposal

Learn how Microsoft 365 Certification validates data retention, back-up, and disposal controls for Microsoft 365 apps.

The post Microsoft 365 Certification control spotlight: Data retention, back-up, and disposal appeared first on Microsoft 365 Developer Blog.

https://devblogs.microsoft.com/microsoft365dev/microsoft-365-certification-control-spotlight-data-retention-back-up-and-disposal/

Published on: 1 day ago

Unlock the Power of Your Data Management!

https://www.youtube.com/watch?v=_fypY7T5XZk

Published on: 1 day ago

Account receivable aging in Power BI

https://www.youtube.com/watch?v=p3I4NlAjT7s

Published on: 1 day ago

Power BI License price update from April 1, 2025 #PowerBI #PowerPlatform #Shorts #PowerBIShorts

https://www.youtube.com/watch?v=ETpyv0L3gDs

Published on: 1 day ago

Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy