Hi everyone,
I am currently optimizing a process to manage dependency refreshes for a large number of consumer modules. In my research, I found that creating a Solution in Service Center and performing a Full Publish appears to achieve the same result as manually opening each consumer module in Service Studio and clicking "Refresh All" on its dependencies.Here is reference research link .
https://www.outsystems.com/forums/discussion/106220/most-efficient-way-to-bulk-refresh-dependencies-and-publish-multiple-modules/
I want to confirm if these two processing flows have the absolute same goal and outcome. Specifically, does a Solution Publish effectively resolve all outdated references for the associated consumer modules without requiring manual intervention in Service Studio?
I have been searching for an official documentation link that explicitly compares these two methods or confirms the "Refresh" behavior during a Solution Publish, but I haven't found a direct reference yet.
Could someone provide the official documentation link for this approach or share their experience using Solutions for mass dependency refreshes?
Thanks in advance!
You’re correct that publishing a Solution in Service Center can be used as a “bulk” way to refresh dependencies, but it’s important to understand when it behaves like a manual “Refresh All” in Service Studio and when it does not.
When you publish a Solution in Service Center:
This is why publishing Solutions (for example an “All_Components” solution) is a common practice to republish the whole factory and refresh references in bulk. Refresh dependencies for multiple eSpaces
The key difference is breaking changes in signatures:
In this scenario:
So:
From the articles you referenced:
Publish All Consumers (Service Center)
Service Studio bulk patterns
Solutions (Service Center)
Does a Solution Publish effectively resolve all outdated references for the associated consumer modules without requiring manual intervention in Service Studio?
Are Solution publish and manual “Refresh All” in Service Studio absolutely identical in goal and outcome?
There isn’t a single official doc page that states “Solution Publish = Refresh All”, but the intended/official behavior is described and confirmed in several OutSystems forum answers by staff and MVPs:
If you want a practical recommendation:
Neo is correct.
TLDR:
if you don't have breaking changes (all the signatures stay the same) you can do by solution. Any other scenario, better do from Studio.
To save time: try to do by solution. If in Service Center the module still show outdated consumers, do it in Studio.
@Nuno Reis Thank you for your solution!However, When I practical tested refresh dependencies by Service Studio and Service Center Solution, I found some scenarios can't be handled refresh by Service Center.
The following scenario can't be handle by Service Center although handled in Service Studio.1.Rename Client Action name, input parameter names.2.Rename C# extension action name.3.Changes text value in UI blocks4.Security Role remove
So I think the above list does not contain in 'Breaking Changes of Producer Module'.If you don't mind, Please may you reexplain me in detail?
Best Regards.
Renaming actions or parameters, adding/removing parameters, changing data type, is a change in signature. That forces the consumers to ask for confirmation.
1. and 2. are breaking changes.
4. I would say the same as if the role is used it will stop existing and usages need to be removed in Studio.
3. shouldn't be a breaking and I'd say it works. Would need to test to confirm as usually I don't .