Activities of "Sergei.Gorlovetsky"

Hello,

I have used this method (https://docs.abp.io/en/abp/latest/Object-Extensions#object-extension-manager) to extend Saas.Tenants

I have BlobConnectionString as new column in Saas.Tenants Table. I am wondering, how can I add that extra property in the API call while creating a new tenant ?

I tried to add that under extraproperties in the JSON body, but that did not help.

End point : /api/saas/tenants

{
    "extraProperties": {
        "blobConnectionString" : "abc"
    },
    "name": "tenant7",
    "editionId": null,
    "adminEmailAddress": "tenant3@mellowoodmedical.com",
    "adminPassword": "Test@123",
    "activationState": 0,
    "activationEndDate": "",
    "connectionStrings": {
        "id": "",
        "default": null,
        "databases": []
    }
}

Thanks, I appreciate your help. I will use /connect/token

Thanks, the cookie was the issue.

I removed cookies from the postman. Is there any other way to handle it or I will have to manually remove cookies every time? They were added in my previous /account/login call

I tried, but it still shows same response

  • ABP Framework version: 8.0
  • Database System: EF Core (MySQL)

Hello,

I am trying to create a new tenant via postman call. I am using the same JSON body which I see in developer tools, when I create a tenant from UI.

The strange part is, that I can create a new tenant from UI, but getting a bad request when I try the same body with Postman.

Request Body

{ "extraProperties": {}, "name": "tenant3", "editionId": null, "adminEmailAddress": "tenant3@mellowoodmedical.com", "adminPassword": "Test@123", "activationState": 0, "activationEndDate": "", "connectionStrings": { "id": "", "default": null, "databases": [] } }

Request Headers

Thanks. I emailed you.

Also, these are logs from Event Viewer

the stdout log file is empty.

Also sharing my web.config and program.cs file with you

I have checked, the defaultAppPool has write permission in the publish folder.

Thank you. It works.

I tried looking for it, but I couldn't find the Logs folder in my Azure App Service:

I also tried to publish and deploy it on my local IIS and there the Logs folder is empty

Showing 1 to 10 of 50 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11