More in this section
Forums / Bugs & Issues / Events Facade...

Events Facade...

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.
5 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    13 Feb 2011
    Link to this post
    Bit of a typo on the methods :)

    App.WorkWith().Events().PublihedOrShceduled
    App.WorkWith().Events().Publihed
  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    13 Feb 2011
    Link to this post
    As a side note, how would I go about using the FluentAPI to get events inside a category?
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 Feb 2011
    Link to this post
    Hello Steve,

    Ok I fixed the type. As for the second request, there is no API that you can use to get the filtered list of items directly. You should know the Taxon id

    var categoryid = new Guid("");
    var content = App.WorkWith()
                  .Events()
                  .Where(ei=> ((IList<Guid>)ei.GetValue("Category")).Contains(categoryid));


    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  4. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    16 Feb 2011
    Link to this post
    Will we ever get a method for fluent like this?
    var content = App.WorkWith()
                  .Events()
                  .InCategory("whatever")
                  .WithTags("BLAH").Get();
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 Feb 2011
    Link to this post
    Hi Steve,

    It is added for future implementation, but we have not stared working on this.

    Greetings,
    Ivan Dimitrov
    the Telerik team
5 posts, 0 answered