New Notify Specific Users Task, benchmarking documentation - This week in Orchard (14/06/2024)

Gábor Domonkos's avatar
Documentation, This week in Orchard, Workflows

New Notify Specific Users Tasks and the new Benchmarking documentation are the topics for this week. You can still apply to speak at Harvest 2024 and share your insights on Orchard Core's future, CMS roles, AI tools, cloud integrations, and more! Don't forget to join our next Orchard Core Pair Programming session, where we'll run through using Blazor as a decoupled front end for Orchard Core! Let's see the details!

Orchard Core updates

Benchmarking documentation

There's a new page in the documentation of Orchard Core about benchmarking. To measure how fast Orchard Core is, we employ some benchmarking. Here, you can read some lines about the OrchardCore.Benchmarks project, where we have several benchmarks created with BenchMarkDotNet. You can also read about how to run benchmarks and how to check the performance of Orchard Core using ASP.NET Core Benchmarks.

Orchard Core Benchmarking Documentation

New Notify Specific Users Task

In the past, we had a task called Notify User Task. By using this task, you could send a notification to the user who is available in the WorkflowExecutionContext when executing a workflow.

Recently, the community modified this Notify User Task and renamed it to Notify Specific Users Task. The goal of this change was to be able to specify a user or a comma-separated list of user names (Liquid is also supported) who will be the recipient of the notification. Let's see how you can use this task in your workflow!

First of all, you need to enable the Notifications and the Workflows features, which you can do under Configuration -> Features by using the admin UI of Orchard Core. The Notifications feature is needed because this will provide a way to notify users and to have the Notification Center. Now navigate to the Workflows option where we will create a simple workflow that will send a notification to a user when a Blog Post content item is created. The startup task of this workflow will be the Content Created event, where we filter on the Blog Post content type. The next one will be the Notify Specific Users Task. Here, we typed the AuthorUser text into the User names textbox. We previously created a user with the user name AuthorUser, which means that this user will get the notification. We also provided a subject and a summary.

Creating a Notify Specific Users Task

This means we are ready with our workflow, it's time to try it out. To do that, just create a new blog post. We used the admin UI of Orchard Core to do that. To be able to make sure that our workflow is executed successfully, we need to log in with the AuthorUser. To be able to navigate to the Notification Center, we need to click on the little bell icon at the top-right corner of the screen. Here, you can see that we have one unread notification with the subject and the summary that we provided when we constructed our Nofify Specific Users Task.

Notification created by the Notify Specific Users Task

News from the community

Orchard Harvest 2024 date and location

Get ready to power up your Orchard skills at Orchard Harvest Conference 2024! Join us on September 12th-13th at the Orleans Hotel and Casino in lively Las Vegas for two days packed with learning, coding, and community fun.

What can you expect at Orchard Harvest Conference 2024?

  • Hands-On Workshops: Elevate your coding game with interactive sessions led by industry experts.
  • Insider Insights: Learn best practices, advanced techniques, and real-world insights from qualified developers.
  • Global Connections: Connect with fellow enthusiasts, exchange ideas, and forge meaningful relationships within the Orchard community.
  • Special Perks: Participants get exclusive discounts on accommodations at the Orleans Hotel and Casino.

Can't wait until September? Check out recordings from last year's special online Orchard Harvest on our YouTube channel here.

Ready to be a part of something extraordinary? Reserve your spot today and take advantage of early-bird pricing at Orchard Harvest Conference 2024.

We also opened the registration form for the speakers: https://forms.office.com/e/fewh7hh20d

This year's leading themes:

  • Leading up to a v3.0, what will the future Orchard Core look like?
  • What's the role of a CMS nowadays (with the decoupled/headless operating models, and AI development tools)
  • Explore some advanced topics such as Shapes, Placements, Cloud Integrations, Performance, module extensibility, etc.
  • Showcases on implementing Orchard Core in action.

We've extended the sign-up period by another 2 weeks, so if you haven't signed up yet, you can still sign up now! Apply to be a speaker until the 29th of June, midnight Anywhere on Earth! We'll notify you whether your talk is selected for Harvest in 1 or 2 weeks after the application period. The chosen speakers will receive complimentary tickets for the event.

Want to support our mission? Become a sponsor! Reach out to us at [email protected] or [email protected] to explore sponsorship opportunities.

Secure your spot today and get ready to level up your skills at Orchard Harvest Conference 2024! See you there!

Orchard Harvest 2024 announcement

Blazor and Orchard Core with Peter Matthews - Orchard Core Pair Programming by Lombiq

We'll have the seventh session of Orchard Core Pair Programming by Lombiq! In these, we do an hour of pair programming with an Orchard Core community member about a project of theirs. We learn together a lot, share best practices, and write some good code. All this is live, and you can join us with your questions! Here, you can find the previous pair programming sessions, and here, you can find the stream for the upcoming one! See you at 5 PM UTC on the 17th!

Peter Matthews joins us this time. We'll run through using Blazor (.NET 8) as a decoupled frontend for Orchard Core. From File → New Project to production, with instructions on project setup, and a walkthrough of a fully fleshed-out site.

Your host and the "navigator" of the pair programming session will be Zoltán Lehóczky from Lombiq.

Would you like to be our guest? Just let us know!

Continued decoupled Orchard Core CMS with Hisham Bin Ateya - Orchard Core Pair Programming by Lombiq

Orchard Dojo Newsletter

Lombiq's Orchard Dojo Newsletter has 472 subscribers! We have started this newsletter to inform the community around Orchard of the latest news about the platform. By subscribing to this newsletter, you will get an e-mail whenever a new post is published to Orchard Dojo, including This week in Orchard of course.

Do you know of other Orchard enthusiasts who would like to read our weekly articles? Tell them to subscribe here!

If you are interested in more news about Orchard and the details of the topics above, don't forget to check out the recording of this Orchard meeting!

No Comments

Add a Comment