web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Push changes to hosted Portal

(0) ShareShare
ReportReport
Posted on by 575

Hi guys

I've created a local development copy of our Marketing Portal and have this displaying as I'd like the hosted Portal to look. So I've now used run the DeployToDynamics365Instance.ps1 script in PowerShell and, after I'd sorted an ExecutionPolicy issue, I appear to have successfully uploaded the data to the hosted site (PowerShell says - Updated all files). Upon restarting the Portal the site looks exactly the same as it did previously.

I've then made a slight change to the Index.html file contained in the src folder (just the Title) as I can see this file within the portal-hosted folder (which I believe is what is sent up to the hosted environment) and once again ran the DeployToDynamics365Instance.ps1 script. Again everything seemed to update as expected but again the site is the same after a restart.

Within the release folder I downloaded (201205-EventWebsite) there is a dist\portal-hosted folder and the contents of this are destroyed/created when we run the DeployToDynamics365Instance.ps1 script. The Index.html file within this dist\portal-hosted folder shows the change I've made to the Index.html file so I would expect that what I had updated should be available on the hosted Portal but it doesn't seem to appear.

Anyone know if there is something else I need to do or try to get my alterations pushed to the hosted environment?

Any help appreciated as always.

Steven

I have the same question (0)
  • Suggested answer
    Pranjali Profile Picture
    on at

    Hello Steven,

    If its just one page (index) you have made the change in, just try to upload it under the Note section of your home page.

    Cheers!

    Pranjali

  • cloflyMao Profile Picture
    25,210 on at

    Hi Steven,

    By checking source code of the ps1, it seems that the index.html is not selected as upload item.

    pastedimage1614936519432v1.png

    Please modify source code of EventManagementApp web template directly and see whether it works.(The web template plays same role as index.html.)

    pastedimage1614936752652v2.png

    5226.x1.JPG

  • Steven O'Neill Profile Picture
    575 on at

    Thanx Clofly, makes perfect sense. I'm curious though how we can update the Environment data though as I've changed the date format on the local development environment (and this is working as expected) but since the upload process does not appear to overwrite the files I've no way to sort the date time "issue" on the hosted environment.

    Any ideas how I'd resolve that one?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans