How can we call render of another view in the curr...
# suitecommerce
m
How can we call render of another view in the current view ?
s
If you mean of a view that has already been rendered and you want to re-render it, then you would likely need to start in the page layout and start going down child views until you find it.
m
It's a seperate view and just added as a dependency
v
If you want to render View1 into View2, you'll have to first add View1 as a child view of View2. Then you can simply add a <div> with its data-view attribute as View1's ID (declared while adding it as a child view) anywhere in View2's template to render it there.