Skip to main content

Notifications

Community site session details

Community site session details

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

Custom - Form Component Control?

(0) ShareShare
ReportReport
Posted on by 480

Has anyone built a control similar to the new form component control? I'd really love to be able to embed a tab from a related form, but need more control over how it happens (i.e. empty state, styling - the current control doesn't show single component tabs). Is an iframe as good as I'm going to get?

  • skoofy5 Profile Picture
    480 on at
    Re: Custom - Form Component Control?

    Thanks, Diana.

     

    The aim was to try and reduce complexity for future customizers. The FCC got me a lot of the way there, but just doesn't do the last few things I need or allow for that customization I'm after at the moment.

     

    You're right I can use PCF directly on the host form and that's the current approach, was looking for smarter options that reduced customization.

     

    Thanks for the help though guys and was nice to understand the component limitations.

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at
    Re: Custom - Form Component Control?

    Thanks a lot @skoofy5 🙂

    I see what you mean. 
    Just a few thoughts...

    For the "create" issue, you could place the same lookup just above the Form Component Control (FCC) . You could even hide the FCC if the value is not set (if the text is an issue).

    Alternative you could autoopen the lookup when the user changes to this tab (only if the lookup is not set).

     

    For the resize issue: if the FCC is used only to show a dataset PCF, i guess you use the FCC only to filter the records on the FCC lookup. If that's the case, maybe it's easier to change the PCF and let it accept 2 more properties: hostEntityName and hostEntityId. Then you can use the PCF directly on the host form (without FCC), and filter the data insids the PCF,  using the dataset filtering possibilities.

     

    Hope it helps!

     

     

  • skoofy5 Profile Picture
    480 on at
    Re: Custom - Form Component Control?

    Chiefly, I wanted to have a little more control over the empty/initial states without having to introduce form logic, because I don't really want system customizers to have to manage multiple steps. Also "source record not selected" isn't super helpful or informative or how that doesn't go full page on this single component tab. It would also be great to open a modal to do a quick create from this control, I mean it does sit on a lookup field...

     

    skoofy5_0-1638319062642.png

     

    The second issue is around sizing - the control isn't rendered as 100% height. Which you might be able to see in the image below. I can hack it by doing a calculated height, but I really would love if it the form component boundary was 100% and I could manage my component to just be responsive...

     

    skoofy5_2-1638319335590.png

     

     

     

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at
    Re: Custom - Form Component Control?

    Hi @skoofy5 , 

     

    I would like to know about the limits where the Form Component Control doesn't fit. 

    The FCC is hiding the borders anyway. You could design a form dedicated for this, where the section header is hidden, there is only one control inside and label is hidden too.

    What style doesn't fit to your use case?

  • skoofy5 Profile Picture
    480 on at
    Re: Custom - Form Component Control?

    Lol - modals were, of course, bound by the frame. There goes that idea.  Thanks for the input though, @cchannon !

  • skoofy5 Profile Picture
    480 on at
    Re: Custom - Form Component Control?

    skoofy5_0-1638243750926.png

    So I've started down the iframe path - but I'm getting global notifications in the record.... Anyone aware of how to turn these off for a particular form?

  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: Custom - Form Component Control?

    I haven't tried yet myself, but yeah, an IFrame is as good as it's going to get because the FCC replicates not only the layout but also form actions, business rules, even formscript. So with any other approach you might try, you'll just wind up having to reproduce an insane amount of functionality that the OOB form experience gives you. Frankly, that's probably all the FCC is anyway.

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