Hi,
you could create a
custom form control which would work the same way as Document selector form control to make it easy.
The code of document selector you can find here:
~/CMSModules/Content/FormControls/Documents/SelectDocument.ascx
By default this control stores only NodeGUID. You could change value proprety and store something like:
NodeGUID='..GUID..'
This way your editor could use simple selector and do not need to write parts of sql queries.
The last step would be to clone a repeater web part and in its properties change used form control in WhereCondition property. By default there is a Text box. You would replace it with your new custom control. It would be similar like in the step 12 of
custom web part development.
Best regards,
Ivana Tomanickova
Best regards,
Ivana Tomanickova