1

I am trying to learn SharePoint Framework Extensions and this is my first try. I created an application customer following the example in pluralsight. When I try to add the app, I get the error: Sorry, somethin went wrong with adding the app.

I can't seem to get other information from UI. Could someone help me figure out how to troubleshoot this error? How can I view the logs using Get-SPOTenantLogEntry as at this moment I get nothing back?

enter image description here

  • 1
    why dont you debug using local workbench if in visual studios code? if you have it running on visual studios just debug as normal docs.microsoft.com/en-us/sharepoint/dev/spfx/debug-in-vscode in any case you need to provide more info. Bit hard to pinpoint what is going on with your code with no code or atleast what video your referring to ;) – Ali Jafer Feb 9 '18 at 8:41
  • When was the app deployed to app catalog ? Is your issue related to this : github.com/SharePoint/sp-dev-docs/issues/… ? – Vipul Kelkar Feb 9 '18 at 9:31
  • @Ali Jafe, because it cannot be debugged using a workbench. – Burre Ifort Feb 9 '18 at 10:04
  • the app is deployed to app catalog. No, I don't think it is related to the one you posted. – Burre Ifort Feb 9 '18 at 14:26
  • Are you doing any feature framework provisioning? (element.xml) If so, there may be a conflict with the site. Providing details about what you're doing in the provisioning along with the version of the framework you are working with (latest is 1.4) would really help, thanks! – theChrisKent Feb 9 '18 at 14:52
-1

I think I am trying the exact same pluralsight course and was having the same issue. I got mine working now and in my case it was just a typo in the elements.xml file when defining ClientSideComponentProperties. this may not be your issue but here is what it should look like.

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
        Title="Appcust"
        Location="ClientSideExtension.ApplicationCustomizer"
        ClientSideComponentId="d87f3988-5cae-4da0-bdfb-6882349b0d24"
        ClientSideComponentProperties="{&quot;Top&quot;:&quot;The top&quot;,&quot;Bottom&quot;:&quot;The bottom&quot;}">        
    </CustomAction>
</Elements>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.