Ticket S171578
Visible to All Users
Duplicate

Core - Make it possible to find a View node by its short identifier

Answers approved by DevExpress Support

created 12 years ago (modified 12 years ago)

We have implemented the functionality described in this ticket. It will be included in our next update(s).

Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.

Additional information:

The generation algorithm for IModelView.Id values has been changed in version 13.1 (see B236715).
You can enable resolving short identifiers in the Application Model used in previous versions by setting the static ModelNodeIdHelper.ProcessShortViewIDs property to true.
In code (e.g., in a ViewController), to check whether or not a short identifier matches a full identifier in code, use the static ModelNodeIdHelper.IsViewIdMatch method. You can also use the ModelNodeIdHelper.GetXXXViewId methods to obtain a full View identifier by a business object type.

    Show previous comments (1)
    Dennis Garavsky (DevExpress) 12 years ago

      Starting with version 13.1.6 the generation mechanism will stay unchanged (short identifiers like Customer_ListView will be used), while having the capability to resolve a name conflict in advanced scenarios. Hence, the options described in this thread are marked as obsolete.
      Please refer to the Core - Introduce an ability to have two or more classes with one and the same name, but declared within different assemblies thread for more details.
      I want to thank you all customers who provided their great feedback during this time and also want to apologize for all the inconvenience here.

        hey folks, will there be a time when we can create a target view id string with multiple IDs, perhaps separated by commas? This is quite valuable in the context of those who use view variants

        Dennis Garavsky (DevExpress) 11 years ago

          Thank you for the feedback, Drew. You may want to add the Core - Make it possible to activate the same ViewController or Action for multiple Views or target object types ticket into your Support Center favorites list.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.