Friday, April 17, 2015

The field has an invalid XAML formula definition - Rollup field

Issue resolution

Recently came across an interesting issue from one of my colleagues, when he tried to create a rollup field, a message is telling that XAML formula definition for rollup field is invalid. 




A little tracing and checking made me suspect that he did something wrong on creating the rollup field, and I was a bit surprised!

So what is the best way to resolve it?

By using MSSQL profiler I got that the relationship schema name for the parent and child entities was too long.





After researching a little bit, I found that the schema name and logical name for custom entities, attributes, relationships and for many-to-many relationship intersect tables have a maximum length of 50 characters.


Hope it helps!

Unexpected Error When Replying or Forwarding an Email

Recently came across an interesting issue from one of my clients, they were working fine since around 2 years ago with no issues, using Dyn...