# Import view.json with generated objects

**URL:** <https://forum.inductiveautomation.com/t/import-view-json-with-generated-objects/92522>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 28, 2024, 8:36am UTC](https://forum.inductiveautomation.com/t/import-view-json-with-generated-objects/92522 "2024-06-28T08:36:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [June 28, 2024, 12:14pm UTC](https://forum.inductiveautomation.com/t/import-view-json-with-generated-objects/92522/2 "2024-06-28T12:14:40Z")

</div>

How are you modifying the files?  
Like this, or with some extral program?

> [@Editing or Creating a Perspective View via Script](https://forum.inductiveautomation.com/t/editing-or-creating-a-perspective-view-via-script/50511):
>
> In case this helps anyone, here’s how you can modify (or create) a Perspective View (or any non-binary resource really) via script. You can call this from any gateway scope, including from a Perspective Button action. Note: the gateway only checks for file updates to resources every 5mins, so you won’t see changes in your client until then, but they will come through automatically. projectName = '' # e.g. 'AwesomeProject' viewPath = '' # e.g. 'Testing/View to Modify' from com.inductiveautomat…

Its definlty not about the thumbnail. but the gateway/designer do take some time to update these files if changed. Try restarting the gateway and designer to see if the changes went through.  
If a restart doesnt help than your file is maybe badly constructed, see if there are any logs

---

_[View the full topic](https://forum.inductiveautomation.com/t/import-view-json-with-generated-objects/92522)._
