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

Community site session details

Session Id : ymv+J9D7KgVHUVpl8TGXzK
Power Apps - Power Apps Pro Dev & ISV
Unanswered

want to create a PCF control like a subgrid with customize search view

Like (0) ShareShare
ReportReport
Posted on 28 Oct 2020 02:46:12 by

Hi Guys

 

I'm a newer to PCF.

Ref to the below link

https://community.dynamics.com/365/unified-interface/f/unified-interface-forum/380408/unable-to-customize-add-existing-button-in-the-subgrid-in-uci-in-dynamics-365-crm-with-9-1-version

I know use pcf can create a subgrid(which can dynamically change search view) instead to use unsupported js in d365.

I watch a lot of pcf video,but still have no idea how to create a subgrid pcf.

 

can anybody do some advice for the subgrid pcf(like use which pcf template ect..) 

 

 

 

  • RishiBhutani Profile Picture
    Microsoft Employee on 22 Apr 2021 at 06:57:42
    Re: want to create a PCF control like a subgrid with customize search view

    @DianaBirkelbach Can we execute a java script (formcontext.data.refresh) from with in a pcf sub-grid control or from outside.

     

    I have a scenario where I have 2 PCF Subgrids when  a record is added to one I want to update the other pcf subgrid

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on 29 Oct 2020 at 07:59:50
    Re: want to create a PCF control like a subgrid with customize search view

    Thank you @ScottDurow ! Happy you recommend my project and blogs.

     

    Hi @wanglili , 

    Additionally I would recommend this gibthub repository: https://github.com/brasov2de/ColorfulOptionsetGrid, and this blog https://dianabirkelbach.wordpress.com/2020/08/19/my-checklist-for-a-dataset-pcf-using-fluent-ui/ as a starting point of implementing dataset PCFs.

    You would need a PCF with the template dataset. You don't need to care about changing views, you can use the OOB functionality and add filters on top if you need.

    If you have more specific questions, please don't hesitate to ask.

     

    Kind regards,

    Diana

  • ScottDurow Profile Picture
    1,039 on 29 Oct 2020 at 01:34:42
    Re: want to create a PCF control like a subgrid with customize search view

    Hi @wanglili ,

    There is a sample dataset PCF component in the docs that can be used on a subgrid - https://docs.microsoft.com/en-us/powerapps/developer/component-framework/sample-controls/data-set-grid-control

     

    Also Diana has lots of good posts on creating the ColorfulOptionset -  https://github.com/ORBISAG/ORBIS.PCF.ColorfulOptionset

    https://dianabirkelbach.wordpress.com/ 

     

    Hope this helps

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete