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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Control on deleted for...
Power Apps
Answered

Control on deleted form tab still shows as dependency

(0) ShareShare
ReportReport
Posted on by 311

In my model-driven app, I had a tab on a form with several controls on it.  I deleted that tab.  Now I want to delete one of the fields that was on that tab from the table.  But it won't let me because the dependency still exists on that form.  I've tried adding the field back onto the form and deleting it again, but the dependency is still there.  I even tried adding a new tab, giving it the same properties as the original tab, adding that field to it, save/publish, delete the field again, save/publish, and dependency is still there.  How can I get rid of that dependency?

I have the same question (0)
  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @tschopp , 

    Hm.. I haven't encountered this. Are you sure that the dependency is not on another form? If somebody made another form, maybe he/she got the PCF automatically without even noticing?

    Kind regards,

    Diana

  • tschopp Profile Picture
    311 on at

    Hi @DianaBirkelbach ,

    I'm the only person making changes in this environment right now.  When I view dependencies for the field, it shows the form that it used to be on.  When I double click the dependency, it opens the form editor and that field shows on the Unused Fields list.

  • Hemant Gaur Profile Picture
    Microsoft Employee on at

    This is a known issue and we are working on it ..can you please log a support case and they can run mitigation script ..

    I am Enquiring other workaround options . Will update the thread.

     

    Thanks,

    Hemant 

  • tschopp Profile Picture
    311 on at

    Thanks @HemantG .  The issue has been reported.  Let me know if you come up with a workaround.

  • Verified answer
    cchannon Profile Picture
    4,702 Moderator on at

    I've seen this behavior too. What appears to happen is that when you add a PCF to a form it gets added to the XML in two places: at the top of the form XML to register the presence of the PCF and inline in the xml on the control you are replacing. Sometimes when you remove the control (or remove its tab or its section) only the inline portion gets excised and the declaration at the top of the form XML persists. When this happens you're pretty much SOL, within the UI at least (re-adding and deleting won't get you there).

     

    I have found only two workarounds for this:
    - Delete the form and recreate it or

    - Crack open the customizations XML and delete the XML node for the PCF

    For the record, as much as we all know XML editing is a baaaaad idea, I have found in this circumstance it is easy and safe, so I would actually recommend it here if deleting and recreating your form will cause you problems (i.e. if you have downstream customizations to the form and replacing it isn't a practical option).

  • kmrianow Profile Picture
    2 on at

    Had same issue when trying to delete bunch of fields. In my case, 

    * Added the field back to the form

    * Applied 3rd party controller (as it was before removing field from the form)

    * Save and Publish

    * Change controller back to default one

    * Save Publish

    * Remove field from the form. 

     

    It didn't just stop showing form dependency for this field but all other that previously giving me trouble. 

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard