Updated sample.json and readme
This commit is contained in:
parent
6daf9e27b3
commit
d011267a02
|
@ -1,14 +1,11 @@
|
||||||
# Caml2Table
|
# CAML to Table
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
Let's the user test CAML queries at ease.
|
Let's the user test CAML queries at ease.
|
||||||
|
|
||||||
## See it in action.
|
|
||||||
|
|
||||||
![Sample gif](./assets/Demo.gif)
|
![Sample gif](./assets/Demo.gif)
|
||||||
|
|
||||||
|
|
||||||
## Compatibility
|
## Compatibility
|
||||||
|
|
||||||
This sample is optimally compatible with the following environment configuration:
|
This sample is optimally compatible with the following environment configuration:
|
||||||
|
@ -32,21 +29,11 @@ For more information about SPFx compatibility, please refer to https://aka.ms/sp
|
||||||
> Get your own free development tenant by subscribing to [Microsoft 365 developer program](http://aka.ms/m365devprogram)
|
> Get your own free development tenant by subscribing to [Microsoft 365 developer program](http://aka.ms/m365devprogram)
|
||||||
|
|
||||||
## Solution
|
## Solution
|
||||||
<!--
|
|
||||||
We use this section to recognize and promote your contributions. Please provide one author per line -- even if you worked together on it.
|
|
||||||
|
|
||||||
We'll only use the info you provided here. Make sure to include your full name, not just your GitHub username.
|
|
||||||
|
|
||||||
Provide a link to your GitHub profile to help others find more cool things you have done.
|
|
||||||
|
|
||||||
If you provide a link to your Twitter profile, we'll promote your contribution on social media.
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Solution
|
|
||||||
|
|
||||||
| Solution | Author(s) |
|
| Solution | Author(s) |
|
||||||
| ----------- | ------------------------------------------------------- |
|
| ----------- | ------------------------------------------------------- |
|
||||||
| react-Caml2Table | Dan Toft ([@Tanddant](https://dan-toft.dk/)) |
|
| react-caml2table | Dan Toft ([@Tanddant](https://dan-toft.dk/)) |
|
||||||
|
|
||||||
## Version history
|
## Version history
|
||||||
|
|
||||||
|
@ -54,19 +41,18 @@ If you provide a link to your Twitter profile, we'll promote your contribution o
|
||||||
| ------- | ---------------- | --------------- |
|
| ------- | ---------------- | --------------- |
|
||||||
| 1.0 | November 26, 2022 | Initial release |
|
| 1.0 | November 26, 2022 | Initial release |
|
||||||
|
|
||||||
## Prerequisites
|
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
This is a tool designed to help people who already know CAML to get going faster, not to help you build queries.
|
This is a tool designed to help people who already know CAML to get going faster, not to help you build queries.
|
||||||
|
|
||||||
I highly recommend checking out [the docs](https://learn.microsoft.com/en-us/sharepoint/dev/schema/collaborative-application-markup-language-caml-schemas) for more info
|
I highly recommend checking out [the docs](https://learn.microsoft.com/sharepoint/dev/schema/collaborative-application-markup-language-caml-schemas) for more info
|
||||||
|
|
||||||
|
|
||||||
## Minimal path to awesome
|
## Minimal path to awesome
|
||||||
|
|
||||||
* Clone this repository (or [download this solution as a .ZIP file](https://pnp.github.io/download-partial/?url=https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-Caml2Table) then unzip it)
|
* Clone this repository (or [download this solution as a .ZIP file](https://pnp.github.io/download-partial/?url=https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-caml2table) then unzip it)
|
||||||
* From your command line, change your current directory to the directory containing this sample (`react-Caml2Table`, located under `samples`)
|
* From your command line, change your current directory to the directory containing this sample (`react-caml2table`, located under `samples`)
|
||||||
* in the command line run:
|
* in the command line run:
|
||||||
* `npm install`
|
* `npm install`
|
||||||
* `gulp serve`
|
* `gulp serve`
|
||||||
|
@ -75,7 +61,7 @@ I highly recommend checking out [the docs](https://learn.microsoft.com/en-us/sha
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
This is a simple Webpart that allows the user to input a [CAML Query](https://learn.microsoft.com/en-us/sharepoint/dev/schema/collaborative-application-markup-language-caml-schemas), select a list and run the query.
|
This is a simple Web part that allows the user to input a [CAML Query](https://learn.microsoft.com/sharepoint/dev/schema/collaborative-application-markup-language-caml-schemas), select a list and run the query.
|
||||||
|
|
||||||
I've been using PnP PowerShell to do this for a while, when you need to test a query real quick, but PowerShell can be dreading to some users, and is a whole new tool to learn, so in order to best help people whom are learning I made this __VERY__ simple Web part.
|
I've been using PnP PowerShell to do this for a while, when you need to test a query real quick, but PowerShell can be dreading to some users, and is a whole new tool to learn, so in order to best help people whom are learning I made this __VERY__ simple Web part.
|
||||||
|
|
||||||
|
@ -92,25 +78,24 @@ It also demonstrates several useful skill that a new SPFx Developer might find h
|
||||||
- [Camlex.Net](https://github.com/sadomovalex/camlex)
|
- [Camlex.Net](https://github.com/sadomovalex/camlex)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Help
|
## Help
|
||||||
|
|
||||||
We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.
|
We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.
|
||||||
|
|
||||||
If you're having issues building the solution, please run [spfx doctor](https://pnp.github.io/cli-microsoft365/cmd/spfx/spfx-doctor/) from within the solution folder to diagnose incompatibility issues with your environment.
|
If you're having issues building the solution, please run [spfx doctor](https://pnp.github.io/cli-microsoft365/cmd/spfx/spfx-doctor/) from within the solution folder to diagnose incompatibility issues with your environment.
|
||||||
|
|
||||||
You can try looking at [issues related to this sample](https://github.com/pnp/sp-dev-fx-webparts/issues?q=label%3A%22sample%3A%20react-Caml2Table%22) to see if anybody else is having the same issues.
|
You can try looking at [issues related to this sample](https://github.com/pnp/sp-dev-fx-webparts/issues?q=label%3A%22sample%3A%20react-caml2table%22) to see if anybody else is having the same issues.
|
||||||
|
|
||||||
You can also try looking at [discussions related to this sample](https://github.com/pnp/sp-dev-fx-webparts/discussions?discussions_q=react-Caml2Table) and see what the community is saying.
|
You can also try looking at [discussions related to this sample](https://github.com/pnp/sp-dev-fx-webparts/discussions?discussions_q=react-caml2table) and see what the community is saying.
|
||||||
|
|
||||||
If you encounter any issues using this sample, [create a new issue](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected%2Csample%3A%20react-Caml2Table&template=bug-report.yml&sample=react-Caml2Table&authors=@Tanddant&title=react-Caml2Table%20-%20).
|
If you encounter any issues using this sample, [create a new issue](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected%2Csample%3A%20react-caml2table&template=bug-report.yml&sample=react-caml2table&authors=@Tanddant&title=react-caml2table%20-%20).
|
||||||
|
|
||||||
For questions regarding this sample, [create a new question](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aquestion%2Csample%3A%20react-Caml2Table&template=question.yml&sample=react-Caml2Table&authors=@Tanddant&title=react-Caml2Table%20-%20).
|
For questions regarding this sample, [create a new question](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aquestion%2Csample%3A%20react-caml2table&template=question.yml&sample=react-caml2table&authors=@Tanddant&title=react-caml2table%20-%20).
|
||||||
|
|
||||||
Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aenhancement%2Csample%3A%20react-Caml2Table&template=suggestion.yml&sample=react-Caml2Table&authors=@Tanddant&title=react-Caml2Table%20-%20).
|
Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aenhancement%2Csample%3A%20react-caml2table&template=suggestion.yml&sample=react-caml2table&authors=@Tanddant&title=react-caml2table%20-%20).
|
||||||
|
|
||||||
## Disclaimer
|
## Disclaimer
|
||||||
|
|
||||||
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
|
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
|
||||||
|
|
||||||
<img src="https://pnptelemetry.azurewebsites.net/sp-dev-fx-webparts/samples/react-Caml2Table" />
|
<img src="https://pnptelemetry.azurewebsites.net/sp-dev-fx-webparts/samples/react-caml2table" />
|
|
@ -0,0 +1,50 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "pnp-sp-dev-spfx-web-parts-react-caml2table",
|
||||||
|
"source": "pnp",
|
||||||
|
"title": "CAML to Table",
|
||||||
|
"shortDescription": "Let's the user test CAML queries at ease.",
|
||||||
|
"url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-caml2table",
|
||||||
|
"downloadUrl": "https://pnp.github.io/download-partial/?url=https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-caml2table",
|
||||||
|
"longDescription": [
|
||||||
|
"Let's the user test CAML queries at ease."
|
||||||
|
],
|
||||||
|
"creationDateTime": "2022-11-26",
|
||||||
|
"updateDateTime": "2022-11-26",
|
||||||
|
"products": [
|
||||||
|
"SharePoint"
|
||||||
|
],
|
||||||
|
"metadata": [
|
||||||
|
{
|
||||||
|
"key": "CLIENT-SIDE-DEV",
|
||||||
|
"value": "React"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "SPFX-VERSION",
|
||||||
|
"value": "1.15.2"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"thumbnails": [
|
||||||
|
{
|
||||||
|
"type": "image",
|
||||||
|
"order": 100,
|
||||||
|
"url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-caml2table/assets/Demo.gif",
|
||||||
|
"alt": "Web Part Preview"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"gitHubAccount": "Tanddant",
|
||||||
|
"pictureUrl": "https://github.com/Tanddant.png",
|
||||||
|
"name": "Dan Toft"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"name": "Build your first SharePoint client-side web part",
|
||||||
|
"description": "Client-side web parts are client-side components that run in the context of a SharePoint page. Client-side web parts can be deployed to SharePoint environments that support the SharePoint Framework. You can also use modern JavaScript web frameworks, tools, and libraries to build them.",
|
||||||
|
"url": "https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in New Issue