
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 23, 2020 10:45 AM
I did some searching but wanted to be certain since I’m still relatively new to the scripting block.
Does anyone know if there is a way to create new views?
My use case is that I currently manually create a suite of views each time I add a new client and/or project. For every project I will have an All view that shows everything about it, then an Open view that only shows stuff that’s currently being worked on, an Invoice view that gives me a summary of the tasks that need to be invoiced to make my invoicing faster, etc.
Currently I have template views that I duplicate and update the related filters to have it show the right records. I’d love to automate this with the scripting block, but I don’t see a way to create new views from script.
Am I missing something? Anyone else have any ideas?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 23, 2020 10:59 AM
I think the only think you can create is records.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 23, 2020 04:20 PM
Hello,
I got the same questions, and a little more:
- what you just asked ;
- how to programmatically (by Script Block) do what we can do while creating or modifying one table from UI:
- add FIELD ;
- modify FIELD type & its format ;
- move FIELD between other FIELDS ;
- rename FIELD ;
- delete FIELD ;
- create / modify Linked FIELD ;
- create / modify LOOKUP FIELD ;
- create / modify FORMULA ;
…/…
because I’m creating my own TABLE Templates
then I would programmatically (by Script Block) rename, copy and/or move it into its BASE then Create-Read-Modify-Write-Move FIELDs as I just wrote.
@Kasra @Dru_Knox @Stephen_Suen
Best,
olπ

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 24, 2020 10:07 AM
At this time, you cannot programmatically create or modify tables, views, or fields via the scripting block. You’ll have to manually perform those actions in the main table UI.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 24, 2020 06:08 PM
Thanks, Stephen (and all).
Humbly requesting this feature :pray:

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 25, 2020 12:38 AM
Thanks, Ariel and Stephen
So do I :pray:

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 25, 2020 12:16 PM
I can see this being very useful too - one example being to give subcontractors their own read-only view of work assigned to them without having to set them up manually.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 25, 2020 10:57 PM
Thank you @Stephen_Suen & Script-Block team !
I hope these instructions will be added in a future evolution of Script-Block, in a not too distant future, because I’m tired of cloning my tables-templates by adapting Field-Names and Field-Types and Views by hand.
Thank you for your understanding,
olπ
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 28, 2020 01:04 AM
Automating creating Views, Dashboards… that would be a dream.
At the moment I have to do this manually and it takes ages…
- New Project
- Create 3 new Views – Add Filters (manually paste name of linked record)
- Create Dashboard
- Duplicate Blocks from existing Dashboard
- Change all Blocks to use new Views
Please help me :pray:

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 08, 2020 07:45 AM
Any updates on this?
Would love to have this option or even a block that can create multiple views.
