Tag Archives: Power Platform

Retrieving environment variable value in Javascript

The script below might help if you wanted to read CDS environment variable value in your javascript web resource. top.environmentVariables = []; function getEnvironmentVariableInternal(varName){ “use strict”; top.environmentVariables[varName] = null; Xrm.WebApi.retrieveMultipleRecords(“environmentvariabledefinition”, `?$top=1&fetchXml=<fetch version=’1.0′ output-format=’xml-platform’ mapping=’logical’ distinct=’true’> <entity name=’environmentvariabledefinition’> <attribute name=’defaultvalue’ /> <filter type=’and’> <condition attribute=’schemaname’ operator=’eq’ value=’` + varName + `’ /> </filter> <link-entity name=’environmentvariablevalue’ from=’environmentvariabledefinitionid’… Read More »

Can’t see “Edit Filters” button in the classic solution designer for a view? Here is one reason why

There is, really, not a lot to write about it. The screenshot below says it all: There is one link missing on the right side, which is “Edit Filter Criteria”. It does show up for some other views, though: But, from what I could see, it disappears once the view(or, possibly, the filters) has been… Read More »

Reporting and document generation in Power Platform

For some reason, the part of Power Platform that used to be Dynamics CRM (and was, then, transformed into what’s called “first party” applications) has always been limited in its reporting and document generation capabilities. It’s still the case, it seems, and it’s a strange situation for an enterprise-grade platform. After all, what’s the point… Read More »

Using flow-generated word documents in model-driven apps

Document Templates have been available in model-driven apps for a while now – they are integrated with the model-driven apps, and it’s easy for the users to access them. They do have limitations, though. We cannot filter those documents, we can only use 1 level of relationships, on each relationship we can only load 100… Read More »