# API to determine if symbol / component is part of local document or is from an external document?

**URL:** <https://forums.creativeclouddeveloper.com/t/api-to-determine-if-symbol-component-is-part-of-local-document-or-is-from-an-external-document/3126>\
**Category:** Adobe XD\
**Tags:** api-feedback, creative-cloud\
**Created:** [June 20, 2021, 9:09am UTC](https://forums.creativeclouddeveloper.com/t/api-to-determine-if-symbol-component-is-part-of-local-document-or-is-from-an-external-document/3126 "2021-06-20T09:09:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Velara](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/velara/32/1278_2.png) [@Velara](https://forums.creativeclouddeveloper.com/u/Velara)\
**Post date:** [June 20, 2021, 9:09am UTC](https://forums.creativeclouddeveloper.com/t/api-to-determine-if-symbol-component-is-part-of-local-document-or-is-from-an-external-document/3126/1 "2021-06-20T09:09:16Z")

</div>

Is there a way to tell if a component or symbol is local to a document? Or external?

I’m trying to reset all of the pluginData on an artboard but I don’t want to reset the pluginData if the component was created in an external document.
