Question

Publish - what does it do?

Dear team,

There was a time when we had to create many objects. Each time we add new object, we save it and publish it. The publish process takes close to 5 minutes. My question is, can we create many objects, save them and publish it in one go? This would help us save a lot of time. If we have misunderstood the process of creating objects, please explain what is to be done after adding and saving a schema

Thanks

Like 1

Like

5 comments

Dear Shivani,

When publishing you basically compile only one object. It is similar to Compile all items option which publishes all configuration objects and compiles them. If you want to save your time, you can skip saving the object and publish right away. There is a another option that may be suitable if you are creating multiple objects. In this case you can only save them and then select Compile all items option. At this point all your created object will be published with the compilation.

Regards,

Dean

Thank you Dean. That was useful!

Dean Parrett,

Hi Dean. Have a follow up question. 



What would the difference between 'Publish'ing an object and 'Update Database where it is needed'? When would you use one over the other?



Based on your explanation, The 'Publish' also takes care of propagating the object to the database and hence technically includes what 'Update Database' would do. Is this correct?



Thanks in Advance Dean!

Dear Shrikanth,

No, database structure update is different function. Compilation publishes all elements, compiles them and also exports static content to the Terrasoft.WebApp\conf folder,  but the database structure update option updates the database tables and the whole structure according to the changes you do in your schemas. It is necessary to perform the update separately from compilation. 

Regards,

Dean

Dean Parrett,

Thank you very much Dean

Show all comments