Using Notes to store list values

I’m experimenting with using Notes app to store values for variables used by Shortcuts.

I was previously using text files stored on iCloud for the same purpose but the method tended to break down when offline.

I guess the value lists could be stored within Shortcuts as dictionaries, but keeping them external has the advantage that the lists can be edted more easily and can be used elsewhere. The same method could use lists stored in Drafts, and probably some other apps too.

In practise I’m also adding a list item for “Other” and then an if to call an Ask for input.

What were the scenarios around this? Even back in the Workflow days, the developers recommended storing persistent data in iCloud files precisely because it does get cached and would then be available offline on the local device.

I also have my suspicions that before too long a certain developer who appears on this forum may release an app to make storing persistent data for Shortcuts even easier.

Future option?

11-Window

3 Likes

I don’t remember precisely, but it was something around editing text files on the Mac and then finding myself on the Tube and unable to access the file via Workflow. I also had issues with Workflow on the watch and external files, but that’s not a problem now that there’s no Shortcuts app on the watch (sadly).

Meanwhile, I look forward to learning more from the Mystery Developer.

I’m sure that should be “Mr E Developer”. :slight_smile:

Seriously, it would be really nice if iOS had an automation-friendly database (something like SQLite, though I’m no expert on database systems other than Db2 on z/OS).