Hi, for a quick workaround, please remove the .ToString("d")
statement from the faulty lines and add (int)
before the context.
statement. For example:
{(int)context.Message.SenderUserType}
I'll check and fix this problem for ABP Suite. Thanks for reporting.
Hi, we don't support it yet. We have an issue for that in backlog. Regards.
For the backend side, please remove the *.WeChat.Web
and *.AliPay.Web
projects from both Volo.Payment.sln and your project's solution reference. )
I'll check for the frontend side.
ABP Framework version: latest
Can you say which version do you use exactly, the latest stable (v8.0.5) or the latest preview (v8.1.0-rc.3)?
It seems you did not define the settings before setting them. You should create a class derived from the SettingDefinitionProvider
class in order to define its settings:
public class MySettingProvider : SettingDefinitionProvider
{
public override void Define(ISettingDefinitionContext context)
{
context.Add(
new SettingDefinition("BranchSettings.IsServer", "false"),
new SettingDefinition("BranchSettings.ServerUrl"),
new SettingDefinition("BranchSettings.BranchId")
);
}
}
Please follow the documentation for more info: https://docs.abp.io/en/abp/8.1/Settings#defining-settings
Hi, if you want to create a custom component and add it to the settings page, you can follow https://docs.abp.io/en/abp/latest/Modules/Setting-Management#create-a-setting-view-component this documentation.
You need to define a view component and then, add it in your
*SettingPageContributor
class as described in the documentation.Hi, How can I save and get those values? using ISettingManager ?
You can use the
ISettingProvider
to get the value of a setting. It's recommended to use it to read the setting values because it implements caching.You can use the
ISettingManager
to set a setting.Hi, From where I write this code , I mean save and get because I just created as you mentioned in the previous email and done some html components as in the attachment.Can you please describe me the steps involved? because we are using abp Single layer project.
You need to write your code in the related view component class. I had written an article to add a setting group, which you can found at https://community.abp.io/posts/how-to-hide-abp-related-endpoints-on-swagger-ui-mb2w01fe
You can check it for all related steps. Regards.
Hi, if you want to create a custom component and add it to the settings page, you can follow https://docs.abp.io/en/abp/latest/Modules/Setting-Management#create-a-setting-view-component this documentation.
You need to define a view component and then, add it in your
*SettingPageContributor
class as described in the documentation.Hi, How can I save and get those values? using ISettingManager ?
You can use the ISettingProvider
to get the value of a setting. It's recommended to use it to read the setting values because it implements caching.
You can use the ISettingManager
to set a setting.
Hi, currently we are not supporting Timespan as a property type. I'll create an issue for that.
Regards.
I´m not quite sure if this should be called a bug or not BUT if you don´t know the awailable blogs you will have to go back and type them in to get it in the dropdown.
I would have some wait period (2 sek) after you put the cursor to the input and it will automatically show the blogs availabel.
At least offer an error text telling the user what is the issue..
Hi, currently we use an autocomplete component on this page for the blog input:
Can you check if is there a console error? It seems like it's a text input in your case.
Hi, if you want to create a custom component and add it to the settings page, you can follow https://docs.abp.io/en/abp/latest/Modules/Setting-Management#create-a-setting-view-component this documentation.
You need to define a view component and then, add it in your *SettingPageContributor
class as described in the documentation.