Question regarding the path selector form control when used in a widget. I've noticed that there is no way to use the site selector when selecting the path. Is this possible to enable via a setting somewhere in the CMS that I am missing? It's possible as a webpart.
Anyway I looked through the code for the form control and found this code (starts at line 44)
if (ControlsHelper.CheckControlContext(this, ControlContext.WIDGET_PROPERTIES) && (!siteNameIsAll))
{
// If used in a widget, site selection is provided by a site selector form control (using HasDependingField/DependsOnAnotherField principle)
// therefore the site selector drop-down list in the SelectPath dialog contains only a single site - preselected by the site selector form control
mConfig.ContentSites = (String.IsNullOrEmpty(selectedSiteName)) ? AvailableSitesEnum.OnlyCurrentSite : AvailableSitesEnum.OnlySingleSite;
}
Anyway in mean time I just made a clone of the control and took that code out but was wondering if there was a setting somewhere I could override this functionality.
It would be great if this could be enabled in the UI settings.