Releases: mrpullen/pnpsearch
Release list
search-extensions-0.1.3
Search Extensions
The release contains the following asset - used to extend the PNP Search v4 web parts.
| Name | Id | Package |
|---|---|---|
| SearchExtensionsLibrary | 4b0cecc6-6b07-4a9f-98d5-cb487841147d | search-extensions-<version_number>.sppkg |
Information on how to use the extensions can be found on the links below.
Useful resources
Sample Extensions
PNP V4 Search Web Parts
About
Handlebars Helpers
group
The current extension includes the handlebars helper #group operator. For example assume you had a list of people - and you wanted to group them by last name.
{{#group data.items by="LastName"}}
{{value}}
{{#each items}}
{{/each}}
{{/group}}
Each "lastName" found would be provided in the {{value}} tag - while the list of specific users would become available in the items array. the group helper handlebars-group-by
This extension project contains the group operator that has been removed from the v4 web parts.
Web Components
Popup Component
This was built to replace the previous version of the pnp-popup - the syntax is lifted from the pnp-panel. Also added data-num-columns so you can set the width of the modal on a 12 column basis - (4 is 33% width)
<ext-popup data-is-open="false" data-num-columns=4 data-is-light-dismiss="true" data-is-blocking="false" data-size="2" data-modal-header-text="User: {{value}}">
<template id="modal-open">
<u><b>Name:{{value}}</b></u>
</template>
<template id="modal-content">
{{value}} Profile here!
</template>
</ext-popup>
search-extensions-0.1.2
Search Extensions
The release contains the following asset - used to extend the PNP Search v4 web parts.
| Name | Id | Package |
|---|---|---|
| search-extensions | e1a01f70-49ce-43b4-9fbc-2a6ad50cdd40 | search-extensions-<version_number>.sppkg |
Information on how to use the extensions can be found on the links below.
Useful resources
Sample Extensions
PNP V4 Search Web Parts
About
The current extension includes the handlebars helper #group operator. For example assume you had a list of people - and you wanted to group them by last name.
{{#group data.items by="LastName"}}
{{value}}
{{#each items}}
{{/each}}
{{/group}}
Each "lastName" found would be provided in the {{value}} tag - while the list of specific users would become available in the items array. the group helper handlebars-group-by
This extension project contains the group operator that has been removed from the v4 web parts.
Full Changelog: 0.1.1...0.1.2
search-extensions-0.1.1
Search Extensions
The release contains the following asset - used to extend the PNP Search v4 web parts.
| Name | Id | Package |
|---|---|---|
| search-extensions | e1a01f70-49ce-43b4-9fbc-2a6ad50cdd40 | search-extensions-<version_number>.sppkg |
Information on how to use the extensions can be found on the links below.
Useful resources
Sample Extensions
PNP V4 Search Web Parts
About
The current extension includes the handlebars helper #group operator. For example assume you had a list of people - and you wanted to group them by last name.
{{#group data.items by="LastName"}}
{{value}}
{{#each items}}
{{/each}}
{{/group}}
Each "lastName" found would be provided in the {{value}} tag - while the list of specific users would become available in the items array. the group helper handlebars-group-by
This extension project contains the group operator that has been removed from the v4 web parts.
Full Changelog: 0.1.0...0.1.1