Page 1 of 1

Use a "database" without using the database module

Posted: Mon Feb 18, 2019 7:44 pm
by LasseThid
Is it possible to somehow create a "database" containing the names of the printers, which stocks are available for each printer and which profile to use for each stock on that printer in a document like a text file, xml file or whatever and then have Switch read that document and return the profile name?
Preferably it should be quite easy to add stocks and profile names for each printer... 8-)
Currently I have five different flows, one for each printer, that assign the profile name to use for each stock to a Private Data key that I use in GMG, but it would be really nice if you could somehow say find printer A and stock B and then return the profile name... 8-)
Suggestions?

Re: Use a "database" without using the database module

Posted: Tue Feb 19, 2019 9:52 am
by freddyp
Have I not already pointed you to the Appstore last week :D

There are two apps that allow you to do a search on a CSV file, which is perfect for a small "database" that is not very dynamic, like the use case that you are describing.

Re: Use a "database" without using the database module

Posted: Wed Feb 20, 2019 12:57 pm
by LasseThid
LOL freddyp!!!

One of these days I may actually remember to check the Appstore before posting.... :lol: :lol: :lol: