cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
d365clubnet
New Member

Metadata configuration parameters in PCF control

Hi,

I'm looking for information on how to provide control parameter so I could point entity from list of entities in one and a view or an attribute of that entity in the other param.

 

Something similar to what MS did on Auto Complete Control for selection Entity, View, field within selected view to provide picklist values over text field.

Cheers,
Eryk

 

 
1 ACCEPTED SOLUTION

Accepted Solutions

Perhaps @d365clubnet  you are asking about the control parameters that are passed to the control at design time? If so - there isn't any way currently to customise this experience - you basically have a bound or input (static) value that you can provide - no additional UI logic.

View solution in original post

6 REPLIES 6
ben-thompson
Solution Sage
Solution Sage

You may wish to look at my Meta Data select PCF components that allow you to do just that. They are all separate controls, so start with select entity to chose an entity and then pick the appropriate control for whatever you wish to do next (select view, select attribute)...

 

The solutions include managed, unmanaged and source code can be found at https://github.com/bthompson-365/PCF-Metadata

---
If this post has answered your question please consider it for "Accept as Solution" or if it has been helpful give it a "Thumbs Up".

Perhaps @d365clubnet  you are asking about the control parameters that are passed to the control at design time? If so - there isn't any way currently to customise this experience - you basically have a bound or input (static) value that you can provide - no additional UI logic.

@ben-thompson Thank you for your response. This is however more about control configuration parameters.

 

Cheers,

Eryk

Hi @ScottDurow ,

This is exactly what I meant. MS autocomplete shows this is possible (not necessary supported as of now) just I wondered if any kind of api exists for that.

 

Cheers,
Eryk

@d365clubnet 

 

You could do a bound field and apply logic on the data in that field which can drive your custom control.

 

*If you can describe your exact scenario maybe there might be a better way to implementing it. 


----
Danish Naglekar | Power Maverick
If this post helps, then please consider Accept it as the solution to help the other members.


Power Maverick | Microsoft Business Application MVP

The other way of doing that would be an configuration entity / environment variable that the PCF component called to retrieve the appropriate configuration.

Yes it's not the neatest approach but I find configuration entities can make things non-code friendly in a way that other things don't.

---
If this post has answered your question please consider it for "Accept as Solution" or if it has been helpful give it a "Thumbs Up".

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Users online (1,929)