Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes made on SPFx project not visible in Teams #11448

Open
bhoomesh-spe opened this issue Aug 10, 2024 · 11 comments
Open

Changes made on SPFx project not visible in Teams #11448

bhoomesh-spe opened this issue Aug 10, 2024 · 11 comments
Assignees
Labels
needs-attention teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label

Comments

@bhoomesh-spe
Copy link

bhoomesh-spe commented Aug 10, 2024

Steps to reproduce

I have created the SPFx project and integrated that project into the Teams project

Expected behavior

The changes should be reflected to the Teams after uploading a new package in Teams.

Actual behavior

When I made the change in the SPFx project the changes were not reflected in the Teams after generating and deploying/uploading a new package in Microsoft Teams.

Error details

There are no errors while executing below commands

gulp clean
gulp build --ship
gulp bundle --ship
gulp package-solution --ship

@bhoomesh-spe bhoomesh-spe changed the title Changes mado on SPFx project not visible in Teams Changes made on SPFx project not visible in Teams Aug 10, 2024
@sayali-MSFT
Copy link

@bhoomesh-spe -
Thanks for reporting your issue.
We will check this at our end and will get back to you.

@sayali-MSFT
Copy link

@bhoomesh-spe - Could you please check the below details: -
1.Teams App: If you’re testing in a development environment, ensure the Teams app is updated with the latest version of your package. You might need to remove the app from Teams and re-add it.
2. Double-check the Teams manifest file (manifest.json) to ensure it is correctly configured. Ensure the webSiteUrl or contentUrl in the manifest points to the correct location of your SPFx web part.
3.SPFx Version: Ensure that the SPFx version you are using is compatible with the Microsoft Teams environment you’re deploying to. Sometimes version mismatches can lead to unexpected behavior.
4.Browser Console: Open the browser’s developer console to check for any errors or warnings when loading the Teams app. This can provide clues if something is failing to load.

Are you creating the SPFX project using Yeoman generator?

@sagarMehta1907
Copy link

@sayali-MSFT

Yes, we are generating an SPFx project using a Yeoman generator.

Already, we have checked all the updates you have mentioned above.

@sayali-MSFT
Copy link

@sagarMehta1907 -ok. We will try this from our end and let you know the update.

@sagarMehta1907
Copy link

When we run the application using the bellow command from the toolkit locally.

image

And, Allow us to "Load debug scripts", we will see the new updates.

image

But, while we generate a package using the command below and try to upload a zip file to the teams manually, we cannot see the updates.

image

@sayali-MSFT
Copy link

sayali-MSFT commented Aug 14, 2024

@bhoomesh-spe @sagarMehta1907 -We tried the sample below, and it is working fine on our end.
Could you please try with the below sample.
Sample Link-https://learn.microsoft.com/en-us/microsoftteams/platform/sbs-gs-spfx?tabs=vscode%2Cviscode&tutorial-step=1

image

@sagarMehta1907
Copy link

sagarMehta1907 commented Aug 14, 2024

@sayali-MSFT

Thanks for your reply.

Yes, it works according to the link.
But it did not work after the production build.
For example, I have completed all the development in my SPFx app and now I want to publish the app to the teams.
At that time if we generate a team's app zip it's content only manifest.json file.
So, How can I give my SPFx app update means package file?

@sayali-MSFT
Copy link

sayali-MSFT commented Aug 14, 2024

@sagarMehta1907
Copy link

@sayali-MSFT

It looks like we don't need to create a separate app for the teams. We can manage this in our SPFx app only.
However, I want to publish my app into the team's app store for the end users.
We have already published our app in the SharePoint store.

@sayali-MSFT
Copy link

Could you please confirm if your issue has resolved or still looking for any help?

@ChetanSharma-msft ChetanSharma-msft added teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label needs-author-feedback Needs more info from the customer. and removed needs-triage 🔍 labels Sep 6, 2024
@bhoomesh-spe
Copy link
Author

bhoomesh-spe commented Sep 9, 2024

I am facing the below issue while creating a new project using Teams Tool Kit. Please refer to the below screenshot.
Screenshot 2024-09-09 113632

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-attention teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label
Projects
None yet
Development

No branches or pull requests

5 participants