web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Getting error on updating a field - Length of indexed attribute can not be updated

(0) ShareShare
ReportReport
Posted on by 144

Hello,

I am trying to update the length of Subject field in Email entity from 850 to 3000. On update, I am getting below error-

'Length is not valid because this is an indexed attribute and hence cannot have size greater than 1700.'
I tried below solutions :
 - export attribute in Solution, edit customization XML file & replace new length. On reimport I was getting same error.
 - I have removed the entity from relevance and customized search
 - I have removed the field from Quick Find view.
Still the error is occurring.
Any solution on removing this error? 
Thanks.
I have the same question (0)
  • Verified answer
    Tarcisio Vilas Boas Profile Picture
    on at
    RE: Getting error on updating a field - Length of indexed attribute can not be updated

    Hello friend,

    As this field is a native one, and there is already an internal index called ndx_StateCodeSubject, there is no way to update subject size to any value greater than 1700.

    1700 is the maximum value allowed on this Subject field on Email entity.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 129 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans