Templates for Sets & Collections

WHAT DO YOU RECOMMEND

‘filter’, ‘view’, and ‘relations’ recipe-like templates for sets/collections. for an automated reproduction of previously configured structures.

HOW COULD IT BE DONE

by introducing templates to sets/collections that capture the queries and predefined ‘views’ and the filters assigned to them.

REAL WORLD USE CASES

currently I find that my best way to manage my projects on Anytype is via collections (sets would be ideal but currently seem impossible more on that later). 1 project = 1 collection—the reason is that each project of mine is like a space in itself, having its own notes which house my thoughts, own to-dos and events, own resources and bookmarks.

one project’s objects are disconnected from the objects of another. I suppose most people would create a page for that but I prefer collections due to the ability to display the project’s ‘notes’, ‘tasks’, ‘calendar’ and so on, in separate views (tabs). it’s far cleaner than having it all laid out on one very long page.

KEY PROBLEMS

  1. the biggest issue I have is that I cannot preconfigure collection objects the same way I can preconfigure note objects using templates. currently, my way of creating a new project is inefficient. since a new collection cannot inherit the ‘views’, ‘filters’, and ‘relations’ configuration that I’ve already developed previously and I have to do it all over again every time. (it’s possibel to make one instance and keep duplicating it. this is still inefficient. I’d like to simply press the add new button in my ‘projects’ parent-collection, which would automatically create a preconfigured subcollection for my new project.

  2. I’d like to use sets instead of collections. the essential point of this thread is an automation of this process as much as possible. collections are all manual. sets have the ability to display objects automatically based on queries, which in theory makes things easier but as they cannot inherit relations at the moment, it’s impossible to use them for this purpose.

  3. the whole concept of sub-sets is necessary for such automation. not only a subset/subcollection must be able to inherit preconfigurations but also, a parent-set/parent-collection must be able to produce child-objects that already have a preconfigured template by default. (that’s currently only possible using objects such as 'note, task, and more, that can inherit a template).

I’ve already asked around for advice and got the following reply:

this is @Axis’ answer to the same ‘missing feature’. they also summed up their comment saying:

their solution is a creative work-around indeed. but take a quick look at their configuration—it’s all very manual. they’ve built upon Anytype’s existing logic an ‘Index’ relation system.
an index = a project. and now, whenever they want to simply add a note into a project their project, they’ve got to take the long way of creating an object, sticking an index to it MANUALLY, then they have a ‘secondary index’ relation, which defines this object as a ‘note’ or a ‘task’. ONLY THEN they’re free to fill in the content into the note/task and off load it of their mind…

ideally, when @Axis wants to log a new project into their Anytime database, they’ll enter their ‘projects’ parent-set, which only displays ITS children-set objects (each child-set is an individual projects that already has the predetermined template of views and filter, housing only objects related to it, aka project ‘notes’, project ‘tasks’ or what not).
then, if @Axis wants to add an object (note or task) into a project, they’d only have to enter the specific project’s set and press the ‘add new’ button which would automatically create a new object and place it inside the dedicated project set. this object would be automatically defined as a ‘note’ or a ‘task’, depending on the default object type set for the view tab @Axis is currently on. the default template associated with the default object type of this view would also be automatically applied. and they’d simply be able to immediately write down what’s on their mind without all the indexes faffing and reconfigurations.


related issues

  1. something similar but less elaborate was suggested by @raph

  2. @Shampra struggled employing sets and opted to manage their projects manually in the form of collections instead.

  1. my response to a suggestion to use a default collection with all the instances set within, that I’ll keep duplicating on end:


it’s been awfully difficult to put my mind into words and I’m sorry if my description above was too confusing to understand, I’ve whipped up this diagram, attempting to look somewhat similar to Anytype’s chart view (just with much uglier emojis unfortunately), to better demonstrate the sought-after functionality :slight_smile:

I’ve demonstrated it here in the form of a project management structure. but it’s generally useful to use Anytype to manage and arrange any type of the user’s databases :smiling_face:

I totally agree with you. I want to be able to “set” collections or sets in my template with other content as default instead of trying to create the collection or sets in my template minus the content. If I do create a set in the template then it actually refers to the user-defined existing content and not a new one. What I think a workaround for it (which is tedious) is to leave a dummy set or collection (already created) for out of use purposes but only for dummy use in these templates. But again the problem would be this would still edit the dummy and not create a separate instance.

WHAT DO YOU RECOMMEND

Allow users to create templates for the “Collection” type

HOW COULD IT BE DONE

The same as other templates for other types

Really need this

What Do You Recommend?

Suppose I need some sets for some same filtering in all & the set to have some relations set as favourites and with inputs … I cant seem to do that because sets dont allow templates… simple thing if i wanted to make a set of sets which has “set type” as area (custom relation by me which is select/status)..also same for projects… and if you are wondering why i am making these sets instead of object type as “areas” & “projects” because i want to see all my projects and areas in database view… so for example if i had to create 2 set of areas as Learning, Health (their set type is areas) and add filtering in the “set type- projects” (because areas contains projects) and “linked to” (just a relation set as object type set) relation as “This area= Learning/Health”.. I would have to make those sets manually one by one as I have no template for sets. it would have been much easier to create a new set of set type as area or a set of set type as projects if i had templates for sets named as “area” and “projects”…You might say create a set of set and “set type” as area or projects and duplicate + modify them when u need more.. But that will connect them through “Source Objects” relation which is so annoying to watch in graph view

How Could It Be Done?

Add option to choose set type or give the option to choose template

Real World Use-Cases

as i said i t would make anytype much more handy to choose a different type of set/collections from their templates without having to do the same thing all over again

My personal workaround is to use in-line collections.

If you use a template of a note, page, etc that has an in-line collection, then you can set its relations and assign the template to a ‘parent’ collection.

Although this is a bit buggy.

would really like this! my current workaround (an idea which i’ve also gotten from this forum) is to make the set/collection template as just an object. these are “empty” but with all the relations, templates, and views preconfigured. so, if i want to make a new set with those same settings, i’ll just duplicate this template object and fill in the content needed.