Base solution for your next web application

Activities of "A4amen"

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version?9.1
  • What is your product type (Angular or MVC)?Angular
  • What is product framework type (.net framework or .net core)?

Please can you tell me where Power tool created the controller. Code generation is working fine but I can seem to find the controller in order to add some custom code. Thanks

Question

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 9.1
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)?Core

When I click on the same "Set as read" in the notification, the notification count keeps dropping and even reading negative. I suggest that a single notification's "Set as read" action should only mark that notification as read and possibly get disabled. And when I go to view all notifications and delete all notifications the count does not update automatically

Answer

It just does not happen.

Question

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 9.1
  • What is your product type (Angular or MVC)? Angular or MVC
  • What is product framework type (.net framework or .net core)?

I am trying to replicate the user excel upload for uploading contacts. I have successfully done every on the angular app and create all the service in the backend but for some reason the background task is not excecuting After investigation I realized this class is preventing the task from running

`` public class ContactsListExcelDataReader : NpoiExcelImporterBase<ImportContactsDto>, IContactListExcelDataReader { private readonly ILocalizationSource _localizationSource;

    public ContactsListExcelDataReader(ILocalizationManager localizationManager)
    {
        _localizationSource = localizationManager.GetSource(CoreConsts.LocalizationSourceName);
    }

    public List&lt;ImportContactsDto&gt; GetContactsFromExcel(byte[] fileBytes)
    {
        return ProcessExcelFile(fileBytes, ProcessExcelRow);
    }

    private ImportContactsDto ProcessExcelRow(ISheet worksheet, int row)
    {
        if (IsRowEmpty(worksheet, row))
        {
            return null;
        }

        var exceptionMessage = new StringBuilder();
        var contact = new ImportContactsDto();

        try
        {
            contact.FirstName = GetRequiredValueFromRowOrNull(worksheet, row, 0, nameof(contact.FirstName), exceptionMessage);
            contact.LastName = GetRequiredValueFromRowOrNull(worksheet, row, 1, nameof(contact.LastName), exceptionMessage);
           // contact.Gender =  (Gender)Enum.Parse(typeof(Gender), GetRequiredValueFromRowOrNull(worksheet, row, 2, nameof(contact.Gender), exceptionMessage));
            worksheet.GetRow(row).Cells[3].SetCellType(CellType.String);
           // contact.DateOfBirth = DateTime.Parse(GetRequiredValueFromRowOrNull(worksheet, row, 3, nameof(contact.DateOfBirth), exceptionMessage));
           // contact.CountryCode = (Country) Enum.Parse(typeof(Country), GetRequiredValueFromRowOrNull(worksheet, row, 4, "Country", exceptionMessage));
            worksheet.GetRow(row).Cells[5].SetCellType(CellType.String);
            contact.MobileNumber = worksheet.GetRow(row).Cells[5]?.StringCellValue;
            contact.Email = GetRequiredValueFromRowOrNull(worksheet, row, 5, nameof(contact.Email), exceptionMessage);
            contact.Address = GetRequiredValueFromRowOrNull(worksheet, row, 6, nameof(contact.Address), exceptionMessage);
            contact.Tag = GetRequiredValueFromRowOrNull(worksheet, row, 7, nameof(contact.Tag), exceptionMessage);
            contact.Note = GetRequiredValueFromRowOrNull(worksheet, row, 8, nameof(contact.Note), exceptionMessage);
            //contact.Tag = GetAssignedRoleNamesFromRow(worksheet, row, 6);
        }
        catch (System.Exception exception)
        {
            contact.Exception = exception.Message;
        }

        return contact;
    }

    private string GetRequiredValueFromRowOrNull(ISheet worksheet, int row, int column, string columnName, StringBuilder exceptionMessage)
    {
        var cellValue = worksheet.GetRow(row).Cells[column].StringCellValue;
        if (cellValue != null && !string.IsNullOrWhiteSpace(cellValue))
        {
            return cellValue;
        }

        exceptionMessage.Append(GetLocalizedExceptionMessagePart(columnName));
        return null;
    }

    private string[] GetAssignedRoleNamesFromRow(ISheet worksheet, int row, int column)
    {
        var cellValue = worksheet.GetRow(row).Cells[column].StringCellValue;
        if (cellValue == null || string.IsNullOrWhiteSpace(cellValue))
        {
            return new string[0];
        }

        return cellValue.ToString().Split(':').Where(s => !string.IsNullOrWhiteSpace(s)).Select(s => s.Trim()).ToArray();
    }

    private string GetLocalizedExceptionMessagePart(string parameter)
    {
        return _localizationSource.GetString("{0}IsInvalid", _localizationSource.GetString(parameter)) + "; ";
    }

    private bool IsRowEmpty(ISheet worksheet, int row)
    {
        var cell = worksheet.GetRow(row)?.Cells.FirstOrDefault();
        return cell == null || string.IsNullOrWhiteSpace(cell.StringCellValue);
    }
}
``

Kindly help me fix this.

Question

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 9.1
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core

If issue related with ABP Framework

  • What is ABP Framework version? No

If issue is about UI

  • Which theme are you using? All
  • What are the theme settings?

When I click on Message icon at the top right and then click on the profile icon next to it the profile slide does no show. The screen only deems slightly. Apparently the profile slide appears behind the message slide when the message slide is clicked first

The footer too stay on top of the menu items.

Question

Fixed Header dowsn't seem to work for most Themes without side menue: ie: Theme 2, Theme4, Theme 5 ...

This message is not parsing the <strong> tag.

You are in Trial period for <strong>Pro</strong> edition, click here to purchase.

When I click on it take me to this url

http://localhost:62114/Payment/Buy?editionId=5&editionPaymentType=BuyNow

Which shows an error page.

My demo paypal account is properly set and working well.

This parameter is editionPaymentType=BuyNow is probably the source of the issue.

Kindly help resolve it.

I need to set invoice info on the tenant side too.

I have set up invoice info in Host. I completed payment successfully But when I click on show invoice I get the error Invoice info is missing or not completed Kindly help.

Answer

8.1 MVC .Net Core

Showing 1 to 10 of 27 entries