Tip #1445: Date picker in Power Pages revisited

The image displays the Aztec calendar stone, also known as the Sun Stone, featuring intricate carvings. The calendar is a large circular stone with detailed mythological and astronomical engravings that played a significant role in the Aztec civilization. The central face of the sun god Tonatiuh appears at the center, surrounded by elaborate designs that represent different periods of time and the cosmos according to Aztec beliefs. The stone is showcased against a plain backdrop, emphasizing its historical and cultural significance.

The product has been renamed at least twice since we talked last time about how to restrict the date picker control in now Power Pages. But most importantly that code, according to some reports, no longer works. Fear not, here’s the revised version that works perfectly well in Power Pages (it did 5 minutes ago, […]

Tip #1421: Hide form selector in model-driven apps

Everybody take a seat. Tanguy WiTouzard has the floor. (You can grab everyone’s attention too by sending your useful tip to jar@crmtipoftheday.com) Wizardry starts here I don’t know if it was published before but I just found out that we were able to remove “forms” from “form selector” using Javascript. It’s really useful when you […]

Tip #1198: Add email address to recipients in javascript

Six colorful mailboxes in a row

The advantage of having access to friendly brainpower is that the problems are getting resolved much quicker. The disadvantage is that it breeds inattentive coding. Daryl “Always Raising” LaBar almost threw in a towel but recovered and redeemed himself with the snippet how to add an arbitrary email address to the list of the email recipients […]

Tip #1044: Display lookups as hyperlinks in portal entity list

Portal gun

Entity lists in the Dynamics 365 portals do not have any special handling for the lookups – they just render the display names. Fair enough, after all, how is the rendering code supposed to know what page to link to? If you are comfortable with liquid in portals then the task is relatively easy. Just […]

Tip #986: Specify language for Online Management API

International flags

As soon as the word got out that I managed to use Online Management API to create backups in Azure, Marius Agur Pedersen reached out to me about the support case with Microsoft that he had in the limbo for a number of weeks. Basically, Marius was able to retrieve instances but any attempt to […]

Tip #854: Beware of Using Xrm Client Functions As Callbacks

Today’s tip comes from the tipper who, despite his affinity with Microsoft Flow, earned his place amongst the real developers fair and square, and who is now known as Daryl “Always Raising” LaBar. Daryl, you have the floor Writing clean code is constantly at the for-front of developers, and usually, “less” code generally results in […]

Tip #827: Restricting date picker on portal forms

The image displays the Aztec calendar stone, also known as the Sun Stone, featuring intricate carvings. The calendar is a large circular stone with detailed mythological and astronomical engravings that played a significant role in the Aztec civilization. The central face of the sun god Tonatiuh appears at the center, surrounded by elaborate designs that represent different periods of time and the cosmos according to Aztec beliefs. The stone is showcased against a plain backdrop, emphasizing its historical and cultural significance.

This tip comes directly from none other than Tanguy “The XRM Toolbox” Touzard himself. It’s super easy to build an entity form and a page to allow editing of the Dynamics 365 records in a portal. But what if we want to restrict a date picker control to a certain range, which could be dynamic, […]