Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
352 changes: 0 additions & 352 deletions samples/BasicCard-Multiple-Forms-Apps/.eslintrc.js

This file was deleted.

6 changes: 6 additions & 0 deletions samples/BasicCard-Multiple-Forms-Apps/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,9 @@ obj

# Styles Generated Code
*.scss.ts

# Heft
lib-dts
lib-commonjs
lib-esm
jest-output
1 change: 1 addition & 0 deletions samples/BasicCard-Multiple-Forms-Apps/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
3 changes: 2 additions & 1 deletion samples/BasicCard-Multiple-Forms-Apps/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"**/bower_components": true,
"**/coverage": true,
"**/lib-amd": true,
"src/**/*.scss.ts": true
"src/**/*.scss.ts": true,
"**/jest-output": true
},
"typescript.tsdk": ".\\node_modules\\typescript\\lib"
}
7 changes: 4 additions & 3 deletions samples/BasicCard-Multiple-Forms-Apps/.yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"nodeVersion": "16.18.1",
"sdksVersions": {
"@microsoft/microsoft-graph-client": "3.0.2",
"@microsoft/teams-js": "2.4.1"
"@microsoft/teams-js": "2.24.0"
},
"version": "1.16.1",
"version": "1.23.0",
"libraryName": "spfx-ace-forms",
"libraryId": "16685ce5-3dce-4203-a5ea-110ef96a23c5",
"environment": "spo",
Expand All @@ -17,6 +17,7 @@
"skipFeatureDeployment": true,
"isDomainIsolated": false,
"componentType": "adaptiveCardExtension",
"aceTemplateType": "Basic"
"aceTemplateType": "Basic",
"useGulp": false
}
}
15 changes: 5 additions & 10 deletions samples/BasicCard-Multiple-Forms-Apps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The main advantage of opening on Stage View is that the user does not looses the

## Used SharePoint Framework Version

![version](https://img.shields.io/badge/version-1.16.1-green.svg)
![version](https://img.shields.io/badge/version-1.23.0-green.svg)

## Applies to

Expand Down Expand Up @@ -49,6 +49,7 @@ The main advantage of opening on Stage View is that the user does not looses the
| Version | Date | Comments |
| ------- | ---------------- | --------------- |
| 1.0 | April 13, 2023 | Initial release |
| 1.1 | August 26, 2026 | Upgraded to SPFx 1.23.0 |

## Disclaimer

Expand All @@ -60,15 +61,9 @@ The main advantage of opening on Stage View is that the user does not looses the

- Clone this repository
- Ensure that you are at the solution folder
- in the command line run:
- `npm install`
- `gulp build --ship`
- `gulp bundle --ship`
- `gulp package-solution --ship`
- Browse to your SharePoint app catalog and load the SPFX package.
- in the command line run:
- `gulp serve --nobrowser`
- browse to your hosted workbench <https://YOURTENANT.sharepoint.com/sites/_layouts/15/workbench.aspx> and add the adaptive card extension.
- in the command-line run:
- **npm install**
- **npm run start**
- Configure your card by adding the SharePoint Site URL, List ID and other optional configuration details:

![SharePoint List Fields ](assets/CardConfig.png)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"solution": {
"name": "spfx-ace-forms-client-side-solution",
"id": "16685ce5-3dce-4203-a5ea-110ef96a23c5",
"version": "1.0.0.0",
"version": "1.1.0.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
"isDomainIsolated": false,
Expand All @@ -30,7 +30,7 @@
"title": "spfx-ace-forms Feature",
"description": "The feature that activates elements of the spfx-ace-forms solution.",
"id": "c1b3745b-70b6-4ad1-b342-6b0fe54799e1",
"version": "1.0.0.0"
"version": "1.1.0.0"
}
]
},
Expand Down
4 changes: 4 additions & 0 deletions samples/BasicCard-Multiple-Forms-Apps/config/rig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",
"rigPackageName": "@microsoft/spfx-web-build-rig"
}
3 changes: 2 additions & 1 deletion samples/BasicCard-Multiple-Forms-Apps/config/sass.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/core-build/sass.schema.json"
"$schema": "https://developer.microsoft.com/json-schemas/heft/v0/heft-sass-plugin.schema.json",
"extends": "@microsoft/spfx-web-build-rig/profiles/default/config/sass.json"
}
2 changes: 1 addition & 1 deletion samples/BasicCard-Multiple-Forms-Apps/config/serve.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/spfx-serve.schema.json",
"port": 4321,
"https": true,
"initialPage": "https://enter-your-SharePoint-site/_layouts/workbench.aspx"
"initialPage": "https://{tenantDomain}/_layouts/workbench.aspx"
}
7 changes: 7 additions & 0 deletions samples/BasicCard-Multiple-Forms-Apps/config/typescript.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "@microsoft/spfx-web-build-rig/profiles/default/config/typescript.json",
"staticAssetsToCopy": {
"fileExtensions": [".resx", ".jpg", ".png", ".woff", ".eot", ".ttf", ".svg", ".gif"],
"includeGlobs": ["webparts/*/loc/*.js"]
}
}
18 changes: 18 additions & 0 deletions samples/BasicCard-Multiple-Forms-Apps/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const spfxProfile = require('@microsoft/eslint-config-spfx/lib/flat-profiles/react');

module.exports = [
...spfxProfile,
{
files: ['**/*.ts', '**/*.tsx'],
languageOptions: {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
}
},
rules: {
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-floating-promises': 'off'
}
}
];
16 changes: 0 additions & 16 deletions samples/BasicCard-Multiple-Forms-Apps/gulpfile.js

This file was deleted.

Loading
Loading