Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Removing News Subgrid

(0) ShareShare
ReportReport
Posted on by

I removed the News subgrid on the Account in my latest solution update and didn't realize it would create an error when saving an Account.

"There was an error with this field's customized event.

Field:crmForm

Event:onsave

Error:'refreshNewsSubgrid' is not defined"

Can anyone assist? I tried putting the subgrid back in, but it still errored, and truthfully we don't use it.

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Removing News Subgrid

    I could only get the error to go away by adding the subgrid back and then adding the js script "ms_newsandsocial" back to the form. Not sure why this is required on our Account main form, but we do have Insights by InsideView and that could be forcing it.

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Removing News Subgrid

    Hi ,

    In addition please check the JavaScript code for OnSave event of the form. You must doing something in the onsave event function [  "refreshNewsSubgrid"].

    You can disable the event or removed from the onsave event . Also try to find any JS code related to grid , you should comment out those code.

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,626 on at
    RE: Removing News Subgrid

    Hi,

    Check is there any JS that are calling this function "refreshNewsSubgrid". If you confirm you do no need this, try to comment out the code and test it and in the end remove it.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans