ribbon editor Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/ribbon-editor/ Microsoft Dynamics CRM . Microsoft Power Platform Sat, 22 Aug 2020 10:32:24 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/cropped-Microsoftdynamics365-blogs.png?fit=32%2C32 ribbon editor Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/ribbon-editor/ 32 32 176351444 Pass executionContext or formContext from Ribbon WorkBench button in UCI Unified client interface http://microsoftdynamics.in/2020/08/22/pass-execution-context-or-form-context-from-ribbon-workbench-in-uci-unified-client-interface/ Sat, 22 Aug 2020 10:32:24 +0000 http://microsoftdynamics.in/?p=4071 With Depreciation of xrm.page which was used to get attribute/property of an item of form. We all have switched to the latest FormContext which require executionContext need top be passed as a Parameter "Pass Execution Context as First Parameter" from event

Now how to pass ExecutionContext for the javascript action used for a Button on Ribbon Workbench

1 Open Ribbon WorkBench
2 Select Solution contains entity and components
3 Add button, Add command
4 Now add Javascript Action and select Javascript and Function
5 Now Click on Add Parameter

The post Pass executionContext or formContext from Ribbon WorkBench button in UCI Unified client interface appeared first on Microsoft Dynamics 365 Blog.

]]>

With Depreciation of xrm.page which was used to get attribute/property of an item of form. We all have switched to the latest FormContext which require executionContext need top be passed as a Parameter "Pass Execution Context as First Parameter" from event

Now how to pass ExecutionContext for the javascript action used for a Button on Ribbon Workbench

From Event Handler Property we can simply enable checkbox  “Pass execution context as first parameter ” and use that for Form Context as Below

And we can get FormContext from 1st parameter Execution Parameter.

function readXML(executionContext) {   
 if (executionContext !== null) {

             formContext =  executionContext.getFormContext();
   }
alert("executionContext  is null ");
}

How to Pass ExecutionContext or FormContext for a JS action on the button in Ribbon Workbench

  1. Open Ribbon WorkBench
  2. Select Solution contains entity and components
  3. Add button, Add command
  4. Now add Javascript Action and select Javascript and Function
  5. Now Click on Add Parameter
  6. Add CRM Parameter

  7. and select Primary  Control

1 thing to remember, like for Form Button , always use PrimaryControl as Form Control

function readXML(executionContext) {   
 if (executionContext !== null) {

             formContext =  executionContext;  //PrimaryControl
   }
alert("executionContext  is null ");
}

The post Pass executionContext or formContext from Ribbon WorkBench button in UCI Unified client interface appeared first on Microsoft Dynamics 365 Blog.

]]>
4071
Migration from Legacy WebClient to UCI – Ribbon Button Icon issue – Old Legacy WebClient Button not supported in UCI – ModernImage -SVG http://microsoftdynamics.in/2020/07/11/migration-from-legacy-webclient-to-uci-ribbon-button-icon-issue-old-legacy-webclient-button-not-supported-in-uci-modernimage-svg/ Sat, 11 Jul 2020 14:05:56 +0000 http://microsoftdynamics.in/?p=3942 Migration from Legacy Webclient to UCI - Unified client interface - Step by Step move from Legacy WebClient to Unified Client Interface UCI -

Identify the most critical components and the commonly shared component (which almost no effect)
Setup Development environment for UCI upgrade and keeping in mind we also have to support fixes and CR to legacy WebClient
So now we have 3 Properties control

Image 16 for 16*16 png or jpg image and used in classic Legacy WebClient
Image 32 for 32*32 png or jpg image and used in Classic Legacy WebClient
ModernImage SVG format independent of Resolution used in New UCI 

The post Migration from Legacy WebClient to UCI – Ribbon Button Icon issue – Old Legacy WebClient Button not supported in UCI – ModernImage -SVG appeared first on Microsoft Dynamics 365 Blog.

]]>
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/07/Ribbon-Button-Icon-issue-Old-Legacy-WebClient-Button-not-supported-in-UCI-ModernMode.jpg?fit=1729%2C574

For New UCI Image16 and Image 32, Property Control doesn't work (PNG or JPG) and Support SVG image in New Property "ModernImage"

SVG – Scalable Vector Graphics is most suitable for the Responsive page as it can be scaled high and keeping almost same Quality and that is the Reason these images suit the New UCI Responsive page. 

Below are some advantage for Using SVG

  • SVG images can be created and edited with any text editor
  • SVG images can be searched, indexed, scripted, and compressed
  • SVG images are scalable
  • SVG images can be printed with high quality at any resolution
  • SVG images are zoomable
  • SVG graphics do NOT lose any quality if they are zoomed or resized
  • SVG is an open standard
  • SVG files are pure XML

What are the changes we need to do

  1. No change required for OOB system buttons when Transition happens it automatic updates
  2. For Custom Button and Icon we need to Add SVG image in MorderImage Property from Ribbon workBench and we can keep Image 16 and image 32 if you want but it recommended we change them too.

Check 1 For Custom Button Icon we need to Add SVG image in MorderImage Property from Ribbon workBench and we can keep Image 16 and image 32 if you want but it recommended we change them too.

So now we have 3 Properties control

  1. Image 16 for 16*16 png or jpg image and used in classic Legacy WebClient
  2. Image 32 for 32*32 png or jpg image and used in Classic Legacy WebClient
  3. ModernImage SVG format independent of Resolution used in New UCI

Below are the steps to add SVG image in Modern Image

  1. Create a New Web Resource with type as Vector Format (SVG) and Upload image

  2. Now Open Ribbon WorkBench, If not installed install it from here
  3. If button properties are disabled. right-click a select Customise button

  4. Publish the Ribbon and we can now see the correct image in our Button at UCI.

The post Migration from Legacy WebClient to UCI – Ribbon Button Icon issue – Old Legacy WebClient Button not supported in UCI – ModernImage -SVG appeared first on Microsoft Dynamics 365 Blog.

]]>
3942
Migration from Legacy Webclient to UCI – Ribbon Button not Showing in UCI or Ribbon Button not working in UCI http://microsoftdynamics.in/2020/07/11/migration-from-legacy-webclient-to-uci-ribbon-button-not-showing-in-uci-or-ribbon-button-not-working-in-uci/ Fri, 10 Jul 2020 19:36:40 +0000 http://microsoftdynamics.in/?p=3899 We only faced below issue in 1 particular Custom Form and that provided us ideas what we wanted to test / Validate and correct while we were doing transition Validation for New UCI in DEV

We found below 3 gaps which needed validation

Ribbon Button not showing in New UCI but visible in WebClient Legacy App

OOB Button visible in Legacy App but hidden or not showing up in New UCI ( there is 1 Display Rule: mscrm.hideonmorden)

Ribbon Button not working (Maybe any unsupported Javascript attached or Calling RibbonAction which are not supported now)

The post Migration from Legacy Webclient to UCI – Ribbon Button not Showing in UCI or Ribbon Button not working in UCI appeared first on Microsoft Dynamics 365 Blog.

]]>
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/07/Migration-from-Legacy-Webclient-to-UCI-Ribbon-Button-not-Showing-or-disabledInactive.jpg?fit=1582%2C698

We might be facing below Issue with the Custom Ribbon Button or OOB button while transitioning to New UCI

-Ribbon Button not showing in New UCI but visible in WebClient Legacy App or OOB Button visible in Legacy App but hidden or not showing up in New UCI ( there is 1 Display Rule: mscrm.hideonmorden)

-Ribbon Button not working (RibbonAction.js has been deprecated)

Normally this issue will not occur if we did all supported way of development in LegacyWebclient itself

We only faced below issue in 1 particular Custom Form and that provided us ideas what we wanted to test / Validate and correct while we were doing transition Validation for New UCI in DEV

We found below 3 gaps which needed validation

  1. Ribbon Button not showing in New UCI but visible in WebClient Legacy App
  2. OOB Button visible in Legacy App but hidden or not showing up in New UCI ( there is 1 Display Rule: mscrm.hideonmorden)
  3. Ribbon Button not working (RibbonAction.js has been deprecated)

Check1- 2 Ribbon Button not showing in New UCI but visible in WebClient Legacy App
OR
OOB Button visible in Legacy App but hidden or not showing up in New UCI

So there are 2 things here: Any OOB Button on the entity is not visible on Form example: Other Activity  in Contact (Refer below screenshot)
OR
Any Custom Button on the entity is not visible, For custom button, we faced only in 1 form and that too was resolved opening Ribbon workbench and publishing it without any change

  • FOR  OOB Button on the entity is not visible on Form example: Other Activity  in Contact (Refer below screenshot), we can follow below to enable but remember its not a recommended method and not mandatory that it will work.

There are many OOB Button that is disabled at UCI on purpose. So we can enable them only if required but I am not sure if that supported.

Click Here to check Post: How to add Button using Ribbon Work Bench

  • Creating a new Solution with the entity (contact)
  • Install Ribbon Workbench Solution and Open from Top Left Corner
  • Select the Solution Created Previously with Entity

  • Once Loaded, You can see all Hidden / Visible Buttons available on HOME , SUBGRID and FORM , We will select our Button “Other Activity”
  • Right-click on Button and click on Customization Command

  • In Display Rule, we will find a rule “mscrm.HideOnModern”, Deleting this will unhide this button on UCI,

  • BUT THIS DOESN’T MEAN IT WILL WORK THE SAME WAY IT WAS WORKING IN LEGACY WEB CLIENT APP

Check 3Ribbon Button not working ((RibbonAction.js has been deprecated))

If your button not working most probably you are using RibbonAction or Ribbon Workflow

  • If you followed my old blog how to Trigger workflow or action from Ribbon Button and you are using this onto your ribbon button. so bad news is it has been Deprecated, below screenshot from ribbon workbench, you can go through it to remove it from Button

https://ribbonworkbench.uservoice.com/knowledgebase/articles/132235-create-a-workflow-short-cut-ribbon-button-no-code

The post Migration from Legacy Webclient to UCI – Ribbon Button not Showing in UCI or Ribbon Button not working in UCI appeared first on Microsoft Dynamics 365 Blog.

]]>
3899
UseFul Tool For ms crm 2011 , 2013 ( and how to connect and use them) http://microsoftdynamics.in/2014/02/16/useful-tool-for-ms-crm-2011-2013-and-how-to-connect-and-use-them/ Sun, 16 Feb 2014 12:49:00 +0000 http://microsoftdynamics.in/2014/02/16/useful-tool-for-ms-crm-2011-2013-and-how-to-connect-and-use-them/ Some Of The Useful Tool Which Are Available In Codeplex. Ribbon Editor Tool : To Customize Ribbon Easily: ” http://ribboneditor.codeplex.com/ “ Site Map Editor Tool: For Easy Sitemap Editing: “http://sitemapeditor.codeplex.com/ “ Diagnostics Tool for Microsoft Dynamics CRM 2011 : “ http://crmdiagtool2011.codeplex.com/ ” JavaScript Resource Manager: ” http://jswebresourcemanager.codeplex.com/ “ Odata Designer Tool : ” http://crm2011odatatool.codeplex.com/ “...

The post UseFul Tool For ms crm 2011 , 2013 ( and how to connect and use them) appeared first on Microsoft Dynamics 365 Blog.

]]>

Some Of The Useful Tool Which Are Available In Codeplex.

Ribbon Editor Tool : To Customize Ribbon Easily: ” http://ribboneditor.codeplex.com/ “

Site Map Editor Tool: For Easy Sitemap Editing: “http://sitemapeditor.codeplex.com/ “

Diagnostics Tool for Microsoft Dynamics CRM 2011 : “ http://crmdiagtool2011.codeplex.com/ ”

JavaScript Resource Manager: ” http://jswebresourcemanager.codeplex.com/ “

Odata Designer Tool : ” http://crm2011odatatool.codeplex.com/ “

CRM 4 – CRM 2011 Javascript Converter: ” http://crm2011scriptconvert.codeplex.com/ “

MetaData Browser : ” http://crm2011metabrowser.codeplex.com/ “


SOURCE : JUST2CODE.IN
Subscribe to our YouTube channel : https://www.youtube.com/user/TheRussell2012

The post UseFul Tool For ms crm 2011 , 2013 ( and how to connect and use them) appeared first on Microsoft Dynamics 365 Blog.

]]>
2841