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 ?
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?
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?
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?