Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

opusUtilities.queryMultipleEntities(oDataSelect); is confusing

Posted on by

Hello All,

I am confused from where this line of code is containing that.

if (opportunityId != null && opportunityId != '') {
oDataSelect = "/card_opportunitytypesSet?$select=card_name&$filter=card_opportunityId/Id eq guid\'" + opportunityId + "\'";
var OppTypeName = opusUtilities.queryMultipleEntities(oDataSelect); ////// This line making confusion, from where this method is getting loaded.
if (OppTypeName != null && OppTypeName.length != 0) {
for (var i = 0; i < OppTypeName.length; i++) {
if (OppTypeName[i].card_name == "MOL Sale" || OppTypeName[i].card_name == "Ownership Change") {
returnValue = true;
break;
}
else {
returnValue = false;
}
}
}
}

*This post is locked for comments

  • Verified answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: opusUtilities.queryMultipleEntities(oDataSelect); is confusing

    Hi,

    You should be able to see these library in your entity form, or you can look for list of web resources in your environment, there should be some web resource having these js namespace.

    Thanks

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: opusUtilities.queryMultipleEntities(oDataSelect); is confusing

    Hello HIMBAP.

    Thanks for your reply, can you let me know from where i can see this respective forms library.

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: MSCRM How it is??

    Hello,

    This code using opusUtilities library which have "queryMultipleEntities" function in it, if you are looking in CRM environment you should see this library under forms library.

    Thanks

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