Forum Discussion

SirVizzy's avatar
SirVizzy
Copper Contributor
Dec 06, 2021
Solved

How to test application for SharePoint 2019?

I am currently working on building an application for someone who wants it to run in their SharePoint 2019 environment. However they will not let me access their platform. Hence it's difficult to test.

 

I've setup a SharePoint Online tenant onwhich I can test it, but SPFx differs for these two versions (SharePoint 2019 uses v1.4.1 or lower, while Online uses the most recent version).

 

Is there any way I can test my SharePoint application for SPFx v1.4.1 (or lower) easily? It's a single page application built with React.

6 Replies

    • SirVizzy's avatar
      SirVizzy
      Copper Contributor
      Right now I'm quite far into setting up my own environment. If I can't get that to work I'll have a look at Azure. I'm just not really experienced with stuff like this as usually I just build websites.
  • Juan is correct that there is not really a way to test his scenario with building an SP2019 environment. Azure is a great resource to build this type of environment for testing, but it's not a trivial undertaking and it does cost. There are ways to get Azure credits to cover this, but remember to shut everything down when you are not using it to minimize the costs. This article is for SP2016, but you should be able to adapt it for SP2019.
    https://docs.microsoft.com/en-us/SharePoint/administration/sharepoint-server-2016-dev-test-environment-in-azure

    This is an article to build a single VM SP2019 farm for dev/test.
    https://synkventures.com/2020/07/07/how-to-install-microsoft-sharepoint-2019-in-azure-virtual-machine-for-demo-labs-or-personal-use/

    Disclaimer: I have not tested either of these articles for accuracy. Regardless, they are a good place to start.

    Please consider marking this as the approved solution/best response if it answers your question. Thanks.

    • SirVizzy's avatar
      SirVizzy
      Copper Contributor
      Thank you. I will proceed building my environment on my Windows Server 2019 VPS. I'll use the articles for configuring it, just hope I don't run into too many issues.
  • Best you can do here is to build your SP 2019 Dev Environment where you can properly test the App you have built
    • SirVizzy's avatar
      SirVizzy
      Copper Contributor
      Thank you for your reply, I'm not sure how to do this. What I'm currently doing is installing a SharePoint 2019 trial on my Windows Server 2019. I hope to then be able to deploy my SPFx application on there to test with. Is that what you recommend or do you mean something else?

Resources