Modify a Teams tab solution from GitHub to match the customer requirments

john john Pter 1,040 Reputation points
2024-10-16T19:51:30.5033333+00:00

I am working on a new project and the customer have already installed and used this Teams tab from GitHub @ https://github.com/OfficeDev/microsoft-teams-emergency-operations-center

User's image

Now they want to do some modifications to this solution, such as :-

  1. Change some titles for the fields
  2. currently when an item get created it provision some channels on teams, so they want to modify the name of those channels and provision more channels.

So my first question is about how i need to do those changes,, are those steps valid:-

  1. Clone the code from the above github link
  2. modify the code accordingly
  3. Deploy and publish the solution to get a new .sppkg solution and re-upload it to the sharepoint app

are those valid?

Second Question, when the customer install this solution for the first time, a new site and lists were provisioned... so if i replace the old .sppkg file with the new one, will this re-provision the site and the lists? or this will only happen when we installed this solution for the first time only?

Third question, now if i do those modifications inside our local version, and Microsoft release a new version of this app inside GitHub, and we want to have this new version, then our local modification done previously will get lost? am i correct? so can we for example post those changes to GitHub as well, so they will be part of the new releases done by Microsoft ?

Thanks

Microsoft 365 and Office SharePoint Development
Microsoft Teams Development
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 51,836 Reputation points Microsoft External Staff
    2024-10-17T09:13:14.86+00:00

    For the first question, those steps to make some modifications in the SPFx are valid.

    For the second question, after you replace the old .sppkg file with the new one, it will re-provision the site and lists.

    For the third question, the SPFx you mentioned in the post is developed by customers, Microsoft will not release a new version of this SPFx. So, your local modifications done previously will not get lost.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.