Activities of "manuel42"

thank you

  • ABP Framework version: v6.0.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hello, in the documentation is the following written about this module :

The same for the public CMS KIT. Is there a official plan when the CMS KIT is available for Angular ? When not do you have any suggestions for a CMS Kit to integrate it into the ABP Application template ?

thank you in advanced

hi maliming,

I tried your example and all the examples of bootstrap docs but nothing works. It seems that the format is impossible to change.

https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#date_strings

I will close the question because the issue is not related to ABP.

1 Download a Module template (For this I have used the latest version (6.0.0)) 2 Add the following in the index.cshtml.cs

    [BindProperty]
    public DateTime StartDate { get; set; }
    
    public void OnGet()
    {
        StartDate = DateTime.Now;
    }

3 Add the following to the index.cshtml <abp-input asp-for="@Model.StartDate" type="date"/>

4 Add this to XXXWebUnifedModule.cs

  Configure<AbpLocalizationOptions>(options =>
  {
    // Add the following line to existing AbpLocalizationOptions      
    options.Languages.Add(new LanguageInfo("de-DE", "de-DE", "Deutsch", "de"));
  });

6 Change the language from english to german and then change the date

Then then format does change back to the english format

Use the following code snippet instead of x.GetClassroomId()

EF.Property<Guid>(x, "ClassroomId")

More information about this topic you can get here https://www.learnentityframeworkcore.com/model/shadow-properties

thank you this helps

Same for me. We have tried to create a Angular application template v5.3.4 today for a new project and we got this error message: We have tried it with both (abp suite and the abp cli).

[13:34:47 INF] Using cached template: app-pro, version: 6.0.0 [13:34:48 ERR] Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Volo.Abp.Cli.ProjectBuilding.Templates.RemoveUnnecessaryPortsStep.RemoveUnnecessaryDbMigratorClients(ProjectBuildContext context) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Templates\RemoveUnnecessaryPortsStep.cs:line 56 at Volo.Abp.Cli.ProjectBuilding.Templates.RemoveUnnecessaryPortsStep.Execute(ProjectBuildContext context) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Templates\RemoveUnnecessaryPortsStep.cs:line 15 at Volo.Abp.Cli.ProjectBuilding.Building.ProjectBuildPipeline.Execute() in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Building\ProjectBuildPipeline.cs:line 19 at Volo.Abp.Cli.ProjectBuilding.TemplateProjectBuilder.BuildAsync(ProjectBuildArgs args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\TemplateProjectBuilder.cs:line 120 at Volo.Abp.Cli.Commands.NewCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\NewCommand.cs:line 74 at Volo.Abp.Cli.CliService.RunInternalAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 161 at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 69

  • ABP Framework version: v5.3.4
  • UI type: MVC
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:" download Module template and set two connection string one for sql server and one for mongo db

Hello how can I switch between sql server and mongo db in the module template? Currently when I start the module template only the sql server Database is used for the application. When I change the default connectionstring to the mongoDb connection string I got an error.

I guess I need to change something in the ModuleName.Web.Unified

 public UnifiedDbContext CreateDbContext(string[] args)
    {
        var configuration = BuildConfiguration();

        var builder = new DbContextOptionsBuilder<UnifiedDbContext>()
            .UseSqlServer(configuration.GetConnectionString("Default"));

        return new UnifiedDbContext(builder.Options);
    }

and here


        Configure<AbpDbContextOptions>(options =>
        {
          options.UseSqlServer();
        });

My Appsetting

 {
  "ConnectionStrings": {
    "Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=DemoModule_Unified;Trusted_Connection=True",
    "Mongo": "mongodb://localhost:27017/DemoModule_Unified"
  }
}

Yes it should but the datepicker does not change the format when I change the language. Some possibility to set a specific dateformat for the datepicker?

Hi, no. Only the OS date format are always applied.

顯示 66 個紀錄的 41 到 50 個.
Made with ❤️ on ABP v8.2.0-preview Updated on 3月 25, 2024, 15:11