Question

"Publish" entity schema changes from multiple changed entities

Hello,

I was wanting to confirm something that I assume to be true. When you make changes to an entity schema (adding columns) there are save or publish options. If you're making changes to several entities, instead of publishing each one after making the changes, can you just select "save" on each, then in the configuration manager click the Compile modified items button to "publish" all at once? 

I am assuming that "publish" really just means compile, but not sure if there is more to what the "publish" option does. 

Can anyone confirm?

Thanks,

Ryan

Like 0

Like

5 comments

Dear Ryan,

Yes, you are correct. The "Save" action saves changes to the source code of the object. "Publish" option, on the other hand, compiles the application. 

Indeed, you can make changes to several objects and save them using Save option. After that compile modified items, so to save time compiling each object. 

Regards,

Anasyasia

Anastasia Botezat,

Thank you Anastasia. I did try that (the Compile modified items) and the entity schema's I modified still had the "database changes required" flag set, so I also did the "Update where it is needed" option under Database Structure as well. Everything looks like it worked fine after that.

Ryan

Anastasia Botezat,

Also, is there a way to tell in the configuration manager that an entity still needs to be compiled? Other than the "database update required" column?

Ryan Farley,

Unfortunately no such option. It is a good practice to compile right after changes added, so to make sure they are applied and do not break any other logic.

Anastasia Botezat,

That makes sense. Thank you for the responses.

Ryan

Show all comments