Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

javascript queue items

Posted on by Microsoft Employee

Hi,
I am trying to use javascript web resource embedded inside a custom entity to do a few things. I need it to create a new queue item with the current record as the item attached to the queue item. I need it to then assign the queue item to a queue. is this possible using javascript? i know i can do this using workflows but i dont want to use workflows as i need more control than what they provide.

regards

*This post is locked for comments

  • Mridula Profile Picture
    Mridula 275 on at
    RE: javascript queue items

    Hi,

    I am trying to use 'AddToQueue' and it is throwing error as this segment doesn't exist.

    In rest builder actions also, AddToQueue is not present.

    What could be the reason behind this?

    Thanks,

    Mridula 

  • Inogic Profile Picture
    Inogic 24,094 on at
    RE: javascript queue items

    You can use Web API to add items to the queue. There’s a Web API Action called AddToQueue which is made for this purpose. You can refer to the following two links for details.

    http://msdn.microsoft.com/en-in/library/mt607880.aspx

    http://msdn.microsoft.com/en-us/library/mt607600.aspx#bkmk_boundActions

    If this answered your question, please make sure to Mark this as an Answer.

    Thanks !

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: javascript queue items

    This should still work:

    www.intergr8it.net/wp

    You might want to change it for web API eventually..

    Also, you might try to put some/all of that functionality into a custom action and call it from javascript:

    stackoverflow.com/.../run-action-in-microsoft-dynamics-crm-2016-using-javascript

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans