Can we modify the level across an entire collection?

I’ve just created a new collection from a subset of a previous one using these steps:

  1. Export
  2. Modify Folder name and modify -INFO.nnk
  3. Open collection
  4. Delete unwanted notes
  5. Select all but first note and control-click → Modify Seq…
  6. Set Seq to start at 1
  7. Done

Now I want the first note to automagically provide a table of contents. If the first note is at level one and all the other notes are at level two or higher that would happen.

Is there a way to make that happen within Notenik?
Could I have achieved it with a slightly different workflow?

From the List tab, you can now select a range of Notes, then do a control-click → Bulk Edit…

You can then select the level field, and set the new value to 2.

(I must confess, I can never provide an answer like this without hearing Bob Dylan singing in my ear, “Why yes I think it can be very easily done / We’ll just put some bleachers out in the sun…”)

1 Like

OK - that helped. :raised_hand_with_fingers_splayed:

There were four levels. Making four edits is preferable to changing each of the 51 notes individually.

I noticed that the Knowledge Base has the same situation. It has an unsequenced note as table of contents, then the rest of the collection is sequenced and has levels. How is seq/level change managed there? I suppose that the collection is sufficiently stable, so bulk renumbering is not required.

Well, as you noted, you can use the Modify Seq... command to move sections of an outline around and renumber then. I use that a lot. You can indent and outdent things. But yes, it helps if you’re starting with a coherent set of seq numbers and levels. I think what you’re sort of asking is how to get the levels to match up with the levels implied by the sequence numbers…? I don’t think that can be “very easily done” just yet.

1 Like

The tools for modifying the Seq field make it easy to move sections. That works really well.

The challenge, for anyone emulating the model of the Knowledge Base is that Notenik’s tools put the Seq and Level fields in synch. The Knowledge Base has one page at the very top, which contains the table of contents (ToC). It is at level one, and has an empty Seq field.

It is very easy to renumber all of the notes (except the ToC) at a sub level, i.e., starting at 1.1 renumber all other notes. That will put all other notes at level two and that automatically generate a table of contents in the ToC page. That achieves everything that I want, except that numbering begins at 1.1 instead of 1. Every note has the leading “1.” and it is extraneous. Having put it that way, my question may not be to modify levels across a collection, but how to modify the Seq field across the collection to remove a prefix value.

(None of this is getting in my way. It’s just curiosity to know the most reliable method for doing this)