You can search this forum for similar questions, like this one
Briefly, there is no public API for dashboard URL parameters so you need to inspect your URLs manually. or just copy the whole string for each case and update your iframe with it. In any case this is going to be weak and will need update with any upgrade of the stack.
Worth also mentioning that maybe you can do the full experience inside kibana using drilldowns to offer a generic dashboard with the main options that navigates to a detailed dashboard filtered by the selected option.