Allow Access to ListItem Properties via JSON-RPC
(2020-06-16, 03:42)Lunatixz Wrote:
(2020-06-16, 03:15)drinfernoo Wrote:
(2020-06-16, 01:49)Lunatixz Wrote: Guess its one of those things will have to see when/how its implemented; however, InfoLabels are loaded into memory; nothing on the fly about it them. They are not listitems rather a dynamic representation of a single listitem key. From my recollection, there is NO connection between them and JSONRPC getDirectory.

You're saying that even though the code run in my directory, as a result of making a JSON-RPC call to Files.GetDirectory then basically ignores what metadata and properties I've attached to my ListItems, and then has to go off searching for the actual values in another, somehow persisted, location? Rather than using the ones that have just been set, by me?

You're confusing infoLabels,Listitems,JSONRPC different things. some infoLabels build from listitems and "Files.GetDirectory" does NOT return a listitem directly.

For your example; "Files.GetDirectory" would run your plugin:// path and build a listitem as per your code.

Yes, that's exactly how I understand it as well. It runs my code, builds a ListItem, and then returns me an incomplete (not including properties) JSON representation of that item. My complaint is that when running code from a particular directory, where these values are set and available (the last time this is the case, before the directory is displayed... because after that, they are unavailable via any method besides a parsed $INFO tag in the skin), there is no reason I can imagine why they can't be returned like any of the other values.

Messages In This Thread
RE: Allow Access to ListItem Properties via JSON-RPC - by drinfernoo - 2020-06-16, 03:50

Logout Mark Read Team Forum Stats Members Help
Allow Access to ListItem Properties via JSON-RPC0
This forum uses Lukasz Tkacz MyBB addons.