Add Autocomplete to the Stereotype text box, Lucene Search in practice - This week in Orchard (07/06/2024)
Add Autocomplete to the Stereotype text box, add Content Item ApiController.cs endpoints documentation, and a demo about Lucene Search in practice are the topics for this week. Don't forget to join our next Orchard Core Pair Programming session, where we'll continue building a decoupled CMS project! Let's see the details!
Orchard Core updates
Add Autocomplete to the Stereotype text box
Now, the Stereotype is a text box, that is not user-friendly when making changes. For example, you may enter UserCustomSettings instead of CustomUserSettings. The goal here is to have some way to get all the Stereotypes that are currently supported by the system, and then list them, for example, by adding a dropdown menu to the Stereotype text box where you can still type what you want. Let's see this quickly in action!
First of all, head to the admin UI of Orchard Core and edit the Content Definition of the predefined Blog Post content type by navigating to Content -> Content Definition -> Content Types (assuming you set up your site using the Blog recipe). Here, find the Stereotype text box and simply click on it. Once you do it, you will find a list showing you all of the stereotypes that are currently available on your site.
Adding Content Item ApiController.cs endpoints documentation
The OrchardCore.Contents module provides RESTful API endpoints via minimal API featuring endpoints to manage content items. These endpoints allow for operations such as retrieving, creating, updating, and deleting single content item instances. Access to these endpoints requires authentication and appropriate user role permissions. The documentation of the Contents module has been updated by adding
- Useful modules and libraries
- Activating the "OpenId Authorization Server" and "OpenId Token Validation" Features, and setting User Roles
- Contents API Controller Endpoints
Demos
Lucene Search in practice
This is the Brittany All Cases management platform of Bethany built on top of Orchard Core CMS, using the full CMS, not just the framework. In this demo, you can see the search pages, where you can do the obvious search using queries. But you can also filter by different fields and properties on all added fields by marking a field as indexable. You can also do sorting by multiple things. Another feature is the different layout types. There is the normal summary view and the summary small, which is just the title and metadata. There is also a grid display type where you can add different fields that you want to display in the grid.
You can also rename and remove the columns. The reason why column renaming is allowed is for the export. You can export all the search results into a CSV containing the renamed columns. And it's just the top of everything this site offers. If you are curious about what you can achieve using Orchard Core, check out this demo video on YouTube for more!
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.
Apply to be a speaker until the 15th of June, midnight Anywhere on Earth! We'll notify you whether your talk is selected for Harvest until the end of June. 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!
Continued decoupled Orchard Core CMS for QTA with Hisham Bin Ateya - Orchard Core Pair Programming by Lombiq
We'll have the sixth 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 11th!
Hisham Bin Ateya, a core contributor of Orchard Core, joins us again with a follow-up to the previous stream. We'll see a decoupled CMS project he was building for the Quality Training Academy for Health Training from Saudi Arabia.
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!
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!