Can't get PTZ preset items in background service plugin

These commands do not work from inside the event server service.

(but they do work inside the PTZandPresets example)

Configuration.Instance.GetItemsByKind(Kind.Preset);

Configuration.Instance.GetItem(presetID, Kind.Preset);

Please tell me you have a workaround, I need the Item in order to get the FQID to trigger the preset.

I will try to browse use the items in Configuration.Instance.GetItems(ItemHierarchy.UserDefined)

to see if they are available. This is bad because I need to go through the whole config everytime I need a ptz position…

It works for me. Try the ConfigDump sample and see if not PTZ Presets are written out in the Event Server MIP log.

What is your version?