SOLVED

How to test application for SharePoint 2019?

Occasional Contributor

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
Best you can do here is to build your SP 2019 Dev Environment where you can properly test the App you have built
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?
best response confirmed by SirVizzy (Occasional Contributor)
Solution

@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-environme...

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-machin...

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.

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.
I found another Azure based solution. If you search the Azure Marketplace, Microsoft offers a preconfigured SP2019 farm on a trial license.
https://portal.azure.com/#create/sharepointserver.2019singleserverfarm

As you mentioned, you can do this on a physical server too, but I am not sure how complicated that will be to set up in your environment.
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.