Category Archives: Adxstudio

Impersonating users in PowerPages for troubleshooting

So you have a PowerPages (PowerApps Portal) website. A website user reports a problem with the data they are seeing, but you are unable to reproduce it using your login account. Wouldn’t it be nice if you could login as … Continue reading

Posted in Adxstudio, CRM, CRM Portal | Leave a comment

Support for Portal Content Snippets added to CRMQuickDeploy 3.9

CRMQuickDeploy now has the ability to deploy Content Snippets to PowerApps Portal from Visual Studio. Below are information on how to structure content snippets in your Visual Studio project. Folder name Like other supported Portal artefact types, content snippets need … Continue reading

Posted in Adxstudio, CRM Portal, CRMQuickDeploy | Leave a comment

Adding rich text editor to PowerApps Portal with CKEditor

Currently PowerApps Portal does not support rich text editor out-of-the-box (OOTB). While the backend CRM has an OOTB rich text control that can be used in CRM, this unfortunately currently does not work on Portal. You can add rich text … Continue reading

Posted in Adxstudio, CRM, CRM Portal | 4 Comments

Automatic Portal (xRM CE) cache refresh with CRMQuickDeploy

This feature of CRMQuickDeploy is for xRM Portal CE only and does not work for D365 Portal (on cloud). The context of this post therefore is xRM Portal CE only. When updating portal artefacts (such as web templates, web files, … Continue reading

Posted in Adxstudio, CRM, CRM Portal, CRMQuickDeploy | Leave a comment

Outputting clean HTML with Liquid in Dynamics 365 Portal

Recently a colleague taught me a trick that I did not know about Liquid in Dynamics 365 Portal: use the {%- -%} syntax (as oppose to {% %}) to keep the HTML output clean. I don’t think this is documented … Continue reading

Posted in Adxstudio, CRM, CRM Portal | Leave a comment

View actual XML of FetchXML query in Dynamics 365 Portal

In Dynamics 365 Portal you can write FetchXML query in Liquid using the fetchxml tag. As this query can be dynamically constructed, there may be scenarios where you will need to debug it. There’s an undocumented feature that allows you … Continue reading

Posted in Adxstudio, CRM, CRM Portal | Leave a comment

How to set value for date-time field by JavaScript in CRM Portal

Date-time fields in CRM Portal is a bit tricky when it comes to setting value dynamically using JavaScript. Behind the scene there are two HTML input fields that we need to worry about. First is the field that actually contains … Continue reading

Posted in Adxstudio, CRM, CRM Portal | 3 Comments

Leveraging built-in services in CRM Portal

On a recent project we decided to build a custom entity list using jQuery DataTables as the OOTB entity list did not meet our requirements. As part of this we needed to build a delete list item functionality that should … Continue reading

Posted in Adxstudio, CRM, CRM Portal | 4 Comments

Querying many-to-many relationship in CRM Portal using JavaScript

How do you programmatically query an N:N relationship in CRM Portal using JavaScript without developing additional services? You can do this with FetchXml and Liquid, and a small hack. Here is a good walkthrough of using FetchXml in Liquid to … Continue reading

Posted in Adxstudio, CRM, CRM Portal | 1 Comment

Reduce code duplication between Insert/Edit forms in CRM Portal with CRMQuickDeploy

CRM Portal is an interesting product, in a good way. One thing it doesn’t do very well however, is that a single Entity Form (or Web Form) cannot be used to handle both inserting and editing records for an entity. … Continue reading

Posted in Adxstudio, CRM, CRM Portal, CRMQuickDeploy | Leave a comment