Base solution for your next web application

Activities of "Siyeza"

How do I do client validation and proper error messaging?

Question

I have something that looks like this below.

I want a count of each status something like this below

Active - 5 None-Active - 10 Other - 50

etc...

any help

Question

following this step by step does not create/show this widget.

https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Developing-Mvc-Core-Customizable-Dashboard

I saw from the other issue something about the documentation being updated. Has it been updated?

this is the issue I am referring (https://support.aspnetzero.com/QA/Questions/8044)

how do I pass this parameter

listAction: { ajaxFunction: _contactsService.getContactsByPolicyHolderId, inputFilter: function () { return { policyHolderId: 2 }; } },

        SEE THE ERROR below
        
        
        ![image.png](/QA/files/fa5fa836dc4ca95dca5e39f190e9ba26.png)

.net core upgrade from 2.2 to 3.0 which is current

I have this on my index.cshtml

<script abp-src="/view-resources/Areas/App/Views/Customers/Index.js" asp-append-version="true"></script>

BUT I have noticed that 'Index.min.js' is being loaded on Development mode. How do I come around this. See below

Question

I want a simple tutorial/example : add customers then add multiple orders to these customers (preferrable creating both these entities using Power Tools). Any pointers?

Question

I have two linked entities 'Policy Holder' which can have multiple 'Policies'. I have generated both entities using the power tools (added PolicyHolder as one of the navigations for Policy). I want to open the 'Create Policy' from the 'Policy Holder' Grid see below pic

how do I pass the PolicyHolderId to this dialog?

text: 'Add - Policy',
                                visible: function () {
                                    return _permissions.create;
                                },
                                action: function (data) {
                                    debugger
                                    _createOrEditPolicyModal.open({ id: data.record.policyHolder.id });
                                }

this above doesnt seem to work

Question

I create an entity with just two properties Id & Name, creating & listing is working fine BUT 'edit' is failing on this line (this is happening to all of these entities)

var output = new GetTitleForEditOutput { Title = ObjectMapper.Map<CreateOrEditTitleDto>(title) };

I want to create an entity 'Title' which will be a lookup with 'Miss, Mr, ...etc'. I want this entity to be available for CRUD operations only with the 'HOST'. BUT, I want this entity to be accessible on 'Tenant' entity creation navigation ie when creating 'PolicyHolder' entity, this 'Title' should be availble as a dropdown on 'Tenants' entities. How do I go about with this one?

Showing 21 to 30 of 31 entries