Posts

Create New records in Account entity using power shell script in dynamic 365.

Image
  First we need to install PowerShell Microsoft.Xrm.Data.PowerShell module for the current user blow executing below script. Install-Module Microsoft.Xrm.Data.PowerShell -Scope CurrentUser Next, we need to run below lines of script. This command sets the execution policy for PowerShell scripts to RemoteSigned for the current user scope. Set-ExecutionPolicy –ExecutionPolicy RemoteSigned –Scope CurrentUser 1.       This command sets the security protocol used by the .NET framework for network communications to TLS 1.2. [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12 To connect to connect to specific environment we need write blow lines of script with username and password and environment URL as shown below. $Username=" XXXXXXXXXX " $Password=" XXXXXXX " $pwd = ConvertTo-SecureString $Password -AsPlainText -Force $credentials = New-Object System.Management.Automation.PSCredential($Username, $pwd) $...

In-app notification in dynamic 365 Customer Service Workspace

Image
In this article, we will implement a notification message in the customer service workspace for when a new case is created or updated. We will activate in-app notification features in the model-driven app and develop a plugin code to retrieve messages.      Sing in to https://make.powerapps.com/     Open the solution that contains the model-driven app.   Select the model – driven app and select the edit.   Click on settings, Navigate to Features and search for in – app notification and active. Write a plugin to get notification when a new case is created in customer service workspace. Open visual studio select create new project. Search for class library and select the Class Library (.NET Framework) and click on Next. Give the project name and select the latest .NET frame work and click on create. To install CRM Core Assemblies right click on solution and select Manage NuGet packages as show in below screen and search for Microsoft.CRMSdk.CoreAssemb...

Create barcode using power automate and scan using power app

Image
  In this article, we will learn how we can create bar code with the help of Power Automate and have bar code in SharePoint list as attachment and scan barcodes with the help of Power Apps. Step 1: First, we have to go to https://sharepoint.com/ , then we must create a team site as preferable. Now, create a SharePoint list with the following columns. Step 2: Now go to https://make.powerautomate.com/ click on My flows on left navigation you can able to see new flow on top ribbon from there select automated cloud flow, as show in below screen. Next give the flow name as preferable and choose flow trigger as when an item is created in SharePoint. Refer blow screen. Step 3: In the "When an item is created" box provide the site URL and select the list name as "Employeelist". Step 4: Next click on "Add an action" then search for "Encodian" and select it. After that search for "Create BarCode" and select it. Next, select "B...