Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Issue in creating or updating entity through Power Tool in ver 2.4.0 #9193


User avatar
0
mahendra created

Hi,

We were creating/updating our all master screens through your aspnetzero power tool wizard from Visual Studio. Today, when i have tried same exact same steps, we have started getting issue in angular compilatation. I have tried to manually fix the issue by filling the gap manually but got no success. I have noticed, Power tool version is showing in my pc is 2.4.0 and as per your site "https://marketplace.visualstudio.com/items?itemName=Volosoft.AspNetZeroPowerTools", it was last updated on 6/8/2020, 12:10:53 PM and on my PC this version automatically updated. I am predicting, due to your latest version, this issue started coming.

Please either provide us the previous version or fix the latest version at urgnet priority.

Please see the 3 screen shots for your reference:


8 Answer(s)
  • User Avatar
    1
    robert created
    Support Team

    You can get the issue sorted out by doing these steps. However , we will look into the issue .

    Step 1 You need to Import CreateOrEditSystemTypeMasterModalComponent in your systemTypeMaster.component.ts file.

    import { CreateOrEditSystemTypeMasterModalComponent} from "your Componet Path";

    Step 2

    You need to create Instance of createOrEditSystemTypeMasterModal Componet in your systemTypeMaster.component.ts file

    @ViewChild("createOrEditSystemTypeMasterModal", { static: true }) createOrEditSystemTypeMasterModal: CreateOrEditSystemTypeMasterModalComponent;

    Step 3 You can Use that model Componet in two way.

    Approach 1 in html file

    <button (click)="openModel()" class="btn btn-primary blue">Open Modal</button>
    

    in typescript file

    openModel(): void { this.createOrEditSystemTypeMasterModal.show(); } Approach 2` in html file

    &lt;button (click)=&quot;createOrEditSystemTypeMasterModal.show()&quot; class=&quot;btn btn-primary blue&quot;&gt;Open Modal&lt;/button&gt;

  • User Avatar
    0
    mahendra created

    Could you please provide previous version of this utility for time being?

  • User Avatar
    0
    musa.demir created

    Hi @mahendra

    Created an issue about it. https://github.com/aspnetzero/aspnet-zero-core/issues/3370

  • User Avatar
    0
    musa.demir created

    It is fixed. It will be included in next rad tool release. You can manually add

      @ViewChild('createOrEditSystemTypeMasterModal', { static: true }) createOrEditSystemTypeMasterModal: CreateOrEditSystemTypeMasterModalComponent;
    

    or wait until we release it. (I will release it asap)

  • User Avatar
    0
    mahendra created

    Hi,

    As per you instructions, i have included the missing code and application compiled successfully. But after adding some rows at run time, searching functionility is also not working.

    We have lot of entities which we have to add/modify which are not possible through manual process because it is requiring testing as well. Could you please give us some tentative date when latest utility will be available?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @mahendra,

    We will release it tomorrow (2020-06-15).

  • User Avatar
    0
    mahendra created

    Hi, I am still waiting for the release from you. my project is on hold because of this. I appreciate if you please update me with the ETA.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @mahendra

    It is published, you can check it out. Sorry for the delay.