Base solution for your next web application

Activities of "Ojala7"

Yes it works when you create a brand new entity, but adding a new column to an existing entity it doesn't

So how do I continue from here? How long will this take to fix?

Hi,

I used the tool to create an entity with Primary key of type long. The entity only has one property of type string and is multilingual. I get these errors:

  1. This class is created public class abcTranslation : Entity<long> If I create with a primary key on int, it does not put the type at the end So I removed the <long> at the end it could build ok.
  2. I run the app and when I save a new entity I get this error: Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> System.InvalidCastException: Unable to cast object of type 'System.Int64' to type 'System.Int32'.
  3. in the DB the translation table has two columns CoreId and coreId1
Question

hi, Using the file upload functionality created by the Power Tool, where are this files stored and on the view screen a link is displayed. Clicking it downloads the file. How can this be prevented? I just want to open it in the browser.

Core MVC JQuery

Hi,

I'm having this issue now. Same as previous user. How was this resolved?

Thanks

Hi, I want to create an entity which a field status. The field status has to be an entity on its own right. The values in status would be, by default draft, pending, final. I have noticed when a new tenant is created the status values are empty for the newly created tenant. I want these values to be draft, pending, final. What's more the status must be multi lingual

Thanks MYBUSINESSDNA for your response. I rolled back the VS version, that still did not fix my issues. I also needed to run "npm run create-bundles" which I obviously missed. My issue was fixed. thank you

Yes, I did not run npm run create-bundles

Hi,

How do I add predefined values for entities when a new tenant is created?

Thanks

Showing 1 to 10 of 15 entries