Copy/pasting from one method to another in business logic

When I copy/paste from one method to another in Codeless Business Logic, it often pastes far away from the existing logic in the destination method, probably because of where the absolute position is for each logic on the blank canvas. I am not sure how it happens that different methods are in different positions since I am never moving the initial logic block.

Is there a way to bring the existing and pasted logic blocks closer together? Right now I am zooming far out then gradually dragging and dragging the pasted block towards the existing block which takes some time.

Hello @Andreas_Marinopoulos

As I understand it, the block is placed in the same coordinates in which it was copied.
Unfortunately we do not have an elegant solution to this problem.

I’ve found only this solution

I’ve created an internal ticket BKNDLSS-23379 to investigate fix of it.

Regard, Viktor


Hello @Andreas_Marinopoulos

I’m pleased to inform you that we’ve made great improvements to copy/paste logic. You can now copy/paste logic between different pages in your browser. You can copy logic in BL section and transfer it to UI-builder>Logic section. You can copy the logic tree (right click on the logic and select “Copy Tree”.
Happy coding with Backendless!