I tried to preview my PowerPages website and it was showing some random theme colours and fonts.
I created my site from a template and edited the colours.
In the builder view, everything displays as it should with my theme colours and design, but when I preview it does not.
Running the sire checker I get the following errors:
I have deactivated and re-activated the two mentioned files, but the issue persists.
What could be causing this?
Yes, so when I do the initial code for VSC terminal
pac auth create -u and the url |
Then
pac paportal list |
It seems pac portal list looks at Portal Management - Websites, so unless you add it manually, it won't show up
For some reason it created a separate page hence why VSC was never able to find it
I thought it would create a portal, but it doesn't. It's like when you add a basic form in Power Pages, you have to go to Portal Management to add it or it won't show when you want to add it to the form, quirky ways!
Interesting, is that because the site would not load into VSC? I have that issue every time.
lol @elfreddos you are right, that fixed the error. Mine was complaining about some site settings too which I already added.
Regarding visual studio code, I had to add the website in Portal Management so it would pick it up, and for Portal Content editor I had to tick in Xrmtoolbox the 'enable enhanced' as the new site is now enhanced, happy endings for today after all 🙂
Hi there, not really, although I did manage to sort it.
However, my CSS files were always here which made it stranger.
I simply changed something in the theme, and then saved it, which then appeared to fix the problem.
Did you get an answer to this? We have the same issue here. We created a new site to have the 'data model' as 'enhanced' and it has triplicated the website files everywhere. Also we can't find it with Visual Studio Code or Portal Content Editor even though it's in the same URL area
If you try and access the css file directly, with the portal url, does it render the css file in the browser? If not, can you check that the note that contains the css file is still attached to the webfile (in the portal managment app).
Thanks, but I literally wrote at the end of my post
"I have deactivated and re-activated the two mentioned files, but the issue persists"
@elfreddos It seems your theme.css & bootstrap.min.css web files are not active. You can open the Portal Management app and navigate to Web files. Search for both these files in Inactive webfiles and activate them.
If already reactivated then download the css files from notes of each file and check its content. Delete these 2 old webfiles and create new ones by uploading css files in notes