i think Bryan-EDV was renamed to app-access@lexarius.com aka lexarius
[maliming] said: hi
Can you share the output of the
abp login-infocommand?Thanks.
$ abp login-info
[09:59:39 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
š ABP CLI 0.9.26
š A newer version of the ABP CLI is available: 2.0.2
š¼ dotnet tool update -g Volo.Abp.Studio.Cli
[09:59:41 INF]
Login info:
Name: Lexarius Limited
Surname:
Username: lexarius
Email Address: app-access@lexarius.com
Organization:
Hello ABP Support Team,
Iām encountering an issue when trying to install the Volo.Payment module via the ABP CLI.
Below is the command and output:
[12:32:03 INF] Press Enter to open your browser to login...
[12:32:52 INF] Successfully logged in as 'lexarius'
$ abp add-module Volo.Payment
[12:32:58 INF] You are running the second generation of the ABP CLI.
If you're interested in the legacy CLI, see https://abp.io/new-cli
System.Exception: Remote server returns '403-Forbidden'.
Message: PRO modules require a commercial license! Should be member of an organization with an active license.
Based on the error, it appears that Volo.Payment is a PRO module, and my account may not currently be associated with an organization that has an active commercial license. Could you help verify whether my account is correctly linked to the organization, or if there is anything else I need to configure?
I logged in with app-access@lexarius.com account
In addition, Iām planning to implement the following workflow:
A customer browses available courses/modules.
They add selected items to a shopping cart.
They proceed to checkout and make payment.
Upon successful payment:
UserCourse or Enrollment).Could you advise on the best practices to implement this in ABP?
Hi ABP,
I am currently using the AwsBlobProvider to upload objects into S3.
However, I want to switch this to CloudFront + S3 for lower latency and better security (S3 will be a private bucket)
Is there a way we can still leverage the BlobProvider but use Cloudfront URL instead of S3?
Thanks
[sumeyye.kurtulus] said: Hi! Here's an approach you can follow:
const userNameField = new FormProp<IdentityUserDto>({ type: ePropType.String, name: 'userName', displayName: 'New Username', id: 'userName', autocomplete: 'new-username', validators: _ => [Validators.required, Validators.minLength(4)], }); export function userCreateFormContributor(formProps: FormPropList<IdentityUserDto>) { const userNameIndex = formProps.indexOf('userName', (action, name) => action.name === name); formProps.dropByIndex(userNameIndex); formProps.addByIndex(userNameField, userNameIndex); } export const identityCreateFormContributors: IdentityCreateFormPropContributors = { [eIdentityComponents.Users]: [userCreateFormContributor], }; export const identityEditFormContributors: IdentityEditFormPropContributors = { [eIdentityComponents.Users]: [userCreateFormContributor], };Then, configure your route like this:
// app-routing.module ... { path: 'identity', loadChildren: () => import('@volo/abp.ng.identity').then(m => m.IdentityModule.forLazy({ createFormPropContributors: identityCreateFormContributors, editFormPropContributors: identityCreateFormContributors, }), ), }, ...Let me know if you need any further help!
ah, thank you works now. i had a similar code by the id was in PascalCase , therefore it wasn't working.
is it ok if i get my ticket allocation refunded for this please?
[AI-Bot] said: const usernameProp = propList.get('userName'); if (usernameProp) { // Update validators as needed usernameProp.validators = () => [ Validators.required, Validators.minLength(6), // Example: minimum length Validators.pattern(/^[a-zA-Z0-9_]+$/) // Example: alphanumeric and underscores only ];
Hi,
i understand that there are ways to delete and add fields on form via form extensions.
How about edit? I want to edit the validation of the username.
I've tried deleting the existing username prop and added a new custom usernameprop but am now having issues when i edit the form.
https://abp.io/docs/latest/framework/ui/angular/dynamic-form-extensions
Just an FYI, I think this ticket might be related to this other ticket which i saw: https://abp.io/support/questions/8916/Text-templates-Language-texts-for-all-tenants
It might be worth linking that ticket here as this seems to solve the issue requested by the author (at least the part about language texts)
Hi berkansasmaz
Thank you, i've made both changes described
and it works now. Really appreciate the support!