Name Overrides for the Managers - Ideas & Feature Requests - Ideas & Feature Requests - Progress Community
 Ideas & Feature Requests

Name Overrides for the Managers

  • Name Overrides for the Managers
  • Everything right now wants a GetDocumentLibrary for example...

    Could you please give me an override which accepts the name?... :)
  • Hi Steve,

    Thank you for the feedback on this. Indeed we have not introduced overrides that take the name as argument, however, it is recommended to work with Guid-s just in case that content item gets renamed at a later point in time, which might cause your code not to work anymore. If you prefer to get the items by their name you can still do that using Fluent API
    var myLibrary = App.WorkWith().DocumentLibraries().Where(lib => lib.Title == "MyLibrary").Get().FirstOrDefault();

    Best wishes,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items