I want to display events and it's details in a tile layout using PnP Search result web parts how to achieve this #4199
Replies: 3 comments 15 replies
-
Perhaps one of the samples in the layout samples repository might save as inspiration, like this one perhaps, https://github.com/microsoft-search/pnp-modern-search-layouts/blob/main/Results%2FHandlebars%2FQuick%20Links%20lookalikes%2FQuickLinks.md |
Beta Was this translation helpful? Give feedback.
-
Hi Kasper, I have successfully created an events card layout using the PnP Search Results web part. Your documentation was incredibly helpful—thank you! I would like to add a registration button on each event card that triggers a Power Automate flow when clicked. Could you please guide me on how to achieve this? Alternatively, if there’s a better approach, I would appreciate your guidance. |
Beta Was this translation helpful? Give feedback.
-
now idea if it is possible but i am using json column formatting in order to start the flow from column link added there (in my scenario i have got calculated value with Column Formatting as follows: { |
Beta Was this translation helpful? Give feedback.
-
I am working on displaying events from a SharePoint list using PnP Search Result Web Parts. The goal is to present these events in a tile layout on a SharePoint page. I have used the Cards layout, but it restricts me from displaying the required fields due to its default field mappings.
To overcome this, I tried using a Custom Layout and modified the template to include additional fields such as Location, Start Date, and End Date. However, when I add these fields, the cards disappear instead of showing the event details.
The required layout should display event details like the Event Name, Location, Start Date, and End Date on each card. Additionally, each card will also contain a button to register for the event. I also have a snapshot illustrating how the events should appear.
I need help achieving this layout and ensuring the additional fields, along with the register button. Could you guide me on how to resolve this?
Beta Was this translation helpful? Give feedback.
All reactions