Skip to main content

Notifications

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

  • Steven O'Neill Profile Picture
    Steven O'Neill 575 on at
    RE: Push changes to hosted Portal

    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?

  • cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Push changes to hosted Portal

    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

  • Suggested answer
    Pranjali Profile Picture
    Pranjali on at
    RE: Push changes to hosted Portal

    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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans