Forum Discussion
Jepu3
Jul 10, 2023Copper Contributor
Teams Custom app
Hi, I have created a custom app in teams. However the personal tab stays blank when I'm not running the code in visual studio code. Is there something I can do?
Jepu3
Jul 10, 2023Copper Contributor
I'm only showing HTML page. When I run the code, this HTML page shows but I would like it to work without running the code.
Nivedipa-MSFT
Microsoft
Jul 10, 2023Jepu3 - Could you please share your manifest zip to check at our end?
- Jepu3Jul 10, 2023Copper ContributorI have two manifest files.
Here is the manifest.local.json:
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "75d431f0-b009-426f-adc8-b10defab37c7",
"packageName": "com.microsoft.teams.extension",
"developer": {
"name": "Teams App, Inc.",
"websiteUrl": "https://www.example.com",
"privacyUrl": "https://www.example.com/privacy",
"termsOfUseUrl": "https://www.example.com/termsofuse"
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "IT support-local",
"full": "Full name for IT support"
},
"description": {
"short": "Short description of IT support",
"full": "Full description of IT support"
},
"accentColor": "#FFFFFF",
"bots": [],
"composeExtensions": [],
"staticTabs": [
{
"entityId": "index0",
"name": "Personal Tab",
"contentUrl": "https://localhost:53000/tab",
"websiteUrl": "https://localhost:53000/tab",
"scopes": [
"personal"
]
}
],
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": [
"localhost:53000"
],
"showLoadingIndicator": false
}
Here is the manifest.json:
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "${{TEAMS_APP_ID}}",
"packageName": "com.microsoft.teams.extension",
"developer": {
"name": "Teams App, Inc.",
"websiteUrl": "https://www.example.com",
"privacyUrl": "https://www.example.com/privacy",
"termsOfUseUrl": "https://www.example.com/termsofuse"
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "IT support-${{TEAMS_APP_ID}}",
"full": "Full name for IT support"
},
"description": {
"short": "Short description of IT support",
"full": "Full description of IT support"
},
"accentColor": "#FFFFFF",
"bots": [],
"composeExtensions": [],
"staticTabs": [
{
"entityId": "index0",
"name": "Personal Tab",
"contentUrl": "${{TEAMS_APP_ID}}",
"websiteUrl": "${{TEAMS_APP_ID}}",
"scopes": [
"personal"
]
}
],
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": [
"${{TEAMS_APP_ID}}"
],
"showLoadingIndicator": false
}- Nivedipa-MSFTJul 11, 2023
Microsoft
Jepu3 - If you don't want to run code, then you have to host the content you are displaying in the tab and accessible from the specified URLs. If the content is not loading, it could lead to a blank tab. If you have not hosted that content, then you need to run the code. This is the expected behavior.
Thanks,
Nivedipa
-------------------------------------------------------------------------
If the response is helpful, please click Mark as Best Response and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.