<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Furkan Karacan on Medium]]></title>
        <description><![CDATA[Stories by Furkan Karacan on Medium]]></description>
        <link>https://medium.com/@furkankaracan?source=rss-78b5a0619a08------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-O4T-IKKwF400QWhJg4E0A.jpeg</url>
            <title>Stories by Furkan Karacan on Medium</title>
            <link>https://medium.com/@furkankaracan?source=rss-78b5a0619a08------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 10:21:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@furkankaracan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Environment variables in Power Apps]]></title>
            <link>https://medium.com/@furkankaracan/environment-variables-in-power-apps-86535da41a05?source=rss-78b5a0619a08------2</link>
            <guid isPermaLink="false">https://medium.com/p/86535da41a05</guid>
            <category><![CDATA[powerapps]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[powerplatform]]></category>
            <dc:creator><![CDATA[Furkan Karacan]]></dc:creator>
            <pubDate>Wed, 31 Jan 2024 16:37:58 GMT</pubDate>
            <atom:updated>2024-01-31T16:37:58.966Z</atom:updated>
            <content:encoded><![CDATA[<p>Environment variables are a feature of Power Apps that allows you to store and reuse values across your apps and flows. They are like global variables that you can define once and use anywhere. You can also change them easily without modifying your app or flow logic.</p><h3>Environment variables are useful for many scenarios, such as:</h3><ul><li>Storing configuration settings, such as URLs, connection strings, API keys, etc.</li><li>Storing environment-specific values, such as dev, test, or prod values</li><li>Storing user preferences, such as language, theme, or layout</li><li>Storing dynamic values, such as dates, times, or counters</li></ul><h3>To create an environment variable in a solution, follow these steps:</h3><ol><li>Open the solution that contains your app or flow.</li><li>Click on New and select Environment variable.</li><li>Enter a name and a display name for your variable. The name must be unique within the solution and follow the naming conventions of Power Apps.</li><li>Select a data type for your variable. You can choose from text, number, boolean, date and time, option set, or JSON.</li><li>Enter a current value and a default value for your variable. The current value is the value that will be used in the current environment. The default value is the value that will be used when you export or import the solution to another environment.</li><li>Optionally, enter a description and a schema name for your variable.</li><li>Click on Save.</li><li>You can create as many environment variables as you need in your solution. You can also edit or delete them later.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AcHVQweay8purkjh" /></figure><h3>To use an environment variable in a Power Automate flow:</h3><ol><li>Open the flow that is part of your solution.</li><li>In the trigger or action that you want to use the variable, click on Dynamic content.</li><li>Under Environment variables, select the variable that you want to use.</li><li>The variable will be inserted in the input field with the format @{variables(‘variable_name’)}.</li><li>You can also use expressions to manipulate the variable value if needed.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*c3Bcrd-TEMJOZyWQ" /></figure><h3>To use an environment variable in a canvas app, follow these steps:</h3><ol><li>Open the app that is part of your solution.</li><li>In the screen or control that you want to use the variable, click on Insert and select Variable.</li><li>Under Environment variables, select the variable that you want to use.</li><li>The variable will be inserted in the formula bar with the format EnvironmentVariableName.Value.</li><li>You can also use functions to manipulate the variable value if needed.</li></ol><h3>Using environment variables in Power Apps has many benefits, such as:</h3><ul><li>Reducing hard-coded values and improving maintainability</li><li>Simplifying deployment and migration across environments</li><li>Enhancing security and compliance by storing sensitive values securely</li><li>Increasing reusability and consistency by sharing values across apps and flows</li></ul><p>In this blog post, I have explained what are environment variables, how they work, and what are their use cases in Power Apps. I hope you found this information useful and learned something new. If you have any questions or feedback, please leave a comment below or contact me through my website. You can also check official documentation from Microsoft about the environment variables by clicking <a href="https://learn.microsoft.com/en-us/power-apps/maker/data-platform/environmentvariables?WT.mc_id=DX-MVP-5005176">here</a>. Thank you for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86535da41a05" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Connecting to Dynamics 365 Environment From C# Application]]></title>
            <link>https://medium.com/@furkankaracan/connecting-to-dynamics-365-environment-from-c-application-4808dcdcd4dc?source=rss-78b5a0619a08------2</link>
            <guid isPermaLink="false">https://medium.com/p/4808dcdcd4dc</guid>
            <category><![CDATA[dynamics-365]]></category>
            <dc:creator><![CDATA[Furkan Karacan]]></dc:creator>
            <pubDate>Wed, 31 Jan 2024 16:37:00 GMT</pubDate>
            <atom:updated>2024-01-31T16:37:00.442Z</atom:updated>
            <content:encoded><![CDATA[<p>In this blog post, we’ll securely connect to a Dynamics 365 environment using ClientID.</p><p><strong>Before we start</strong></p><p>Register an application in Azure Active Directory (Azure AD) to obtain a ClientID (Application ID). These credentials will be used for authenticating your application.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/eb8c70f00201897888ec5a1c018798bd/href">https://medium.com/media/eb8c70f00201897888ec5a1c018798bd/href</a></iframe><ul><li>AuthType is set to OAuth to indicate OAuth authentication.</li><li>Replace {your@username} and {yourpassword} with your credentials.</li><li>Make sure to replace the Url with the correct URL of your Dynamics 365 environment.</li><li>{your_app_id_in_azure_ad} should be your Azure AD Application&#39;s ClientID.</li><li>The RedirectUri should also be updated with the Redirect URI registered in your Azure AD Application</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4808dcdcd4dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamics 365 — How to Create sidePanes? | Xrm.App.sidePanes]]></title>
            <link>https://medium.com/@furkankaracan/dynamics-365-how-to-create-sidepanes-xrm-app-sidepanes-034d370d66cb?source=rss-78b5a0619a08------2</link>
            <guid isPermaLink="false">https://medium.com/p/034d370d66cb</guid>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[dynamics-crm]]></category>
            <dc:creator><![CDATA[Furkan Karacan]]></dc:creator>
            <pubDate>Wed, 31 Jan 2024 16:36:22 GMT</pubDate>
            <atom:updated>2024-01-31T16:36:22.431Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dynamics 365 — How to Create sidePanes? | Xrm.App.sidePanes</h3><p>App side panes are a new feature in model-driven apps that allow you to display additional information or functionality in a collapsible pane on the right side of the app. You can use the <strong>Xrm.App.sidePanes</strong> API to create and manage app side panes programmatically. App side panes can display any model-driven app form or custom page, such as a view, a row, a web resource, or an external site. You can also add badges to the side pane tabs to indicate changes or notifications.</p><p><em>App side panes are not available for Dynamics 365 Customer Engagement on-premise deployments.</em></p><p>To create an app side pane, you need to use the <strong>Xrm.App.sidePanes </strong>API, which represents the collection of side panes. You can access this API from any form or custom page within a model-driven app. The API has the following methods:</p><ul><li>createPane: Add empty pane to sidePanes collection. Need to call pane.navigate() to load the page.</li><li>getPane: Returns the pane corresponding to the input ID. If pane doesn&#39;t exist, undefined is returned.</li><li>getSelectedPane: Returns the current selected pane.</li><li>getAllPanes: Returns a collection containing all active panes.</li></ul><p>For all methods and parameters you can check official documentation <a href="https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/create-app-side-panes#use-with-xrmapppanelsloadpanel?WT.mc_id=DX-MVP-5005176">here</a>. And <a href="https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/xrm-navigation/navigateto?WT.mc_id=DX-MVP-5005176">here </a>you can see al the <strong>navigateTo </strong>parameters.</p><p><strong>Here is some sample code that implements these steps:</strong></p><h4>Show records in side pane based on specific View.</h4><p>You can show a view in side pane. For this you need to provide your entity name and view id,</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/adee0f12e235e7ce869865bfb0fb5244/href">https://medium.com/media/adee0f12e235e7ce869865bfb0fb5244/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/131/0*p49tSVapYrwIZrO4" /></figure><h4>Show a specific record in side pane</h4><p>You can show a specific record in your side pane. For this you need to provide your entity name and entity id,</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d75dd11469bb6b84f533d3912eefe93c/href">https://medium.com/media/d75dd11469bb6b84f533d3912eefe93c/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=034d370d66cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamics 365 — Programmatically Create Bulk Delete Job]]></title>
            <link>https://medium.com/@furkankaracan/dynamics-365-programmatically-create-bulk-delete-job-3448de0fc623?source=rss-78b5a0619a08------2</link>
            <guid isPermaLink="false">https://medium.com/p/3448de0fc623</guid>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[dynamics-crm]]></category>
            <dc:creator><![CDATA[Furkan Karacan]]></dc:creator>
            <pubDate>Wed, 31 Jan 2024 16:35:38 GMT</pubDate>
            <atom:updated>2024-01-31T16:35:38.661Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dynamics 365 — Programmatically Create Bulk Delete Job</h3><p>In this blog post, we’ll break down what <strong>BulkDeleteRequest </strong>class does, how it works, and show you how to execute it via code example.</p><h3>What is the BulkDeleteRequest Class?</h3><p>The BulkDeleteRequest class is your trusty data operator within the Dynamics 365 environment. It&#39;s the go-to tool for cleaning up your data in large batches. Whether you want to remove outdated records, clean up duplicates, or simply keep your database tidy, this class is your friend.</p><p>The BulkDeleteRequest class in Dynamics 365 offers several advantages over the standard DeleteRequest when it comes to managing large-scale data deletion operations.</p><p>The primary advantage of the BulkDeleteRequest class is efficiency. When you use DeleteRequest to delete records one by one, it can be time-consuming and resource-intensive, especially when dealing with a large number of records. In contrast, the BulkDeleteRequest class performs bulk operations, significantly reducing the time and resources required to complete the task.</p><p>BulkDeleteRequest is optimized for bulk deletion. It processes records in batches, which means it can handle large volumes of data more effectively without causing performance issues in the Dynamics 365 system. This is crucial for maintaining system responsiveness and ensuring that other operations can continue smoothly.</p><h3>How BulkDeleteRequest Performs:</h3><p>The BulkDeleteRequest class performs deletion operations in the following manner:</p><ol><li><strong>Query Definition</strong>: You start by defining a FetchXML query that specifies the criteria for selecting the records you want to delete. This query can be as simple or as complex as needed to target the right set of records.</li><li><strong>Execution</strong>: After defining the query, you create and execute a BulkDeleteRequest instance, providing the FetchXML query as part of the request. Dynamics 365 processes this request asynchronously in the background.</li><li><strong>Background Processing</strong>: The bulk delete operation is performed in the background by the Dynamics 365 system. The system processes records in batches, deleting them based on the criteria you defined in the query.</li><li><strong>Completion Notification</strong>: You can receive email notifications or monitor the progress of the bulk delete operation to know when it’s completed.</li></ol><p>While the BulkDeleteRequest class is a powerful tool for managing data in Dynamics 365, there are certain scenarios where it may not be the best choice:</p><ol><li><strong>Small-Scale Deletions</strong>: If you only need to delete a handful of records, using DeleteRequest or manual deletion might be more straightforward and quicker. BulkDeleteRequest is designed for large-scale data operations.</li><li><strong>Immediate Record Deletion</strong>: If you require records to be deleted immediately, DeleteRequest can be used for real-time deletion, whereas BulkDeleteRequest operates asynchronously and may take some time to complete.</li><li><strong>Complex Record Deletion Logic</strong>: If you need to execute complex business logic or perform custom actions during record deletion, DeleteRequest may be more suitable as it allows you to customize the deletion process on a per-record basis.</li></ol><h3>Code</h3><p>This code snippet initiates a bulk delete job based on specified criteria. Once the job successfully completes, it triggers an email notification to the relevant user.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4791d00dcaa963f53d59c4c7ab31f6d0/href">https://medium.com/media/4791d00dcaa963f53d59c4c7ab31f6d0/href</a></iframe><h3>Monitoring BulkDeleteRequest Job</h3><p>1) Select Settings, Data Management.</p><p>2) Click Bulk Record Deletion.</p><p>3) Change your view to Recurring Deletion System Jobs.</p><p>For more information</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3448de0fc623" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamics 365 — Open Confirm Dialogs | Xrm.Navigation.openConfirmDialog]]></title>
            <link>https://medium.com/@furkankaracan/dynamics-365-open-confirm-dialogs-xrm-navigation-openconfirmdialog-8914a46fd935?source=rss-78b5a0619a08------2</link>
            <guid isPermaLink="false">https://medium.com/p/8914a46fd935</guid>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[dynamics-crm]]></category>
            <dc:creator><![CDATA[Furkan Karacan]]></dc:creator>
            <pubDate>Wed, 16 Aug 2023 08:47:35 GMT</pubDate>
            <atom:updated>2023-08-16T08:47:35.569Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dynamics 365 — Open Confirm Dialogs | Xrm.Navigation.openConfirmDialog</h3><p>Confirm dialogs are a common user interface element that seek user confirmation before proceeding with a certain action. They’re particularly useful in scenarios where an action might have irreversible consequences or requires user attention. <strong>openConfirmDialog </strong>is a valuable function for enhancing user interactions within your model driven apps. By using confirm dialogs effectively, you can provide users with clear choices and reduce the likelihood of unintended actions.</p><p>Here’s a practical code example demonstrating the usage of the Dynamics 365 Confirm Dialog:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/29647bdb7da860c63faecfbdbaa21d8d/href">https://medium.com/media/29647bdb7da860c63faecfbdbaa21d8d/href</a></iframe><h3>Understanding the Parameters</h3><h3>confirmStrings</h3><p><strong>confirmStrings </strong>is a <strong>required </strong>parameter that contains strings to be used in the confirmation dialog. The object contains the following values:</p><ul><li>cancelButtonLabel: The label for the cancel button. If unspecified, the default label is &quot;Cancel.&quot;</li><li>confirmButtonLabel: The label for the confirm button. If unspecified, the default label is &quot;OK.&quot;</li><li>subtitle: An optional subtitle to provide additional context to the user.</li><li>text: The main message displayed in the confirmation dialog.</li><li>title: An optional title for the confirmation dialog.</li></ul><h3>confirmOptions</h3><p><strong>confirmOptions</strong> is an <strong>optional </strong>parameter that contains height and width options for confirmation dialog. The object contains the following values:</p><ul><li>height: An optional parameter to set the height of the dialog box in pixels.</li><li>width: An optional parameter to set the width of the dialog box in pixels.</li></ul><h3>successCallback</h3><p>An optional function to execute when the confirmation dialog is closed. It receives an object with the confirmed attribute (Boolean) indicating whether the confirm button was clicked to close the dialog.</p><h3>errorCallback</h3><p>An optinal function to execute when the operation fails.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8914a46fd935" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamics 365 — How to Get Row Data From Sub-Grids]]></title>
            <link>https://medium.com/@furkankaracan/dynamics-365-how-to-get-row-data-from-sub-grids-ccdfbd923426?source=rss-78b5a0619a08------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccdfbd923426</guid>
            <category><![CDATA[dynamics-365]]></category>
            <dc:creator><![CDATA[Furkan Karacan]]></dc:creator>
            <pubDate>Sun, 09 Jul 2023 10:03:37 GMT</pubDate>
            <atom:updated>2023-07-09T10:03:37.643Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dynamics 365 — How to Get Row Data From Sub-Grids</h3><p>In this post, I will show you how to get row data from the subgrids in Dynamics 365. Subgrids are useful for displaying related records on a form, such as contacts for an account or tasks for an opportunity. But sometimes, you may want to access the data of the subgrid rows in your code, for example, to perform some calculations or validations. Fortunately, with the help of javascript we can easily do that.</p><p>One way to get row data from the subgrids is to use the <strong>getGrid()</strong> method of the <strong>Xrm.Page.getControl</strong> function. This method returns a Grid object that has a <strong>getRows()</strong> method, which returns a collection of <strong>GridRow</strong> objects. Each <strong>GridRow</strong> object has a <strong>getData()</strong> method, which returns a <strong>GridEntity</strong> object that contains the data of the row. You can use the <strong>getEntity() </strong>methods of the <strong>GridEntity</strong> object to access the entity and its attributes.</p><p>Let’s see an example of how to use this approach. Suppose you have a subgrid on the account form that shows the related opportunities. You want to write a function that calculates the total estimated revenue of all the opportunities in the subgrid and displays it in an alert message.</p><h3>Here is how you can get row data from Sub-grids:</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/748ef03c149121e7678a3b721cd5ce3c/href">https://medium.com/media/748ef03c149121e7678a3b721cd5ce3c/href</a></iframe><h3>Step by step explanation:</h3><ul><li>This function gets the subgrid control by its name, which you can find in the form editor.</li><li>Then, it checks if the subgrid is loaded and gets its rows.</li><li>Next, it loops through each row and gets its data, entity and attributes.</li><li>It then adds the value of the estimated revenue attribute to a variable that stores the total.</li><li>Finally, it displays the total in an alert message.</li></ul><p>This is one way to get row data from the subgrids in Dynamics 365. I hope you found this post helpful and informative. If you have any questions or feedback, please leave a comment below.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccdfbd923426" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamics 365 — Bypass Custom Business Logic]]></title>
            <link>https://medium.com/@furkankaracan/dynamics-365-bypass-custom-business-logic-49e17c994b5e?source=rss-78b5a0619a08------2</link>
            <guid isPermaLink="false">https://medium.com/p/49e17c994b5e</guid>
            <category><![CDATA[plugins]]></category>
            <category><![CDATA[cloud-flow]]></category>
            <category><![CDATA[dynamics-crm]]></category>
            <category><![CDATA[dynamics-36]]></category>
            <category><![CDATA[power-automate-flow]]></category>
            <dc:creator><![CDATA[Furkan Karacan]]></dc:creator>
            <pubDate>Sun, 18 Jun 2023 09:51:16 GMT</pubDate>
            <atom:updated>2023-06-18T09:51:16.265Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dynamics 365 — Bypass Custom Business Logic</h3><p>If you are a developer working with Dataverse, you may have encountered situations where you need to perform bulk data operations without triggering the custom business logic that is applied by plug-ins, workflows or Power Automate flows. For example, you may want to import a large number of records from an external source, or update some fields across multiple entities, or delete some obsolete data. In these scenarios, you may want to bypass the custom business logic to speed up the process and avoid performance issues.</p><p>Fortunately, Dataverse provides some optional parameters that you can use to bypass custom business logic for specific requests. In this blog post, I will explain what these parameters are, how to use them, and what are the benefits and risks of doing so.</p><h3>BypassCustomPluginExecution</h3><p>The first optional parameter is <strong>BypassCustomPluginExecution</strong>, which allows you to bypass custom<strong> synchronous logic</strong>. This includes <strong>synchronous plug-ins and real-time workflows</strong> that are registered for the events that occur because of your requests.</p><p>To use this parameter, you need to meet two requirements:</p><ul><li>You must send the requests using the <strong>BypassCustomPluginExecution</strong> optional parameter.</li><li>The user sending the requests must have the <strong>prvBypassCustomPlugins</strong> <strong>privilege</strong>. By default, only users with the system administrator security role have this privilege.</li></ul><p>When you use this parameter, all custom synchronous logic is disabled except for:</p><ul><li>Plug-ins that are part of the <strong>core Dataverse system</strong> or part of a solution where<strong> Microsoft is the publisher</strong>.</li><li>Workflows included in a solution where <strong>Microsoft is the publisher</strong>.</li></ul><p>These exceptions are necessary to ensure the core behaviors and functionality of Dataverse and Microsoft solutions are not compromised.You can use this parameter with either the SDK for .NET or the Web API.</p><h3>How to Bypass Custom Plugin Execution in Dynamics 365 by Using C#</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f120934259c73a934fbc7ecffef5cfc1/href">https://medium.com/media/f120934259c73a934fbc7ecffef5cfc1/href</a></iframe><p>The benefit of using this parameter is that it can reduce the time and resources needed to complete bulk data operations by skipping the custom synchronous logic that may not be relevant or necessary for your scenario. However, the risk is that you may bypass some important logic that ensures data consistency or functionality for your organization or other solutions. Therefore, you should check with your system administrator and other solution providers before using this option.</p><h3>Adding the prvBypassCustomPlugins privilege to another role</h3><p>Because the prvBypassCustomPlugins privilege isn&#39;t available in the UI to set for different security roles, if you need to grant this privilege to another security role you must use the API. For example, you may want to grant this privilege to a user with the system customizer security role.</p><p>The prvBypassCustomPlugins privilege has the ID 148a9eaf-d0c4-4196-9852-c3a38e35f6a1 in every organization.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e6fabecd397b9a9fe68cdd2166ffc962/href">https://medium.com/media/e6fabecd397b9a9fe68cdd2166ffc962/href</a></iframe><h3>How to Bypass Power Automate Flow Execution in Dynamics 365 by Using C#</h3><p>The second optional parameter is <strong>SuppressCallbackRegistrationExpanderJob</strong>, which allows you to bypass <strong>Power Automate flows</strong> that respond to Dataverse events using the <strong>When a row is added, modified or deleted or When an action is performed triggers</strong>.</p><p>To use this parameter, you don’t need any special privilege. However, you should only use it if you experience performance issues due to a large number of system jobs created by these flows.</p><p>When you use this parameter, Dataverse does not create system jobs to execute these flows for your requests. This can improve the performance of Dataverse by reducing the load on the system. However, the flow owners will not receive any notification that their logic was bypassed. This means that they may miss some important events or actions that their flows are supposed to handle. You can also use this parameter with either the SDK for .NET or the Web API.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d80a765226964a2fecae875ed788d482/href">https://medium.com/media/d80a765226964a2fecae875ed788d482/href</a></iframe><p>The benefit of using this parameter is that it can mitigate performance issues caused by large numbers of system jobs created by Power Automate flows. However, the risk is that you may bypass some critical logic that depends on these flows. Therefore, you should communicate with the flow owners and consider some mitigation strategies before using this option.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49e17c994b5e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamics 365 — How to Show Field Notifications | addNotification]]></title>
            <link>https://medium.com/@furkankaracan/dynamics-365-how-to-show-field-notifications-addnotification-a977506d9a53?source=rss-78b5a0619a08------2</link>
            <guid isPermaLink="false">https://medium.com/p/a977506d9a53</guid>
            <category><![CDATA[client-script]]></category>
            <category><![CDATA[dynamics-crm]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <dc:creator><![CDATA[Furkan Karacan]]></dc:creator>
            <pubDate>Thu, 01 Jun 2023 13:29:10 GMT</pubDate>
            <atom:updated>2023-06-01T13:29:10.923Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dynamics 365 — How to Show Field Notifications | addNotification</h3><p>In this blog post, I will explain how to display field-level notifications in Dynamics 365 forms and demonstrate the usage of the addNotification() function with code examples. Let’s get started</p><p>What is addNotification()?</p><p>The <strong>addNotification()</strong> function is a method of the <strong>Control </strong>object in the Dynamics 365 Client API. It allows you to display a notification message next to a form control, with an icon indicating the type of notification (<strong>error </strong>or <strong>recommendation</strong>) and an optional action button. The notification message can be customized with your own text and actions.</p><p>How to use addNotification()?</p><p>To use <strong>addNotification()</strong>, you need to get a reference to the control that you want to display the notification on, using the <strong>formContext.getControl() </strong>method. Then, you need to pass an object as a parameter to the <strong>addNotification()</strong> method, with the following properties:</p><ul><li>messages: An array of strings that contain the message text to display. Only the first string in the array will be displayed in the current release.</li><li>notificationLevel: A string that defines the type of notification. Valid values are “ERROR” or “RECOMMENDATION”.</li><li>uniqueId: A string that identifies the notification. You can use this ID to clear the notification later using the clearNotification() method.</li><li>actions: An optional array of objects that define the action button for the notification. Each object has two properties:</li><li>message: A string that contains the text for the action button.</li><li>actions: An array of functions that will be executed when the user clicks on the action button.</li></ul><p>Here is an example of using <strong>addNotification()</strong> to display a recommendation message on a phone number control, with an action button that copies the phone number to the clipboard:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b5aa2a98cd6c433768984c6c6d6c587e/href">https://medium.com/media/b5aa2a98cd6c433768984c6c6d6c587e/href</a></iframe><p>The <strong>addNotification() </strong>function can be used for various scenarios where you want to provide some feedback or guidance to the user based on their input or data on the form. For example, you can use it to:</p><p>– Validate user input and display error messages if the data is not valid or complete.<br>– Suggest alternative values or actions based on business logic or best practices.<br>– Provide additional information or tips about a field or control.<br>– Alert the user about potential issues or risks related to their data.</p><p>When is addNotification() useful and when is not?</p><p>The <strong>addNotification()</strong> function is useful when you want to display a simple and concise message that relates to a specific control on the form. It can help you improve user experience and data quality by providing timely and relevant feedback.</p><p>However, there are some limitations and drawbacks of using addNotification() that you should be aware of:</p><p>– The notification message can only be displayed on one control at a time. If you try to display multiple notifications on different controls, only the last one will be visible.<br>– The notification message can only contain plain text. You cannot use HTML tags, images, links, or other formatting options.<br>– The notification message has a limited length and space. You should keep your message short and clear, otherwise it might be truncated or overlap with other elements on the form.<br>– The notification message can interfere with other UI elements on the form, such as labels, icons, tooltips, etc. You should test your notification on different screen sizes and resolutions to ensure it does not cause any layout issues.<br>– The notification message can be dismissed by the user by clicking on the icon or the action button. You cannot prevent the user from closing the notification or force them to take any action.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a977506d9a53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamics 365 — Import Bulk Data using Excel Template]]></title>
            <link>https://medium.com/@furkankaracan/dynamics-365-import-bulk-data-using-excel-template-e1d57a207af3?source=rss-78b5a0619a08------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1d57a207af3</guid>
            <category><![CDATA[dynamics-crm]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[excel-import]]></category>
            <dc:creator><![CDATA[Furkan Karacan]]></dc:creator>
            <pubDate>Mon, 20 Feb 2023 07:59:05 GMT</pubDate>
            <atom:updated>2023-02-20T07:59:05.986Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dynamics 365 — Import Bulk Data using Excel Template</h3><p>Excel templates are pre-formatted spreadsheets that contain data fields and formulas that match the structure and logic of Dynamics 365 entities and attributes. By using Excel templates, you can easily import bulk data into Dynamics 365 without having to manually map each column or field. You can also use Excel templates to analyze and share your data with others.</p><p>Some benefits of using Excel Import are:</p><ul><li>They save time by automating and organizing your tasks.</li><li>They reduce errors by ensuring consistency and accuracy.</li><li>They are easy to use and learn even with limited Excel knowledge.</li><li>They are cost effective solutions to various Excel problems.</li></ul><h3>How to download an Excel template for data import</h3><p>There are two ways to download an Excel template for data import in Dynamics 365:</p><p><strong>From the Settings page:</strong></p><ul><li>Go to Settings &gt; Templates &gt; Document Templates &gt; New. You must have sufficient permissions to access this page, such as System Administrator or System Customizer.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_TZqcOpcR2DYARaQ" /></figure><p>–</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lCfSTAmtIO6oQG0S" /></figure><p><strong>From a list of records:</strong></p><ul><li>- For example, go to Accounts &gt; Select a View(like Active Accounts in the image). On the menu bar, click Excel Templates &gt; Create Excel Template.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xhdKg0ocQ53zJ7Su" /></figure><p>In both cases, you need to select the entity that you want to import data for from the drop-down list, then click Download. You can use a text file, a compressed zip file, an Excel spreadsheet, or an Excel workbook to do the data import.</p><h3>How to fill out an Excel template for data import</h3><p>Once you have downloaded an Excel template for data import, you need to fill out the spreadsheet with your data. You can copy and paste data from another source or enter it manually.</p><p>Some columns are <strong>mandatory</strong> (marked with *), some are <strong>optional</strong> (marked with ?), and some are <strong>read-only</strong> (marked with #). You need to follow these rules when filling out the spreadsheet:</p><ul><li>Do not change or delete any column headers or formulas.</li><li>Do not add any new columns or rows.</li><li>Do not leave any blank rows between records.</li><li>Do not use commas or other special characters in numeric fields.</li><li>Use valid values for lookup fields (such as account name) or option set fields (such as status).</li><li>Use date formats that match your system settings (such as MM/DD/YYYY).</li></ul><h3>How to upload an Excel template for data import</h3><p>After filling out an Excel template for data import, you need to upload it back into Dynamics 365. There are two ways to upload an Excel template for data import in Dynamics 365:</p><p><strong>From the Settings page:</strong></p><ul><li>Go to Settings &gt; Data Management &gt; Imports &gt; Import Data. Click Browse and select your file. Click Next and follow the steps in the wizard.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*raLOMG-s-XHTjY11" /></figure><p><strong>From a list of records:</strong></p><ul><li>For example, go to Accounts. On the menu bar, click Import Data. Click Browse and select your file. Click Next and follow the steps in the wizard.</li></ul><p>In both cases, you need to review and confirm your settings before starting the import process. You can also check the status and results of your import by going back to <strong>Settings &gt; Data Management &gt; Imports</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ItJt9BFC95JZ17Mm" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1d57a207af3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Power Automate — Get Attribute from Linked Entity]]></title>
            <link>https://medium.com/@furkankaracan/power-automate-get-attribute-from-linked-entity-b572f11e78c1?source=rss-78b5a0619a08------2</link>
            <guid isPermaLink="false">https://medium.com/p/b572f11e78c1</guid>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[power-automate]]></category>
            <category><![CDATA[cloud-flow]]></category>
            <category><![CDATA[fetch-xml]]></category>
            <dc:creator><![CDATA[Furkan Karacan]]></dc:creator>
            <pubDate>Thu, 09 Feb 2023 11:15:08 GMT</pubDate>
            <atom:updated>2023-02-13T09:58:19.393Z</atom:updated>
            <content:encoded><![CDATA[<h3>Power Automate — Linked Entity Attributes</h3><p>Linked entities in FetchXML are entities that are related to the primary entity specified in the FetchXML query. Linked entities allow you to retrieve data from multiple related entities in a single query, and to traverse the relationships between entities to retrieve related data.</p><p>When you are filtering records in Power Automate with FetchXML you might need to use linked entities. But unlike top entity, you will not be able to find dynamic content for linked entities that you specified in your FetchXML.</p><p>Assume you have FetchXML like this:</p><pre>&lt;fetch version=&quot;1.0&quot; output-format=&quot;xml-platform&quot; mapping=&quot;logical&quot; distinct=&quot;false&quot;&gt;<br>  &lt;entity name=&quot;my_entity&quot;&gt;<br>    &lt;attribute name=&quot;my_name&quot; /&gt;<br>    &lt;link-entity name=&quot;account&quot; from=&quot;accountid&quot; to=&quot;my_lookupid&quot; link-type=&quot;outer&quot; alias=&quot;acc&quot;&gt;<br>      &lt;attribute name=&quot;accountnumber&quot; /&gt;<br>    &lt;/link-entity&gt;<br>  &lt;/entity&gt;<br>&lt;/fetch&gt;</pre><p>Inside the action, you can use the account attributes returned by the FetchXML query by accessing the output of the action by adding <strong>alias as prefix</strong>. So you can access the “accountnumber” attribute as follows:</p><p><strong>item()?[‘acc.accountnumber’]</strong>. Note that the “<strong>acc</strong>” alias used in the FetchXML query is used to <strong>prefix</strong> the “<strong>accountnumber</strong>” attribute in Power Automate.</p><p>You can use the values of these attributes in various actions within the “For each” loop, such as creating a new record, sending an email, or updating a record.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b572f11e78c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>