1

Modern SPFx web part creates a new list 'abc' using code when it is added to site contents.

Now I want to remove list 'abc' automatically when web part is removed from site contents(using code not manually).

How can I achieve this?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.