Posts

Showing posts from August, 2022

GET THE SIZE OF TABLES IN DYNAMICS 365 / DATAVERSE ENVIRONMENT

Image
Data size is continuously growing over the time. Thus, data storage and usage with the increasing complexity and new supported data types, is becoming an essential tool for the organizations to be able to expand their business. Therefore, knowing the data volume becomes very critical and in Dataverse, you are able to check the space reserved by each table. In this post, we will see how to get the size of Dynamics 365 / Dataverse tables for an environment . Using the Capacity page in the Power Platform Admin Center, you can get the size of each table (in MB). Login to Power Platform admin Center Under the Resources menu, click the Capacity option Select the Dataverse tab, or click on the Trial tab to check the environments

SELECT ALL OPTIONS OF MULTISELECT OPTION SET (CHOICES) FIELD IN DYNAMICS 365

Image
Multiselect or Choices field type has some limitations when working with them. One of these limitations is to select all the options by default. Since the multiselect fields cannot be used in business rules, therefore, you have to go with JavaScript to achieve this need. For this post, we will see how to select all options of a Multiselect / Choices field in Dynamics 365 . The below code snippet will get all the available options in the multiselect field and will select them all // Select all the options in the multiselection field on create form function setMultiselectDefaultValues(context) { var formContext = context.getFormContext(); if (formContext.ui.getFormType() === 1) { var options = formContext.getAttribute("cak_multiselectoptionfieldcode").getOptions(); //