web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

SOAP Request with attribute on lookup

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm using SOAP (and REST) endpoint to Retrieve some data. I want to retrieve some account with a filter criteria on the division of the owner of the account. Do you know how can I do that?

Thanks!!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    If you want to build Soap for that - Soap logger application is the way to go.

    To build correct query you can either use FetchXml + FetchQuery or QueryExpression with LinkedEntities.

    Do you have some specific question?

  • Community Member Profile Picture
    on at

    Hello Andrew, thanks for your answer.

    I'm tryinig to use LinkEntity, and there is my query :

    <ns2:LinkEntities>

                  <ns2:LinkEntity>

                     <ns2:Columns xsi:nil="true" />

                     <ns2:EntityAlias>test</ns2:EntityAlias>

                     <ns2:LinkCriteria xsi:nil="true" />

                     <ns2:LinkEntities xsi:nil="true" />

                     <ns2:LinkFromAttributeName>ownerid</ns2:LinkFromAttributeName>

                     <ns2:LinkFromEntityName>account</ns2:LinkFromEntityName>

                     <ns2:LinkToAttributeName>systemuserid</ns2:LinkToAttributeName>

                     <ns2:LinkToEntityName>systemuser</ns2:LinkToEntityName>

                  </ns2:LinkEntity>

               </ns2:LinkEntities>

    And the error : Link entity with name or alias user is not found

    Do you know where I'm wrong?

    Thanks!

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Can you please post your full xml?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans