Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Adding Parameter to Custom Action, Metadata isn't updated.

(0) ShareShare
ReportReport
Posted on by 420

When I add/remove a parameter from a custom action in crm, the metadata isn't updated. I also verified with /api/data/v8.2/$metadata to make sure. Is there any way to refresh it? If possible, not a way that would require me to restart a service on the server, I don't have access to it.

*This post is locked for comments

  • Verified answer
    anonsgate Profile Picture
    anonsgate 420 on at
    RE: Adding Parameter to Custom Action, Metadata isn't updated.

    Sorry for the delay I didn't have time to test.

    Publish All Customization does not work. By that I mean it doesn't refresh the metadata. To reproduce the problem :

    1.Add a parameter to a Custom Action

    2.Activate Custom Action

    3.Browse Metadata to make sure the parameter is there at  /api/data/v8.2/$metadata

    4.Remove the parameter

    5.Activate Action

    6.Publish All Customization

    7.Browse to Metadata and the parameter is still there  /api/data/v8.2/$metadata

  • Verified answer
    Radu Chiribelea Profile Picture
    Radu Chiribelea 6,667 on at
    RE: Adding Parameter to Custom Action, Metadata isn't updated.

    Hi anonsgate,

    Usually the CRM Metadata Cache should be rebuilt after you publish all customizations.

    Have you tried that?

    You could also make a small customizations and publish - to be sure that there are some changes. Is the action also updated afterwards?

    Regards,

    Radu

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,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans