locked
Mscrm.InlineCommands specifications ? RRS feed

  • Question

  • Mscrm.InlineCommands - anybody have any idea where to find any description of these commands. 

    Thank you,

    Sever

    Monday, November 23, 2015 6:28 AM

All replies

  • Hello,

    Is anybody aware of any specs on "Mscrm.InlineCommands".
    Eventually specifically for:

    Mscrm.InlineCommands.EmailSend

    I am wondering if there is also a function:

    Mscrm.InlineCommands.EmailSendAndSave

    or separate 

    Mscrm.InlineCommands.EmailSave

    so that I may force the Save and Send of a message onto an Exchange on cloud solution.

    I am using a CRM 2013 on-premises implementation.

    Thank you,
    Sever

    Monday, November 23, 2015 5:52 AM
  • Microsoft consider these to be internal functions, so do not publish any documentation on them, and they won't support their use, as they may change the implementation. As they are client-side functions, it should be possible to work out what they do by inspecting the code, though the code optimisation will not make this easy

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Monday, November 23, 2015 9:31 AM
    Moderator
  • However it's very un-bearable to see functions in EWS like:

            public void Send()
    public void SendAndSaveCopy()

    in the same EWS library. 

    So why not have the liberty to choose which one needed through a parameter for example.

    It's really frustrating.

    And all explanations of being un-supported, but can be inspected - doesn't make sense as all gets reduced to:

    email.js (containing that part of code:

        sendParams.sendType = "send";
        Mscrm.RefreshPageCommandHandler.executeCommand(Mscrm.InlineCommands.EmailSend, sendParams)

    )

    I tried creating another button, but it's arriving to re-write the wrapper call to call 

    EWS.SendAndSaveCopy() on an object that needed rto be recreated in javascript starting from object properties from interface.

    It's a real frustration.

    Thanks and still look to know if somebody can give me a SOLUTION not an explanation.

    Regards,

    Sever

    Monday, November 23, 2015 6:32 PM
  • I'm afraid you're not going to get a solution, because these commands are undocumented and unsupported. You may be able to get the commands to work, but Microsoft may change their implementation without warning. The supported and recommended approach would be to write your own functions that call the Crm web services

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Tuesday, November 24, 2015 11:01 AM
    Moderator
  • And these commands are undocumented and unsupported don't they have a minimal trace of specification ?? 

    Just curious ...maybe a blog, a pdf document a paper in the journal (?!) ... or on wikipedia !? there's no trace what'so ever?!

    I recall I use time ago some MSCRM inline command ... a kind of a shell just can not find where.

    I presume at least they may have a help once entered their window ...

    Nothing you may know about ? ... from there on I can get my info alone ...

    Thanks,

    Sever

    Tuesday, November 24, 2015 11:54 AM