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)

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

(0) ShareShare
ReportReport
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

I have the same question (0)
  • MSCRM Guru Profile Picture
    600 on at

    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!

  • Tomar Sourabh  Profile Picture
    110 on at

    Thanks for reply.

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

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    6,211 on at

    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

  • Abdelrhman Hiba Profile Picture
    321 on at

    Hi Sourabh

    Is this problem solved?

    I have this problem

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