Starts in:
2 DAYS
15 HRS
55 MIN
32 SEC
Starts in:
2 D
15 H
55 M
32 S

Activities of "rwright-ruhealth"

Hi, can you try to install the related module with source code via ABP Studio (https://abp.io/docs/latest/studio/solution-explorer#replace-with-source-code)?

If you look at the first part of my problem, that is exactly what I did. And that is what causes the problem. Thanks for looking into this.

Cms Kit also doesn't work well since it's missing a library

I found that there are some missing libraries installed too (Created the project from ABP STUDIO)

In Application project, It's missing Volo.CmsKit.Pro.Common.Application
In Application.Contracts, it's missing Volo.CmsKit.Pro.Common.Application.Contracts
In HtpApi.Client, it's missing Volo.CmsKit.Pro.Admin.HttpApi.Client
In Web, It's missing Volo.CsmKit.Pro.Web

CodeMirror changed a lot from version 5 to version 6, ABP tries to use CodeMirror 6 but is not updated with the actual new project structure

In a MVC project created from ABP Studio

I small workaround is to add the libraries and run the following npm
npm i codemirror@5.65.18

Do we want to use CodeMirror6? is there a plan to make it work or was just a mistake to push codemirror6 in the npm?

After updating my project to 8.3.1 and 0.9.1 for ABP Studio, codemirror Error is popping up. My fix was to add the code mirror v5 files from codemirror's website to my main web app wwwroot/lib/codemirror folder. Then everything started working again. I must admit I am getting extremely frustrated going from a working project to one that completely fails everytime I update or add source code. It is costing many,many hours of development downtime trying to figure out what just broke? I like ABP and Studio, I would really like the product if I wasn't constantly beta testing everything.

Hi,

There are two ways to put it.

1 Use BundleContributor https://abp.io/docs/latest/framework/ui/mvc-razor-pages/bundling-minification#contributor-dependencies

[DependsOn(typeof(JQueryScriptContributor))] //Define the dependency 
public class MyExtensionScriptBundleContributor : BundleContributor 
{ 
    //... 
} 
  1. Use layout hook https://abp.io/docs/latest/framework/ui/mvc-razor-pages/layout-hooks

Thanks for your quick reply. Will attempt to impliment and check results. I forgot all about the layout-hooks. As I was asking the question, I could not for the life of me remember the term, although I had used the layout-hooks in a previous project.

I tried to reproduce it but unfortunately couldn't. Please share the content of .json files under the .suite folder.

I can also share a fully built-out project. Meanwhile, JSON text is too long to put into a post. I am attaching the .suite files in a github repo Link to .SUITE JSON files in repo with a readme.html file in each folder. There is no code in the repo, just the .suite JSON files.

There is a readme.html file in each folder. I just created this example and the problem still exists. In the provided example: I can add a Company, and add employees to the company after Navigations are created. The problem: There are two related child forms for Company. 1. Sites. 2. Vehicles. When I click Sites after establishing the Company many-to-many navigation and building it, etc. I can add Sites. I can add Employees to the Company via the Employees tab on the Company form. When I click the Sites link, all site records show up. When I click the Company Vehicles link, no vehicles show up. The Add New Vehicle button does not launch the Create Company vehicle form.

When there is no Employees Navigation property, everything works as expected.

The newly generated index.js in the Company page produces: function initDataGrids(data) { initSiteGrid(data) $("#CompanyVehicles-tab-" + data.id).one("click", function (e) { initCompanyVehicleGrid(data); }); }

The data.id property is null. Normally, the data.id property gets populated when the many-to-many employees isn't used.

To fix the issue, I had to change data.id to data.company.id which solves the problem.

The next line calls initCompanyVehicleGrid(data)

Here is a piece of the ABP generated function call. Notice it is using data.company.id? : function initCompanyVehicleGrid(data) { if(!abp.auth.isGranted("MstrWithTwoCh.CompanyVehicles")) { return; } var companyId = data.company.id; var companyVehicleService = window.mstrWithTwoCh.controllers.companyVehicleNs.companyVehicle; ... } However, when code gets regenerated via suite, the fix gets clobbered because it is not in a customization comment region.

Link to .SUITE JSON files in repo

Thanks for your reply. How do I put the scripts in the head tag using ABP methods with BundleContributor (After jQuery)? YES: I do have a license for Telerik Ultimate. I am using licensed versions with my license file correctly detected. SO: Telerik controls are working. I would like to defer scripts so that each generated control is not surrounded by Telerik generated script tags.

I researched this issue in the past. It seems there is a way to specify where scripts are placed and in which specific order. For example, the myriad of scripts used by ABP are not placed by accident.

Hi, thanks for the detailed explanation. I'll try to reproduce the problem and let you know.

Hi, any luck with a quick solution or even a work-around that will stick when project is rebuilt in ABP Suite/ABP Studio using customizations?

Hi,

you can use CSS to change the style without any problem.

Sorry, I don't know what exact question is

Thank you for looking into this issue.

Hello,

Please try to add below css

.col{ 
    flex:none; 
    width:fit-content; 
} 

it will result like

This is what you'd like to achieve. Please let me know if it helps you. I hope I have answered your question.

Thanks,

Thanks for your reply. I guess custom CSS is the only option. I was hoping there was an "ABP" way as there was a way to change layouts in appsettings.json in prior versions of ABP. Are these settings all omitted from the newest builds? There used to be multiple layouts in previous pro/commercial versions and the free version.

Attempt to modify the alignment of the New Record button which should launch the Create Modal form.

how do you modify it?

HI: Your reply: "How do you modify it?" Is actually my question.

I am using CSS to change the alignment. I hope there is a better way consistent with ABP to change the button alignment or be able to choose the button alignment. I have ABP PRO so I can modify sources as needed. I would like to keep things consistent.

hi

I have made it work

Please invite me to your GitHub repository.

GranTrakv4a.git

http://localhost/authserver/ http://localhost/api/ https://localhost/web https://localhost/web-public

This is really good news so far. I had to make many changes and I would like to see what can be done differently. I invited you as a collaborator on my GitHub account (RICKISWRIGHT).

Showing 1 to 10 of 46 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06