Web Screen: allow refactoring of a single screen widget (and its children) into a webblock
1265
Views
3
Comments
Implemented
Service Studio
OutSystems 5.1
It would be really cool if Service Studio could allow refactoring of a single screen widget and its children into a webblock. Call it a new Intelliwarp feature ;)

You can find examples of this in Eclipse and (i think) MS Visual Studio regarding code lines: refactoring immediately creates a new method with the required parameters. I wish this could be implemented in OutSystems web screens as well.
woc.refactoring.web.screens.png
If I need to move a web screen to a web block I use the "Paste As" feature and paste the web screen as a web block.
Hi Rebecca,

I didn't know about that! :) Thanks!

Nevertheless, I still find this idea necessary when you want to make up a webblock out of a set of widgets (one selected + its children).

It would really help the change of existing applications - fast!

Thanks and welcome for the reply,
Pedro
2016-11-21 23-23-05
Gonçalo Borrêga
You'll need to Copy Paste as WebBlock... and remove what you don't need. Service Studio can't go deep enough into understanding what parts of logic need to be moved into the webblock and which need to remain in the parent screen without incurring in the risk of breaking your logic... :(