You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the smart property recognition for the following codes,
for example: the boolean property should smart work with si.WithProperty(SettingUiConst.Type, bool) ;
private List<SettingInfo> SetSettingDefinitionProperties(IDictionary<string, IDictionary<string, string>> settingProperties)
{
var settingInfos = new List<SettingInfo>();
var settingDefinitions = _settingDefinitionManager.GetAll();
foreach (var settingDefinition in settingDefinitions)
{
var si = CreateSettingInfo(settingDefinition);
if (settingProperties.ContainsKey(si.Name))
{
// This Setting is defined in the property file,
// set its property values from the dictionary
var properties = settingProperties[si.Name];
foreach (var kv in properties)
{
// Do not assign the property if it has already been set by the user.
if (!si.Properties.ContainsKey(kv.Key))
{
si.WithProperty(kv.Key, kv.Value);
}
}
}
// Default group1: Others
if (!si.Properties.ContainsKey(SettingUiConst.Group1))
{
si.WithProperty(SettingUiConst.Group1, SettingUiConst.DefaultGroup);
}
// Default group2: Others
if (!si.Properties.ContainsKey(SettingUiConst.Group2))
{
si.WithProperty(SettingUiConst.Group2, SettingUiConst.DefaultGroup);
}
// Default type: text
if (!si.Properties.ContainsKey(SettingUiConst.Type))
{
si.WithProperty(SettingUiConst.Type, SettingUiConst.DefaultType);
}
settingInfos.Add(si);
}
return settingInfos;
}
The text was updated successfully, but these errors were encountered:
thanks for your reply.
yeah, sorry, i supposed the two questions.
the main question is that i found abp.settingui currently don's support the usersettingManagementProvider, will you plan to add the feature for usersettingManagement?
i mean the settingdefintion created by the usersetting doesn't have the editable pages now.
sincere thanks.
the main question is that i found abp.settingui currently don's support the usersettingManagementProvider, will you plan to add the feature for usersettingManagement?
Yes that's on the plan.
i mean the settingdefintion created by the usersetting doesn't have the editable pages now.
It should work fine, are you following the tutorial to create the SettingDefinition?
For boolean value, you should use checkbox as the type.
and can you support the below function:
the smart property recognition for the following codes,
for example: the boolean property should smart work with
si.WithProperty(SettingUiConst.Type, bool)
;The text was updated successfully, but these errors were encountered: