13
 Followers
67
 Likes

Extract to Web Block

Frontend
On our radar

When the screen has too much information and the performance starts to decrease one of the options we have is to create a web block with some of that information and do a lazy load.


It would be nice to have something similar to "Extract to action" where you can select the elements in the screen and "Extract to Web Block".  

In case of a table, it would: 

- Remove the query from the preparation of the screen into the preparation of the Web Block;
- Remove the actions from the screen into the Web Block;
- Remove the selected elements into the Web Block;
- Add the necessary input parameters to the Web Block.

Created on 8 Jun 2018
Comments (21)

Changed the category to Service Studio


Good Idea :)

YES! must have Idea!

Also add the notification for return values; when necessary .

That would be nice. Boosts productivity and performance. ;-)

Sounds good. 

But then developers need to be careful after Exporting because they need to handle OnNotify actions, screen ajax refresh logic and check if everything is working fine or not.

Also if they are selecting any element of Form, they should not do because Form will become one element and same applicable for other elements which are nested.

@Suraj

In the first case, service studio would generate an error because you would have to fill in the onNotify of the web block. 

Most probably some work would still have to be done after using this functionality but you would get rid of the monkey work.

Changed the category to Frontend and the status to

On our radar


Nice idea Ricardo ;)

By the way, out of curiosity..

If you are extracting some UI with a button connected to screen actions, were you expecting to extract the UI only having to connect the logic or also having the logic extracted?

Cheers

@Vasco,
I would expect that also the actions and logic would be extracted from the screen to the web block

Cheers

Merged this idea with 'Extract to Webblock' (created on 22 Oct 2018 13:34:45 by João Melo)

Just like we can do within an Action with "Extract to Action" feature (P10 +), it would be great if we could extract a container or a group of elements in a web or mobile screen to an webblock.



This comment was:
- originally posted on idea 'Extract to Webblock' (created on 22 Oct 2018 by João Melo)
- merged to idea 'Extract to Web Block' on 22 Oct 2018 14:26:17 by Vasco Pessanha
Merged this idea with 'Convert Container/WebScreen selected elements to Web Block' (created on 05 Dec 2018 17:11:53 by Rafael Fantato)

Similar to what you guys did to actions, to encapsule some part of flow code to a new action, it would be great to do same with some part of the content.

Today we need to copy / paste to a new web block.



This comment was:
- originally posted on idea 'Convert Container/WebScreen selected elements to Web Block' (created on 05 Dec 2018 by Rafael Fantato)
- merged to idea 'Extract to Web Block' on 05 Dec 2018 17:14:03 by Vasco Pessanha

Hey Rafael,

There already is an idea for that:
https://www.outsystems.com/ideas/4905/Extract+to+Web+Block?IsFromAdvancedSearch=True


Consider searching for existing ideas before creating new ones!

Keep the ideas coming :)



This comment was:
- originally posted on idea 'Convert Container/WebScreen selected elements to Web Block' (created on 05 Dec 2018 by Rafael Fantato)
- merged to idea 'Extract to Web Block' on 05 Dec 2018 17:14:03 by Vasco Pessanha

Hey Vasco, I searched, but I didn't use the term "Extract", so it wasn't found. I tryed some variations, but with no success.

Merged this idea with 'Extract to Web Block like Extract to Action' (created on 28 Nov 2019 11:21:08 by Carlos Alexandrino)

I would like to have the option of extracting a part of a web screen to a new web block, just as I can extract parts of an action for a new action.



This comment was:
- originally posted on idea 'Extract to Web Block like Extract to Action' (created on 28 Nov 2019 by Carlos Alexandrino)
- merged to idea 'Extract to Web Block' on 04 Dec 2019 10:03:54 by Magda Pereira

Great ideia!



This comment was:
- originally posted on idea 'Extract to Web Block like Extract to Action' (created on 28 Nov 2019 by Carlos Alexandrino)
- merged to idea 'Extract to Web Block' on 04 Dec 2019 10:03:55 by Magda Pereira

Second this idea




This comment was:
- originally posted on idea 'Extract to Web Block like Extract to Action' (created on 28 Nov 2019 by Carlos Alexandrino)
- merged to idea 'Extract to Web Block' on 04 Dec 2019 10:03:55 by Magda Pereira

wonderful idea.



This comment was:
- originally posted on idea 'Extract to Web Block like Extract to Action' (created on 28 Nov 2019 by Carlos Alexandrino)
- merged to idea 'Extract to Web Block' on 04 Dec 2019 10:03:55 by Magda Pereira
views
1133
Followers
13