How many ways do we have to pass data from one component to another without using query parameters? Can you provide the flow, like the node names and their mappings?
Hello @hamzathul.dilshad,
- You can pass down data using component’s “Input” method or you can use “Output” event method to emit the value to outer component. (Both you can declare on the init node, and mapping will be appeared on the component advanced properties)
- Angular router state method, you can see the option in routes (Data): https://documentation.neutrinos.com/articles/#!studio-guide-9/adding-routes
- Service variable - You can use service variable node which will provide set and get method you can assign and retrieve as required.
- In service section you can construct class/template and use dependency node to import it as required (Best practice if you are following specific structure throughout the journey). https://documentation.neutrinos.com/articles/#!concepts-publication/services-designer
- If you want the data to be persist over browser refresh, you can use javascript’s localStorage methods like set and get directly on the script node.
Hope that helps : )
hello shas
i want to pass the row data to another component , this is the flow
this image is row flow
flow start node
and below the another component oninit node
i know , this is not proper , can you help ?
Hey dilshad, please follow these steps.
create a client service called ie: data serivce.
Before the navigation node add service variable node which will show your newly added client service, you can select it and select “Set” as operation type. You can give Variable name and where from data to be mapped, in your case it will be bh.input.book.
In the target component you can use same service variable node in on init node with get operation type. Select same client service and provide same variable name, then fill where to map.
Thanks





