Activities of "WilliamT"

i just found out i can call the following in PostContribute context.ServiceProvider.GetRequiredService and just call the function i want. would that be an ok approach ?

  • ABP Framework version: v6.0.2
  • UI Type: MVC
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I want to create a record on a table when there is a POST method from multiple selected entity. Currently I use AuditLogContributor > PostContribute to find the entity that i want, but how do I connect it to an appService or repository to create the new record ?

thanks,

seems like adding the code only to Index.cshtml.cs under Pages folder seem to be applied for all subfolder as well.

Do I need to apply that to all pages?

yep, got it working now.

and how do I make the app redirect to login if the user isn't logged in?

  • ABP Framework version: v8.2.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi I want to add extra verification code input field on my login. I tried to modify the page and model using this https://github.com/abpframework/abp/blob/dev/source-code/Volo.Abp.Account.SourceCode/Volo.Abp.Account.SourceCode.zip

however i got error "ThereAreNoLoginSchemesConfiguredForThisClient"

how do i actually use this source code?

i am using the TopMenu Layout but still the same.

as for sharing a simple project hopefully i can send it later in the evening.

not sure if this helps for now, but it looks like the abp script itself doesnt include or handle abp-date-picker as well.

ok, now i have it under /libs/bootstra-datepicker

but adding <abp-date-picker> still does nothing.

    "version": "1.0.0",
    "name": "my-app",
    "private": true,
    "dependencies": {
        "@abp/bootstrap-datepicker": "^8.1.1",
        "@eonasdan/tempus-dominus": "^6.9.4",
        "@jspreadsheet/formula-pro": "^1.3.6",
        "@jspreadsheet/importer": "^1.0.3",
        "@jspreadsheet/parser": "^2.3.1",
        "@jspreadsheet/render": "^1.7.2",
        "@popperjs/core": "^2.11.6",
        "@types/node": "^18.11.9",
        "@volo/abp.aspnetcore.mvc.ui.theme.lepton": "~6.0.1",
        "@volo/account": "~6.0.1",
        "@volo/audit-logging": "~6.0.1",
        "@volo/file-management": "~6.0.1",
        "@volo/identity": "~6.0.1",
        "@volo/saas": "~6.0.1",
        "bootstrap-treeview": "^1.2.0",
        "bootstrap4-toggle": "^3.6.1",
        "html2canvas": "1.4.1",
        "jspreadsheet": "^8.0.25",
        "jstree": "^3.3.7",
        "jsuites": "^4.9.27",
        "jszip": "3.6.0",
        "lemonadejs": "^2.1.1",
        "mustache": "^4.2.0",
        "papaparse": "5.4.1",
        "xlsx": "https://cdn.sheetjs.com/xlsx-0.19.2/xlsx-0.19.2.tgz"
    }
}```

Hi,

is that for version 6 as well ? I cannot find bootstrap-datepicker under my /libs/abp folder

or can you guide me on how to install it under abp?

Showing 1 to 10 of 55 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35