-
Notifications
You must be signed in to change notification settings - Fork 28
Problem getting it to work #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for trying the extension, I wrote a few frequently asked questions posts that may help: Take a look and let me know if you don't have any luck! |
Hi, I tried something from the third post link that you sent me.
I added the pre-compiled solution to my appcatalog without deploying to
every site.
Then I modified "EnableApplicationCustomizer.ps1" with my values and I ran
it in a powershell session connected to my site using connect-pnponline.
No errors, but it doesn't work.
If I close my powershell window and reconnect, when I try to list
the UserCustomActions I don't get anything. If I check right after adding
it I can see it.
I don't understand why it's not working because I added another extension
(modern script webpart) and it's working perfectly.
Do you have any idea of what I should be looking for? Keep in mind I'm not
a DEV, just a regular admin ;)
Thanks
Christian
…On Fri, 7 Jun 2019 at 13:48, Hugo Bernier ***@***.***> wrote:
Thanks for trying the extension, I wrote a few frequently asked questions
posts that may help:
- Original post
<https://tahoeninjas.blog/2018/05/08/inject-custom-css-on-sharepoint-modern-pages-using-spfx-extensions/>
- Second post
<https://tahoeninjas.blog/2018/10/29/update-inject-custom-css-on-sharepoint-modern-pages-using-spfx-application-extensions/>
- Third post
<https://tahoeninjas.blog/2019/05/03/more-updates-inject-custom-css-on-sharepoint-modern-pages-using-spfx-application-extensions/>
Take a look and let me know if you don't have any luck!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2?email_source=notifications&email_token=AMI2WM4IDSTPMVFQ3XM4JY3PZKNOJA5CNFSM4HVYWR52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXGQ4GI#issuecomment-499977753>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMI2WMYZVUWY4WX2YDFOMLLPZKNOJANCNFSM4HVYWR5Q>
.
|
For site collection with url like https://domain/sites/subSite, the url is pointing to https://domain/ instead of https://domain/sites/subSite 's Style Library. We can change the InjectCssApplicationCustomizer.ts init for the following to solve that: customStyle.href = this.context.pageContext.site.serverRelativeUrl + cssUrl; |
I added the app to the appcatalog without deploying it to every site. Then in the site I want to use it I added the app. I put a custom.css it the style library and it doesn't work. What I'm I doing wrong?
The text was updated successfully, but these errors were encountered: