Today I remove a component from an unmanged solution. I forgot that the component was still used on a form. After removing the component I realised this and found it strange that I was able to do so. Normally you get an error and can't remove something while still being refererence. I did go to the form and looked at the field. The new designer was still displaying information about the customer component I just removed. I removed the reference from the field and tried to save it. It gave me an ugly warning about not able to save the form... (old experience also didn't work) There wasn't anything I could do. I did import the solution containing the custom component and after this I was able to remove the reference from the form, save the form and finally remove the component.
I was lucky to have the original solution with the component laying around, otherwise I was left with a corrupt form. I think it is better to fix this before someone gets hurt 😉
Hi, thanks for looking into this. I thought I already described it. Here it is again in more clear steps:
1) create component and upload the solution (in my case unmanaged)
2) use the component on a form, sae an publish
3) go to the solution with the component, find the component and remove it <= this should give a warning because it it still used
4) remove solution with the component
5) go to you form that did contain the control and try to modify and save <= this will give you an unclear error
At this stage you are unable to save any modifications to the form.
I tried several things to fix this, the only thing I could do to fix it:
6) import the original solution that did contain the component
7) go to you form that did contain the control and try to modify and save <= this will work now
I hope it is a bit more clearer
Hi @PieterH ,
We did check this on our end, following the scenarios we do see that all dependencies are being tracked appropriately. We are unable to re-create the scenario. Currently we are closing this as a non-issue. If you are still facing this issue. Kindly let us know and we can accordingly check if the issue still exists.
Check out new user group experience and if you are a leader please create your group
Check out how to claim yours today!
Test your skills now with the Cloud Skill Challenge.
We are excited to announce that Demo Extravaganza for 2021 has started!
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks