With a view to something/to doing something - Idioms by The Free Dictionary
with a view to something/to doing something
with a view to
For the purpose of, aiming toward, as in A-frame houses were designed with a view to shedding heavy snow. This idiom was first recorded in 1728.
with a view to with the hope, aim, or intention of.
with a view to something/to doing something (formal) with the plan or hope of doing something: He’s painting and decorating the house with a view to selling it for a good price.