Activities of "Spospisil"

Hi,

Maybe you misunderstood. I want to programmatically add a seperator as I'm adding ApplicationMenuItem items to the menu within the menu itself. What you show is a divider between the menu navigation and the content. This is not what I am asking.

  • ABP Framework version: v7.3.0
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Is there any way to put separator lines between menu items in the left nivation menu?

Clearly it did make a difference as with your way it worked for me and the other way it didn't. Spent most of the day yesterday trying to figure out why it wasn't working for me as the previous ticket created indicated.

Hi,

Thank you that worked! However I'm a little confused as to why a similar ticket created by a user with a similar issue as myself did not resolve my issue. If you look at this ticket https://support.abp.io/QA/Questions/2808/how-to-user-service-injection-for-IMenuContributor you can see the suggestion is to use the context.ServiceProvider.GetRequiredService<> method do accomplish this, which is they way I was doing it (and working when my project was a MVC UI vs a Blazor Web Assembly).

What is the difference between the two ways of achieving this and in what circumstance would I use one method of resolving over the other?

Thanks.

Steve@cfdatasystems.com

Can you provide to me this sample project so I can verify you matched the exact scenario I described above? That is what I asked for and not just a screenshot of code

Thank you

  • ABP Framework version: v7.2.2
  • UI Type: Blazor WASM
  • Database System: EF Core/PostgreSQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): Tiered/Separate Auth Server

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.

You didn't answer my question. Yes, I've looked at this documentation several times, but it this link DOES NOT address doing this within a local docker container and being hosted by the ABP suite generated public site.

Could you please provide guidance as to the question I am asking vs just sending a link to documentation that has been read over several times.

Thanks.

  • ABP Framework version: v7.2.2
  • UI Type: Blazor WASM
  • Database System: EF Core/PostgreSQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

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,

  • Actually, I found this link to be more useful (https://docs.abp.io/en/abp/latest/Object-Extensions), however you did not answer my question in full, but rather focused on the first part of it "How can I refer to a specific property and its value in the .ExtraProperties collection and place it in my UI individually?". While I was able to figure out how to get the extraProperties collection items individually, you did not explain how I could then show them in the UI as such.

But regardless I figured it out by creating protected variables in the class and then populating them with the individual property values (as shown in the link I referred to) and then providing in the .razor page the reference to those protected variables.

Just a general comment which comes up a lot when support responds to tickets, you all need to do a better job at reading the tickets and responding to the individual questions being asked. It's almost as if you are just glancing at the information we write and are quickly sending out links to existing documentation without understanding and responding to the specific question(s) being asked.

Nevertheless, I was able to figure out how to do what I was trying to do after spending the better part of a day researching, but I was hoping that support could show me the way that you folks do it so I wouldn't have to waste too much time trying to figure it out myself.

Steve

Showing 51 to 60 of 261 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30