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

[C#] AttributeMetadata "IsSearchable" always false

$
0
0

I'm trying to access AttributeMetadata using Microsoft.Xrm.Tooling.Connector (link) using the GetAllAttributesForEntity function.

var entityAttributes = client.GetAllAttributesForEntity("account");

foreach (var attribute in entityAttributes)
{
  // attribute.IsSearchable.Value is always false
}

However, it seems that the attribute "IsSearchable" (and perhaps other attributes, but our focus is on this) is always false, however, in CRM the attribute is set to Yes for most fields. Is there something I'm missing?


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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