Before we begin:
- This option is available for you if you use ShortPoint SPFx Version 7.1.5.xx or higher.
- The solution described in this article will only allow you to preview any ShortPoint SPFx version on the given page temporarily, it will not upgrade your site(s) to it. As soon as you remove that query string, you will start seeing your page the way it was before.
- You can preview any ShortPoint SPFx version, starting from 7.1.5.xx using this solution.
TABLE OF CONTENTS
- Before we begin
- How to preview specific ShortPoint version using URL parameter
How to preview specific ShortPoint version using URL parameter
In some cases you might want to check how your site could look like if it had some specific ShortPoint SPFx version: to check if your site looks the same in the newer available version, if there are any new features available, if your issue has been fixed etc.
Below are the quick steps to preview ShortPoint on the page using URL parameter for your testing purposes.
Step 1. Navigate to page where you want to preview specific ShortPoint version
Navigate to the page where you would want to preview specific ShortPoint version using URL parameter in your SharePoint environment.
Step 2. Append query string sp-preview with the version value
Append the query string URL with parameter name as sp-preview and value as the ShortPoint SPFx version you would like to check to your page URL right after the page name.
For instance, if you need to check ShortPoint version 184.108.40.206, the query string will be like this: sp-preview=220.127.116.11.
For example, if your page URL is similar to this:
you should put sp-preview like this:
And if your page URL is similar to this:
then you should put sp-preview like this:
After you added the query string to the page URL hit Enter.
In the page edit mode you will see the ShortPoint SPFx version you are currently previewing:
Important: Do NOT save any changes you made in the preview mode.
The preview mode does not upgrade your ShortPoint version on the site(s). If you have inserted any new design element or added any new functionality to the existing design element, it will not work correctly or might not work at all after you save the page.