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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Portal Page not showin...
Power Pages
Answered

Portal Page not showing any fields after adding JS on webpage also js files removed when I inspect from browser

(0) ShareShare
ReportReport
Posted on by 33

Hi Good Afternoon,

 

I am working on portals and without realizing I have pasted few lines of JavaScript by going to WebPage(Information)-->Advanced Tab-->Custom JavaScript section and added then removed the JavaScript I have added and the Portal form completely not showing any fields on the webpage when I access through browser.

 

Also when I inspected and compared with working portal form from another CRM instance on browser, I noticed that few .js files were not showing/removed from the webpage which I have edited. I have added the comparison below from working/nonworking portal forms. Please see below. Thanks

 

 

Is there anything I can do to re-add those missing JavaScript files or how I can fix this...Could you please suggest me.

 

Many thanks in advance.

 

 

Categories:
I have the same question (0)
  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    Hi @PA_Learner9 ,

    Custom Javascript field will not add additional files to the portal. It will just add an additional script tag with your code to the page. If you are missing some js files and it is files that you added make sure that they exist as Webfiles and also verify that you are adding them properly ( I don't know how exactly you are doing that as there are plenty of ways to add files).

  • Verified answer
    D365Admin Profile Picture
    33 on at

    Hi @OOlashyn ,

     

    Thank you for taking your time and answering my query.

    I have fixed the issue on my own by referencing the web files. Many thanks in advance.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 78 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 75

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard