The message advises to “Use TextBuiltInId instead,” but it should correctly state “Use ImageTextBuiltInId instead.”
//
// Summary:
// This built in view item is obsolete and will no longer be supported from Smart
// Client 2026 R1. Use VideoOS.Platform.Client.ViewAndLayoutItem.ImageTextBuiltInId
// instead. Identifies a text viewitem that is used to display a text string in
// the Smart Client. To be used with VideoOS.Platform.Client.ViewAndLayoutItem.InsertBuiltinViewItem(System.Int32,System.Guid,System.Collections.Generic.Dictionary{System.String,System.String}).
//
// Needs a property for the text string:
// "Text" = The text string to show
[Obsolete("This built in view item is obsolete and will no longer be supported from Smart Client 2026 R1. Use TextBuiltInId instead.", false)]
public static Guid TextBuiltInId = new Guid("769457D3-1F67-4C61-8529-5A428689A7CF");
This is found within the ViewAndLayoutItem class of the Milestone SDK. You can access it by pressing F12 on the declaration or by hovering over ViewAndLayoutItem.TextBuiltInId.
When I hover, I can see that it gives the correct description, but when I go to the declaration, the obsolete description is different.
I have reached the realization that the “documentation” part is correct, but the Obsolete attribute caries the wrong information. The way you document your observation is crystal clear, thank you for the effort.
I will make sure this is corrected for future releases of the MIP Library. It will not be in 25.3 as it is closed for new additions, being tested and finalized for release, but I also hope you do not see this as super urgent to get fixed fast.