Get Query object from file path?

ObjectModel.FileQuery is non public and its base class, Query, only appear to be possible to create through the Util.GetMyQueries()/GetSamples() methods. Is there a way to get a Query instance from an absolute path? This is for files not under the My Queries root folder (usually executed through LPRun).

Comments

  • Unfortunately not. I will expose the internal static Query.Load method in a future build. In the meantime, it would work to call this via reflection.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!