page_type | description | products | languages | extensions | contentType | createdDate | ||||
---|---|---|---|---|---|---|---|---|---|---|
sample |
This sample shows tab capability with the feature of client sdk people picker. |
|
|
samples |
12-04-2022 01:48:56 |
This sample shows tab capability with the feature of client sdk people picker.
-
Clone the repository
git clone https://github.com/OfficeDev/Microsoft-Teams-Samples.git
-
In a terminal, navigate to
samples/tab-product-inspection/nodejs
-
Install modules
npm install
-
Run ngrok - point to port 3978
ngrok http -host-header=rewrite 3978
-
Run your bot at the command line:
npm start
-
This step is specific to Teams.
- Edit the
manifest.json
contained in theManifest
folder to replace your Microsoft App Id (that was created when you registered your bot earlier) everywhere you see the place holder string<<Manifest-id>>
(depending on the scenario the Microsoft App Id may occur multiple times in themanifest.json
)and ngrok url everywhere you see the place holder string<<base-url>>
- Zip up the contents of the
Manifest
folder to create amanifest.zip
- Upload the
manifest.zip
to Teams (in the Apps view click "Upload a custom app")
- Edit the