sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Get It Button Missing, How To Add?

Open jared-leddy opened this issue 2 years ago • 9 comments

[Enter feedback here]

In this section below, all of our tenants/sites have this "get it" button missing. There is no reference as to how to get that button to show. Is it a feature that needs to be enabled? Is it a permission thing? How do you get the button to show when it's missing?

Section: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/provision-sp-assets-from-package#update-an-existing-instance-in-the-site

Image for Ref:

image


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

jared-leddy avatar Jul 20 '22 19:07 jared-leddy

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Jul 20 '22 19:07 ghost

get it button appear only if component have a update.

PooLP avatar Jul 22 '22 08:07 PooLP

get it button appear only if component have a update.

Under the "Added" button, it clearly states "There is a new version of this app. Get it now."

jared-leddy avatar Jul 22 '22 13:07 jared-leddy

@jared-leddy - what level of permissions does your user have?

AJIXuMuK avatar Jul 25 '22 15:07 AJIXuMuK

@jared-leddy - what level of permissions does your user have?

Level - Full Control, Owner Group Site Collection Admin

jared-leddy avatar Jul 25 '22 19:07 jared-leddy

thanks for the confirmation @jared-leddy. We're working on the issue.

AJIXuMuK avatar Jul 26 '22 13:07 AJIXuMuK

@jared-leddy Thanks for reporting this issue, our team is working on it. We may need some more time since we need to involve designer to give new design for this scenario.

Please try this work around before we fix this issue:

The URL of the page you see should be like: ".../_layouts/15/appStore.aspx/appDetail/2e22cf37-9c1b-403f-844e-5ff952ed684f?sorting=1&from=0&catalog=1&id=2e22cf37-9c1b-403f-844e-5ff952ed684f"

Change the URL to below format and you could see the "get it" button: ".../_layouts/15/storefront.aspx#vw=AppDetailsView,app=2e22cf37-9c1b-403f-844e-5ff952ed684f,clg=1"

(This is the classic view of app detail page, usually we do not encourage users to use it. But for now, you could leverage this page to see the button)

XinyangWang1024 avatar Aug 03 '22 03:08 XinyangWang1024

Reply To:

@jared-leddy Thanks for reporting this issue, our team is working on it... Please try this work around before we fix this issue...

@XinyangWang1024 thanks for the info. That link specifically failed to work. I did, however, do the following which returned the below screenshot.

Steps to Complete

  • Navigate to site contents
  • Switch to classic view
  • On the app, click the ellipsis and open the about page

Screenshot

image

Newly Designed Page

We would like to keep this ticket open until the newly designed update is completed. Our team of roughly 40 developers is very interested in getting this resolved the right way.

jared-leddy avatar Aug 03 '22 03:08 jared-leddy

Hi @jared-leddy , yeah we can keep this ticket open. And we will keep you updated once we have some progress.

In the meantime, please use the steps you find as the work around.

XinyangWang1024 avatar Aug 03 '22 05:08 XinyangWang1024

Hi @jared-leddy , sorry for the late reply, my colleague has helped fix this issue. Please check the modern app store. Thanks!

XinyangWang1024 avatar Oct 28 '22 06:10 XinyangWang1024

Hi @jared-leddy , sorry for the late reply, my colleague has helped fix this issue. Please check the modern app store. Thanks! Hey @XinyangWang1024, Just tested this on our tenant. We did not see the updated modern page show the button to update the app.

jared-leddy avatar Oct 28 '22 15:10 jared-leddy

Hi @jared-leddy , we will display a "upgrade" button in the following case:

  1. An old version is feature deployed in tenant app catalog, and is added to a site
  2. Then a new version is uploaded to tenant app catalog and feature deployed again, then in the site where we once added this app, enter the app detail page, we will see a "upgrade" button image

Could you please share your use case and we can see if we need a "upgrade" button in your situation. Thanks.

XinyangWang1024 avatar Oct 28 '22 16:10 XinyangWang1024

Yes. We need the upgrade button in the modern page. Right now, the only way to access this feature is to switch into classic mode. Which will eventually be discontinued.

jared-leddy avatar Nov 02 '22 18:11 jared-leddy

Hi @jared-leddy , we do have upgrade button in the modern page now. And upgrade button will show up in the following case:

  1. Upload app to app catalog and feature deploy image

  2. Add the app to a site

  3. Upload app's new version to app catalog and feature deploy again

  4. in the site where the app is added, on "my apps" page, find the app in "added apps" section, click to enter app detail page, you will see the upgrade button. image

image

Please follow the above steps to see if you can see the Upgrade button. Thanks! If you still cannot see the upgrade button, could you please record a video of your operation?

XinyangWang1024 avatar Nov 04 '22 09:11 XinyangWang1024

Hi @jared-leddy , we do have upgrade button in the modern page now. And upgrade button will show up in the following case...

Our package-solution.json file shows the following:

"skipFeatureDeployment": true,

If we change this to false, the ability to see our app in the "app home" (under the add an app page) disappears. We have to set this to true in order to see our apps here.

Will that be a problem?

jared-leddy avatar Nov 04 '22 12:11 jared-leddy

Hi @jared-leddy , the "skipFeatureDeployment" value works in below way:

  1. if this value is set to true, then you have 2 choices when you deploy the app in tenant app catalog image 1.1 if you choose first choice (feature deploy), you will need to manually add the app to the site where you want to use the app 1.2 if you choose the second choice (tenant deploy), the app is available across all sites in your tenant, you do not need to manually add the app to a site.

  2. if this value is set to false, then you only have 1 choice when you deploy the app in tenant app catalog image This choice is the same as 1.1, you will need to manually add the app to the site where you want to use the app

I do not think this value is related to your issue. Could you please share the url of this page you mentioned? in the "app home" (under the add an app page)

And please follow exactly the same steps as mentioned in the last comment, and see if you can see the upgrade button. (if you choose tenant deploy, then you do not need "upgrade button", because all sites in your tenant will use the latest version of app). Please let me know if you still cannot see the button

XinyangWang1024 avatar Nov 07 '22 07:11 XinyangWang1024

Deployed as true. Can't provide URL to the "add an app" page. Org policy. Did not deploy to "all sites in the tenant". Only enable this app. Updated the app using the same config settings.

The reason it's not deployed tenant wide is because multiple orgs are under 1 tenant. So, we have to manage the apps per site.

The button is not present. I will have to switch to classic mode to view it. image

jared-leddy avatar Nov 07 '22 15:11 jared-leddy

Hi @jared-leddy ,thanks for the update. That's quite strange, since the fix works in our test tenants and should reach prod for a long time. Could you please help:

1.Check the build version (by right-click on the page, and click "view page source", then search for "buildNumber") image

  1. On the app detail page, could you please check the network, and search for "appDetail", and take a screenshot for the response? Because the display of button relies on the API response, analyzing the response may help us to further investigate image

  2. Does your tenant use any site collection app catalog besides tenant app catalog?

Thank you for the patience.

XinyangWang1024 avatar Nov 08 '22 05:11 XinyangWang1024

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within the next 7 days of this comment. Please see our wiki for more information: Issue List Labels: Needs Author Feedback & Issue List: No response from the original issue author

ghost avatar Jan 04 '23 18:01 ghost

Not completed.

jared-leddy avatar Jan 04 '23 18:01 jared-leddy