Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "mahendra"

Thanks ismcagdas,

But attached link is not working .

Hi maliming,

We also need to add new text dynamically. Could you please let us know how to refresh the Cache in the Code.

**"Use IRepository<ApplicationLanguageText, long> to dynamically add new text, remember to refresh the cache. **"

HI , Please find the attached json for the entity. We have also attached the line no in screenshot.

Json:

{
  "IsRegenerate": false,
  "MenuPosition": "admin",
  "RelativeNamespace": "OEISListingTemps",
  "EntityName": "OEISListingTemp",
  "EntityNamePlural": "OEISListingTemps",
  "TableName": "OEISListingTemp",
  "PrimaryKeyType": "int",
  "BaseClass": "FullAuditedEntity",
  "EntityHistory": false,
  "AutoMigration": false,
  "UpdateDatabase": false,
  "CreateUserInterface": true,
  "CreateViewOnly": true,
  "CreateExcelExport": true,
  "IsNonModalCRUDPage": false,
  "IsMasterDetailPage": false,
  "PagePermission": {
    "Host": false,
    "Tenant": false
  },
  "Properties": [
    {
      "Name": "Identifier​",
      "Type": "string",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      }
    },
    {
      "Name": "URI​",
      "Type": "string",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      }
    },
    {
      "Name": "PlatformVersion​",
      "Type": "string",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      }
    },
    {
      "Name": "Version",
      "Type": "string",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      }
    },
    {
      "Name": "APIVersion",
      "Type": "string",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      }
    }
  ],
  "NavigationProperties": [],
  "NavigationPropertyOneToManyTables": [],
  "EnumDefinitions": [],
  "DbContext": null
}
Answer

Hi,

Any update on my ticket please?

Regards, Mahendra

Answer

Didn't see any option to attch the files....

I am sending an email with attachement requested...

Regards, Mahendra

Answer

Hi ismcagdas,

Please find attach the class file for background job. I am also attaching the appNotifier class (I thought you may require it to see the failure notification).

  • Brief about Background Job Class file

In the Background job, we are essentially importing the master data from excel that user has imported.

Actual import happens in "ImportExcelData" function from where, corresponding master AppService method is called. Once import is done (that is control returned from corresponding master AppService, we are calling "ProcessImportStatus" method.

Inside "ProcessImportStatus" method, conditionally we are sending success notification or failure notification.

Below line is for failure notification.

await _appNotifier.ExcelImportStatus(args.User, file.FileToken, file.FileType, file.FileName);

and below line is for success notification.

await _appNotifier.SendMessageAsync(
                            args.User,
                            "Data Imported Successfully :" + args.ExcelFileName,
                            //_localizationSource.GetString("SuccessfullyImportedFromExcel"),
                            Abp.Notifications.NotificationSeverity.Success);

Answer

Hi Expert,

Any thought on my above query...

Regards, Mahendra

Answer

Hi,

We did two things:

  1. Didn't use Azure's CORS settings. See the screen shot below.

  1. Set the following in App:CorsOrigins settings. Here sequence matters. https://<mydomain>.net, https://*.<mydomain>.net

Regards, Mahendra

Answer

This has been fixed....please don't bother

Answer

Not getting any error in Server's log.txt file

Showing 61 to 70 of 123 entries