COM API: BUG: No LogosObject exposes Method GetBooks() per example

Member Posts: 1,383 ✭✭✭

The Wiki at http://wiki.logos.com/COM_API_Bible_Book_Abbreviations gives an example as below.

However, as of 4.0d Beta 4, none of the objects have a method of GetBooks(), and the example can not work as written.

[Copy from Wiki]

The list above was created with the following C# 4 code:

dynamic books = app.DataTypes.GetDataType("Bible").Details.GetBooks();   
foreach (dynamic book in books)   
     Console.WriteLine("| {0} | {1} |", book.Render(), book.Details.Book);  

 

Comments

  • Member Posts: 4,702 ✭✭✭

    I've submitted your report to development. Thanks.

  • Member, Logos Employee Posts: 119

    Thanks for letting us know! I've edited the wiki to reflect the recent API changes.

This discussion has been closed.

Welcome!

It looks like you're new here. Sign in or register to get started.