Is there a way I can create a custom layout for just one page that does not have the left menu navigation component within it for the LeptonX theme? I have a 'print preview' page for my application that I don't wish to show the navigational menu but want the LeptonX there still applied to the page.
Thanks.
What is the purpose of the .WebAssembly project in each ABP's module (both standard and commercial) solution structure? I see that the blazor WASM project has a reference to the associated .WebAssemly project but it's not clear what it's purpose is.
Hi,
I am trying to remove the General Settings component from the LeptonX theme as we don't want the user to be able to change any of these options and just have the theme default/show a custom theme that I've applied in the Module's configuration.
if I attempt to do this as descripted in https://docs.abp.io/en/commercial/latest/themes/lepton-x/blazor?UI=BlazorServer it appears to remove my custom these which I've set as the default theme via the code below.
Is there a way to just hide the component vs trying to override it or is there another way I can accomplish what I'm trying to do without the default theme from removed?
Configure<LeptonXThemeOptions>(options =>
{
options.Styles.Add("salesdemo",
new LeptonXThemeStyle(
LocalizableString.Create<StructureCloudResource>("Theme:SalesDemo"),
"bi bi-circle-fill"));
options.DefaultStyle = "salesdemo";
});
Hi,
I want the Blazor WASM to be able to automatically popup a model window when some event happens in the system. For example if a separate application calls my applications API (ABP generated), and publishes and 'event' using the distributedeventbus, can I have the Blazor WASM UI 'listen/handle' that event and make something visually happen, such as popping up a window with entry fields on it so the user can respond with additional data points?
Thanks.
Hi,
Do you have example of how to configure the ABP public website generated from abp suite so that it can host multiple Blazor WebAssembly applications that correctly with the LeptonX theme and all the necessary files to render the theme correctly? We use something like the following code block to setup the ability to host one or more Blazor WebAssembly applications in the xxxxxxWebPublicModule.cs class
Thanks.
app.MapWhen(ctx => ctx.Request.Path.StartsWithSegments("/Blazor"), app1 =>
{
//app1.Use((ctx, nxt) =>
//{
// ctx.Request.Path = "/Blazor" + ctx.Request.Path;
// return nxt();
//});
app1.UseBlazorFrameworkFiles("/Blazor");
app1.UseStaticFiles("/Blazor");
app1.UseStaticFiles();
app1.UseRouting();
app1.UseAuthentication();
if (MultiTenancyConsts.IsEnabled)
{
app1.UseMultiTenancy();
}
app1.UseAuthorization();
app1.UseDevExpressControls();
app1.UseWebAssemblyDebugging();
app1.UseEndpoints(endpoints =>
{
endpoints.MapFallbackToFile("/Blazor/{*path:nonfile}", "/Blazor/index.html");
});
});
Thanks.
How can I override the LeptonX styles for the UI elements within the theme? I'm not just referring to the the top/side menu, but the content area itself of the theme. The documentation links on ABP's site are very confusing in terms of step by step how to do this.
Is there any way to put separator lines between menu items in the left nivation menu?
Hi,
Can you please provide me with a working sample of calling an application service from within a IMenuContributor implemented class from within a Blazor WebAssembly project? All attempts to do so does not work for me. Please do not ask me for a sample project that reproduces the issue I am having OR refer me to a link of your existing documentation. I want a working sample of a simple abp generated solution for a Blazor WASM project that successfully calls a application service from within the ConfigureMenuAsync method of a class implementing the IMenuContributor interface.
Thanks.
Hi,
I am trying to reference and load an XML file into an XMLDocument type (.net) from my Blazor MenuContributor class so it can be used to dynamically build a portion of the left navigation menu. I am running in a local docker environment and have the Public site sup up as the Blazor Host. How do I load an XML file using the VirtualFileSystem or is there a better way where I can just reference the physical file directly?
Thanks.
Hi,
I have extended the SaasTenantCreateDto and added a property called CustomerNumber (string) to it. I have overridden the TenantManagment.Razor page to customize the 'Create Model' UI. However instead of using the <ExtensionProperties TEntityType="SaasTenantCreateDto" TResourceType="SaasResource" Entity="@NewEntity" LH="@LH" /> tag to display all the added properties and fields on the UI, I want to add just specific ones via the 'Field' tag. How can I refer to a specific property and it's value in the .ExtraProperties collection and place it in my UI individually?
Thanks.