More in this section
Forums / Suggestions / Name Overrides for the Managers

Name Overrides for the Managers

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    03 Dec 2008
    05 Jun 2011
    Link to this post
    Everything right now wants a GetDocumentLibrary for example...

    Could you please give me an override which accepts the name?... :)
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    02 Jan 2018
    06 Jun 2011
    Link to this post
    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
2 posts, 0 answered