Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

when PCF control add in dynamics Marketing list then it not work.

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

We create one sample grid control that get grid record collection and perform operation them using following code:

this.context.parameters.sampleDataSet.sortedRecordIds.length > 0
 

When we add that control in dynamics marketing list at that time it not get record collection.We notice that dynamics marketing list have it own control to show record list 'CC_Marketing_DynamicListSubgrid'.When we set read-Only Grid (default) that also not show record collection.

 

How we get record collection from dynamics marketing list

 

Thanks! 

  • Hemant Gaur Profile Picture
    on at
    Re: when PCF control add in dynamics Marketing list then it not work.

    Just checked the code for the CC_Marketing_DynamicListSubgrid control and it is using few specialized internal APIs . Dynamic marketing list is a special  type because it uses fetchXML on the fly to dynamically generate the data set. At this point you cannot replace dynamic marketing list by custom PCF visualization.  Add an idea https;//pcfidea for feature suggestion 

     

    If I recall correctly there was a option to covert dynamic list into static , that path can be explored if it fits the usecase .

     

     

    hemant 

  • Ben Thompson Profile Picture
    1,400 on at
    Re: when PCF control add in dynamics Marketing list then it not work.

    Because the CC_Marketing_DynamicListSubgrid is not a standard Grid Control and in the same way I can (and do write) PCF components that updates and supplements  the initial dataset with additional information (potentially from other entities) the CC_Marketing_DynamicsListSubGrid is a  PCF Component (albeit one written by Microsoft) that is doing a lot of hidden additional work in the background.

     

    And you can just go into the Form editor can change the component type from the marketing control to something else as the form editor does not know that the component is special, it's just a piece of xml saying display this view of data here using this dataset control specified.

  • v-xida-msft Profile Picture
    on at
    Re: when PCF control add in dynamics Marketing list then it not work.

    Hi @PCF_Developer ,

    More details about adding PCF control in Model-Driven app form (CRM Entity form), please check the following article:

    https://docs.microsoft.com/en-us/powerapps/developer/component-framework/add-custom-controls-to-a-field-or-entity

     

    On your side, you should edit your Entity form in classic experience mode, then double-click the field where you want to add PCF control, then click "Controls" tab -> "Add control" as below:

    9.JPG

     

    10.JPG

     

     

    Best regards,

  • PCF_Developer Profile Picture
    2 on at
    Re: when PCF control add in dynamics Marketing list then it not work.

    Hi, 

     

    Thanks for reply 😀

    Yes, we want to use PCF control with the dynamics marketing list because it works properly with a static marketing list. In static marketing list, all member record show in ReadOnlygrid but in dynamic marketing list member data show in 'CC_Marketing_DynamicListSubgrid' control if we switch that control in ReadOnlygrid then member data is empty same happen with Sample PCF grid control.  

     

    yes, we add our sample grid control in below thing of Dynamics CRM and it works properly

    • For  view grid
    • For a particular view only
    • For Dashboard
    • For subgrid
    • For static marketing list

    If control functionality is not available for marketing then how can we access add control option in Dynamics CRM.🤔😅

     

    Thanks!

  • v-xida-msft Profile Picture
    on at
    Re: when PCF control add in dynamics Marketing list then it not work.

    Hi @PCF_Developer ,

    Could you please share a bit more about the index.ts code within your PCF control project?

    Do you want to embed the PCF control within your D365 Marketing List?

    Further, have you taken a try with the PCF control within your D365 CRM (Model-Driven app)? Does it work as expected?

     

    Currently, the PowerApps Component Framework is only supported for Dynamics 365 for CE or CDS and Canvas Apps, it is not available in Dynamics 365 Marketing service currently.

     

    If you would like this feature to be added in PowerApps Component Framework, please consider submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

     

    Best regards,

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 the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 72

Overall leaderboard