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

Notifications

Announcements

Community site session details

Community site session details

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

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard