Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to pass multiple values dynamically to IN operator in Fetch XML while executing it through SSIS?

Posted on by 110

Hello All,

From the first fetchxml i got the data(suppose 10 GUIDs). I want to execute second fetchxml in which i want to pass data(10 GUIDs) in IN query.If i hard code the parameters in the IN operator  its work fine but is there any way to pass data dynamically?

*This post is locked for comments

  • Abdelrhman Hiba Profile Picture
    Abdelrhman Hiba 321 on at
    RE: How to pass multiple values dynamically to IN operator in Fetch XML while executing it through SSIS?

    Hi Sourabh

    Is this problem solved?

    I have this problem

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    Shahbaaz Ansari 6,203 on at
    RE: How to pass multiple values dynamically to IN operator in Fetch XML while executing it through SSIS?

    Hi Tomar,

    Add all the Guid in array and pass into your In Operator in fetchxml query.

    Hope it help!

    If it helps you,mark my answer as verified.

    Thanks,

    Shahbaaz

  • Tomar Sourabh  Profile Picture
    Tomar Sourabh 110 on at
    RE: How to pass multiple values dynamically to IN operator in Fetch XML while executing it through SSIS?

    Thanks for reply.

    I am using fetchXML in SSIS pkg. Any idea how can we achieve?

  • MSCRM Guru Profile Picture
    MSCRM Guru 600 on at
    RE: How to pass multiple values dynamically to IN operator in Fetch XML while executing it through SSIS?

    Hey Tomar,

    How are you doing this? C#? JS? Workflow?

    You should be able to construct the FetchXML structure for the In operator fairly simply in most languages before sending it to the server.

    Good luck!

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