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

Chrome it is not working

Open NavaneethaDev opened this issue 8 years ago • 6 comments

This is working in IE but in chrome it is not working. Also will this work for any pages apart from list/documents?


Document Details

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

NavaneethaDev avatar Apr 19 '18 12:04 NavaneethaDev

Verified it again and it is working. Closing this issue.

NavaneethaDev avatar Apr 20 '18 03:04 NavaneethaDev

I am experiencing this issue as well, I am unable to load this test extension in Chrome or Firefox (Mac user so I do not have IE/Edge). When I use the URL Below (Tennant and sub site modified) the site does not even hit the local server. I have verified I can load localhost:4321 in the browser and I see the request logs in the console. I have not modified the boilerplate extension. I am unable to prevent URL encoding, when I review the url in browser I see quotes and spaces, when I copy the url I get what you see below (Encoded with %22's and %20's)

Note: I have already installed dev cert by running gulp trust-dev-cert.

Url I get when I copy from the browser URL Field: (Encoded) https://Tennant.sharepoint.com/Subsite/Lists/TestList/AllItems.aspx?loadSPFX=%22true%22&debugManifestsFile=https://localhost:4321/temp/manifests.js&customActions={%2219ac98d4-405e-426b-9774-3fec0accf376%22:{%22location%22:%22ClientSideExtension.ApplicationCustomizer%22,%22properties%22:{%22testMessage%22:%22Hello%20as%20property!%22}}}

What url I am providing my browser: (Not Encoded) https://Tennant.sharepoint.com/Subsite/Lists/TestList/AllItems.aspx?loadSPFX="true"&debugManifestsFile=https://localhost:4321/temp/manifests.js&customActions={"19ac98d4-405e-426b-9774-3fec0accf376":{"location":"ClientSideExtension.ApplicationCustomizer","properties":{"testMessage":"Hello as property!"}}}

Metroidaron avatar May 03 '18 05:05 Metroidaron

you guys most probably have self signed ssl certs, open the https://localhost:4321/temp/manifests.js in new browser tab, you get warning about certificate, accept it, reload sharepoint page with the debugging url and voila..

michalhainc avatar Jul 03 '18 10:07 michalhainc

FYI for others - my first mistake was not creating the myPage.aspx file in the target site. The page referenced in the serve.json file needs to exist in order for the demo to work.

Tac0Tac0 avatar Nov 14 '18 21:11 Tac0Tac0

This still isn't working for me on Chrome or Firefox. When I run gulp serve, it opens the correct page with the debug query parameters all set, but I am never prompted to allow localhost debugging. No requests are made to localhost at all. I did what @michalhainc suggested, accepted the warning about the cert, and still nothing. Any help would be greatly appreciated! Thanks :)

blackheart01 avatar Nov 15 '18 18:11 blackheart01

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 28 '20 00:01 msft-github-bot