Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Header Field Values Truncated (CRM 2016)

$
0
0

Hi,

From some research, I am aware this is a well known issue with the design of the product.

However, I am keen to ask some advice, the header section of my form is "two-columns", label width of 250 and labels "On-top" - both labels are hidden (only the value of the field is relevant to me). NOTE: the fields are read only.

My problem is that this value is truncated...and I have shortened it as far as possible. My last option is go down the "unsupported" route, I added the CRM 2016 script below onload:

function LoadChangeHeaderTiles()
{
   changeHeaderTileFormat();
   setInterval(changeHeaderTileFormat, 1000);
}
function changeHeaderTileFormat()
{
   var headertiles = window.parent.document.getElementsByClassName("ms-crm-HeaderTileElement");
   if (headertiles != null)
   {
       for (var i = 0; i < headertiles.length; i++)
       {
           headertiles[i].style.width = "175px";
       }
   }
}

However, it does not seem to have any impact at all. I debugged the code and "headertiles" always has a length of 0.

Am I doing something wrong? NOTE: This is a custom entity.

Thanks in Advance


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>