I am trying to improve my database quality; I use a lot of user attributes to store extra info in listings and inventory items.
I’ve just started to write a small JS script that sets the “inventory location” userProperty
in the selected listings to a given value. It feels like it would be nicer if I could present a dialog box and ask for a selection, either in a text box (like prompt()
from standard web JS) or a dropdown.
Is there any way of making that sort of thing happen? I understand there is only a very limited subset of JS surfaced in the app, but I was wondering.
If not, I suppose I can maybe create a kludge using multiple versions of the same script, invoked some other way. But that is a little bit smelly.