How to create view from another view

Hello all,

I use community version 4.0. I read the document in https://docs.mongodb.com/manual/reference/method/db.createView/

I create a view A by a lookup pipeline which do a joint search with two collections, A1 and A2, and I can see the view A contains some data from A1 and A2, and if I change some data in A1 or A2, the data in view A will be changed accordingly. Then I create a view B, view B is created by a lookup pipeline which do a joint search from collection B1 and view A, currently, I can see the data appears in view A, but not in view B, what would be the problem?

Thanks,
James

Can someone confirm the view on another view is supported by mongo on which version?

Yes view on view is suppprted by mongo from v3.4
Please check doc for more details