# Can I write to Perspective Page Configuration via script?

**URL:** <https://forum.inductiveautomation.com/t/can-i-write-to-perspective-page-configuration-via-script/97244>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 15, 2024, 1:21am UTC](https://forum.inductiveautomation.com/t/can-i-write-to-perspective-page-configuration-via-script/97244 "2024-10-15T01:21:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 15, 2024, 1:21am UTC](https://forum.inductiveautomation.com/t/can-i-write-to-perspective-page-configuration-via-script/97244/1 "2024-10-15T01:21:15Z")

</div>

Other than editing the resource file on the filesystem, is there a way to add page configuration programmatically? I have like 15 pages to add urls for and that's far too much work to do it manually... (I only slightly jest)

~~Related, is there any way to get a list of Views given a path? e.g.~~

```python
#pseudo-code
viewPaths = system.perspective.getViewList('Site/AreaA/Folder')
print viewPaths
>>('Site/AreaA/Folder/View1', 'Site/AreaA/Folder/View2')

```

~~  
Edit: Yes to the 2nd question, `system.perspective.getProjectInfo()`  
Edit2: `system.perspective.getProjectInfo()` returns the views and also has the current page config, _however it doesn't include the docks definitions!_
