Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Sub Grid external fetch is not working in UCI

(0) ShareShare
ReportReport
Posted on by 20

subgrudcontrol.setparameter(fetchxml) is not supporting in UCI. Any other way to overcome this?

  • CRM Issues Profile Picture
    20 on at
    RE: Sub Grid external fetch is not working in UCI

    Hi, Mehdi El Amri

    For link entity it is not working.

    Can you provide me by using link entity

  • Suggested answer
    meelamri Profile Picture
    13,212 User Group Leader on at
    RE: Sub Grid external fetch is not working in UCI

    Please read my code, first you should fetch the Ids then you can use a simple filter using "in" operator. 

  • CRM Issues Profile Picture
    20 on at
    RE: Sub Grid external fetch is not working in UCI

    yes...In my fetchXml I am using link entity

  • meelamri Profile Picture
    13,212 User Group Leader on at
    RE: Sub Grid external fetch is not working in UCI

    Did you use some link-entity ik your fetchXml ?

  • CRM Issues Profile Picture
    20 on at
    RE: Sub Grid external fetch is not working in UCI

    Hi Mehdi El Amri,

    I tried this before. but no use.

  • Suggested answer
    gdas Profile Picture
    50,089 Moderator on at
    RE: Sub Grid external fetch is not working in UCI

    You can try with following options  -

    - Using retrieve multiple plugin.

    - Try to use quick view form.

    - Using custom html web resource.

    Check my blog -

    https://goutamdascrm.wordpress.com/2018/11/29/what-is-stopping-you-to-use-out-of-the-box-subgrid-in-dynamics-365/

  • Suggested answer
    meelamri Profile Picture
    13,212 User Group Leader on at
    RE: Sub Grid external fetch is not working in UCI

    Hi, 

    Please check this sample code: 

    https://medium.com/@meelamri23/nice-post-50eb2eddcc3c

  • CRM Issues Profile Picture
    20 on at
    RE: Sub Grid external fetch is not working in UCI

    Hi,I need external fetch for a subgrid.

    In classic UI subgridControl.setParameter(fetchXML) is worked but in UCI it is not supporting.

  • Suggested answer
    Miguel Lourenco Profile Picture
    on at
    RE: Sub Grid external fetch is not working in UCI

    Hi , If you need a Grid filtered on a Lookup you can add a Quick View Form and add the grid to it  ( set it to show related record ) and link the quick view form to the lookup,  for the grid.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans