Usefull GitHub commands

Build – npm run build

Run – npm start

Check Git – git remote -v

Clone

git remote set-url origin https://github.com/TopOneUK/CRM

git clone https://github.com/TopOne/CRM D:\GoogleDrive\GitHUB\TopOne.CRM

Create – npx create-react-app TestPopUp

Config

git config –global user.email “Mario.Zbikowskil@TopOneCRM.com”

git config –global user.name “TopOneMario”

Node.js

Others

git init
npm cache clean --force
  • npm rebuild
  • npm i react-scripts
  • npm install styled-components
  • npm i request –save

How to display video in Dynamics 365 ?

Actually it does depend on where you would store the files.

Traditional standard solution is to embed a YouTube video within an iframe/html web resource on a form in a model driven app

PCF (PowerApps Component Framework) control would be the new way of embedding videos such as YouTube/Vimeo etc an example has already been created and showcased on PCF Gallery here – https://pcf.gallery/youtube-player/

https://github.com/365lyf/PCFControls/tree/master/YouTubePlayer

How to add subgrid in Word Template by Power Flow ?

https://docs.microsoft.com/en-us/connectors/wordonlinebusiness/#guide-for-using-repeating-section-content-control-in-the-word-online-connector

https://flow.microsoft.com/en-us/blog/intermediate-flow-of-the-week-create-pdf-invoices-using-word-templates-with-microsoft-flow/

It works the same way the cloud flow word template where you can populate the repeating table with the normal value. (you can use formatted value instead)

According to the documentation of the Word Online connector this should be possible https://docs.microsoft.com/en-us/connectors/wordonlinebusiness/#guide-for-using-repeating-section-content-control-in-the-word-online-connector

By the way, did you try to populate in PowerFlow subgrid (related records) for given entity ? In OOT word template you can repeat rows (special control) , but how about Power Flow ? – Populate a Microsoft Word template. in one record e.g. payment you can have multiple reviews to populate in Word template from sub grid. I am not sure it is possible to do at Power Flow at all

Alternative option is Documents Corepack for all projects

How to work with optionset lables in Power Automate? – Power Flow

Greate post form Thomas (CRM Addicted)

http://crmaddicted.blogspot.com/2020/01/working-with-optionset-lables-in-power.html

Posts on Power Platform Forum:

https://powerusers.microsoft.com/t5/Microsoft-Dataverse/I-want-using-Option-Set-field-choose-label-value/m-p/162486

https://powerusers.microsoft.com/t5/Building-Flows/How-to-retrieve-an-option-set-label/td-p/547354

https://powerusers.microsoft.com/t5/Microsoft-Dataverse/I-want-using-Option-Set-field-choose-label-value/m-p/162486

Lin post:

https://linnzawwin.blogspot.com/2020/07/get-lookup-display-name-and-option-set.html
https://powerusers.microsoft.com/t5/Building-Flows/How-to-retrieve-an-option-set-label/td-p/547354

The full expression is Triggeroutputs()?[‘body/_leadqualitycode_label’].

  The main issue I have is that this will only work with the CDS connector and not the CDS (current environment) connector as the label value is not returned in the JSON for the CDS (current environment) connector.  I hope this is fixed in the future as the current environment connector provides more Actions and is more efficient for processing lists of record.

If you wanted to do this from a different record than the record that triggered the flow then use the Get Record action and then the following expression Outputs(‘Get_record’)?[‘body/_leadqualitycode_label’] where ‘Get_record’ is the name of the action.

Hope this helps someone.

Other links

https://powerusers.microsoft.com/t5/Microsoft-Dataverse/I-want-using-Option-Set-field-choose-label-value/m-p/162486
https://powerusers.microsoft.com/t5/Microsoft-Dataverse/I-want-using-Option-Set-field-choose-label-value/td-p/162486
https://powerusers.microsoft.com/t5/Building-Flows/Option-Set-in-MS-Automate-flow/td-p/499217
https://www.powerautomatetraining.co.uk/post/how-to-retrieve-cds-option-set-label-name

Problem:

The config look like following

const config = {
  
  user: "admin",
  password: "csdfsdfsdfVs",
  server: "database-server.database.windows.net",
  database: "web-database",
 
  options: {
    encrypt: true,
    enableArithAbort: true,
  },
};

it should be

const config = {
  server: "database-server.database.windows.net",
  user: "admin",
  password: "csdfsdfsdfVs",
  database: "web-database",
 
  options: {
    encrypt: true,
    enableArithAbort: true,
  },
};