mrackley / StratusForms

Lightweight InfoPath alternative for SharePoint 2007,2010,2013,2016,2019 and Office 365
82 stars 36 forks source link

Archiving #73

Open mrhyde1st opened 4 years ago

mrhyde1st commented 4 years ago

Is there a way to have the form still read information if I've moved the list item to an archive folder within the same list?

mrhyde1st commented 4 years ago

Ok found the fix, within stratus-forms-data-SPServices added after the fieldsToRead;

var queryOptions = '<QueryOptions>' +
           '<ViewAttributes Scope="Recursive" />' +
           '</QueryOptions>';

After CAMLQuery: query, add:

CAMLQueryOptions: queryOptions,