Activities of "nlachmuthDev"

It seems that the anti forergy validation failed due to the missing RequestVerificationToken header. Could you send a screenshot of the request headers the browser is sending to the api?

Also check if there is a cookie set named "XSRF-TOKEN".

Hi,

can you provide the logs of the host?

Kind regards Nico

Could you share your package.json file of the host project?

Kind regards
Nico

The following is my package.json file:

{ "version": "1.0.0", "name": "my-app", "private": true, "dependencies": { "@volo/abp.aspnetcore.mvc.ui.theme.leptonx": "~1.0.2", "@volo/saas": "^6.0.2", "@volo/audit-logging": "^6.0.2", "@volo/identity": "^6.0.2", "@volo/account": "^6.0.2", "@volo/language-management": "^6.0.2" } }

Please add @abp/chart.js, @abp/vue.js and @abp/vee-validate.js to your package.json. These are required for the forms module to work.

Your package.json should look like this afterwards:

{
    "version": "1.0.0",
    "name": "my-app",
    "private": true,
    "dependencies": {
        "@volo/abp.aspnetcore.mvc.ui.theme.leptonx": "~1.0.2",
        "@volo/saas": "^6.0.2",
        "@volo/audit-logging": "^6.0.2",
        "@volo/identity": "^6.0.2",
        "@volo/account": "^6.0.2",
        "@volo/language-management": "^6.0.2",
        "@abp/chart.js": "^6.0.2",
        "@abp/vue": "^6.0.2,
        "@abp/vee-validate": "^6.0.2"
    }
}

After that run abp install-libs again.

Let me know if that worked.

Could you share your package.json file of the host project?

Kind regards Nico

Hey there,

did you add vue.js manually to the script bundle?

Kind regards Nico

Hi,

try to change this:

options.StyleBundles.Configure(
"MyGlobalBundle",
bundle =>
{
bundle.AddFiles("/global.js");
bundle.AddFiles("/js/Scroll.js");
bundle.AddFiles("/js/exporttoexcel.js");
bundle.AddFiles("/js/Notify.js");
bundle.AddFiles("/js/spinner.js");
}
);

To this:

options.ScriptBundle.Configure(
"MyGlobalBundle",
bundle =>
{
bundle.AddFiles("/global.js");
bundle.AddFiles("/js/Scroll.js");
bundle.AddFiles("/js/exporttoexcel.js");
bundle.AddFiles("/js/Notify.js");
bundle.AddFiles("/js/spinner.js");
}
);

The rest seems ok. If you still face the issue that its not working for some components contact support@abp.io for onsite support. There must be another problem why your added css and js is not available for these components.

Hi,

sorry to hear that this still does not work. Please e-mail support@abp.io for further assistance for this problem.

Kind regards Nico

Ok i will close this issue for now then. Feel free to reopen it its not working when updating.

Unfortunatly you have to manualy modify the angular components since they allow only selecting one value for the enum.

Hi there,

If you want to store multiple enum values inside one property i would recommend using the [Flags] attribute for your custom enum. With enum flags you can store multiple values inside a normal enum property. You can also check if multiple values are store inside that property, so you would not need an array of enum property.

Here is a deep dive into enum flags in c#: https://code-maze.com/csharp-flags-attribute-for-enum/

Please let me know if that helps.

Showing 31 to 40 of 57 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35