hi,
This information is not available on the currentUser object at the moment. I have discussed it with the team and it'll be added to the currentUser which comes from http://domain.com/api/abp/application-configuration I've created an internal issue for this (for v3.2)
Until this is implemented, you can use this URL to get the user's name surname: http://domain.com/api/identity/my-profile
@pkouame, you need to update Microsoft.Extensions.FileProviders.Embedded
package to 3.1.6 manually.
and for yarn gulp problem; it checks the installed NPM packages and searches for gulp@
. See
https://github.com/abpframework/abp/blob/95d2eb200d704768f67764dd3c1b02258e9e6f6f/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectModification/NpmGlobalPackagesChecker.cs#L27
I guess it's related a fix that's done in v3.1.0 (because we fixed some Suite issues in 3.1.0) Today we have released a new RC version (preview) of 3.1.0 - RC4 (the production of 3.1.0 will be released this weekend) Try to create a new project with 3.1.0-RC4 and we'll see if it's related with MAC or the framework.
hi myke@mycra.co I just made a sample project for this topic. See https://community.abp.io/articles/how-to-add-the-user-entity-as-a-navigation-property-furp75ex
Note this example is implemented with ABP Commercial 3.1.0-rc.3. This is a RC version. If you want to install the CLI and Suite RC version follow the next steps:
1- Uninstall the current version of the CLI and install the specific RC version:
dotnet tool uninstall --global Volo.Abp.Cli && dotnet tool install --global Volo.Abp.Cli --version 3.1.0-rc.3
2- Uninstall the current version of the Suite and install the specific RC version:
dotnet tool uninstall --global Volo.Abp.Suite && dotnet tool install -g Volo.Abp.Suite --version 3.1.0-rc.3 --add-source https://nuget.abp.io/<YOUR-API-KEY>/v3/index.json
Don't forget to replace the <YOUR-API-KEY>
with your own key!
by relavant directory, I mean the current user's home directory.
For Windows it's => %UserProfile%\.abp\cli\
For Linux it must be $HOME
=> /home/user/.abp/cli/
See Windows and Linux variable equivalents from https://blog.softhints.com/windows-and-linux-variable-equivalents/ and https://blog.softhints.com/windows-cmd-vs-linux-shell-commands/
@anthonyh, to fix the problem saying "DataTables warning: Non-table node initialisation (ABP-TABLE)." :
in your module solution, move _ViewImports.cshtml
file from src\Acme.MyProModule.Web\Pages\MyProModule
to src\Acme.MyProModule.Web\Pages
@KittyJuggins , remove AppUser from Note and keep the AppUserId only. When you fetch Note from database, fetch the user in a seperate query . Then map the both to your DTO. This is the best practise
credit for this question has been refunded.
Don't use navigation properties to other aggregate roots. See https://github.com/abpframework/abp/issues/1517
Hi Rodrigo ,
Thanks for your feedback. I created an internal issue. (also credit for this question has been refunded)