Compartir a través de


Remove resourced image from schedule board when the row height cuts off image

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Note

These release notes describe functionality that may not have been released yet. To see when this functionality is planned to release, please review Summary of what’s new. Delivery timelines and projected functionality may change or may not ship (see Microsoft policy).

In the previous release, we released a feature that allows you to shrink the height of each resource row, thereby enabling resource managers to view more resources on the board in a single glance. However, depending on the row height, the resource image got cut off. Now, we simply remove the resource image from the resource cell when the height is too small.

For new organizations, this functionality will be included out of the box. For existing organizations, if you have yet to customize your resource template, you will also receive this functionality out of the box. For existing organizations that already customized the resource template, you will need to add the following to your resource template for the schedule board, and for the schedule assistant.

<div class='resource-card-wrapper {{iif ResourceCellSelected "resource-cell-selected" ""}} {{iif ResourceUnavailable "resource-unavailable" ""}} {{iif IsMatchingAvailability "availability-match" ""}}'>
{{#if (or (eq (is-sa-grid-view) true) (eq (is-row-small) false)) }}
{{#if imagepath}}
<img class='resource-image' src='{{client-url}}{{imagepath}}' />
{{else}}
<div class='resource-image unknown-resource'></div>
{{/if}}
{{/if}}