6
 Followers
32
 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
Comments (12)

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
views
498
Followers
6