Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Need to call action (msdyncrm_UpsertFile )

Posted on by 10

Hi Everyone,

Need some help to call standard action (msdyncrm_UpsertFile) using javascript. or dynanmics crm plugin.

docs.microsoft.com/.../migrate-files

Facing issue while adding input parameter as String with a serialized JSON object .


Can anyone suggest me any reference for this.

Thanks,

Sahil

  • Sahilkharbanda Profile Picture
    Sahilkharbanda 10 on at
    RE: Need to call action (msdyncrm_UpsertFile )

    3264.Capture.PNGHi,

    Thanks for the reply.

    Need to pass input parameters to the custom action call msdyncrm_UpsertFile 

    Please check this below code snippet

    var actionName = "msdyncrm_UpsertFile"; // Global Action Unique Name        

    //Pass the input parameters of action

    var parameters = {

                   "InputFile" : "{\"msdyncrm_name\":\"Data\",\"msdyncrm_contenttype\":\".jpeg\",\"msdyncrm_width\":10,\"msdyncrm_height\":10}"

               };

    but getting error 

  • Suggested answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: Need to call action (msdyncrm_UpsertFile )

    Hi,

    Would you please provide your code snippet or attach some screenshots to describe your problem more clearly?

     

    Best Regards,

    Nya

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans