Although it can be done, "coverting' any sea water toilet to use the boat's fresh water is a bad idea and every toilet mfr specifically recommends against it, not only because of the risk of bacteria contaminating your fresh water (minimal, but not non-existant), but because sea water toilet pumps are designed to PULL water in...All toilets that are designed to use fresh water must use PRESSURIZED flush water, so the fresh water pump has to be on to flush the toilet (turning it on and off is major PITA because it has to prime each time). The solenoid valve acts like a faucet--opens to allow the water pump to PUSH water into the toilet, closes to turn it off (and fwiw, Jabsco solenoid valves only have an average 2-3 year lifespan) which can mess up o-rings etc in the toilet pump.
All toilets designed to use fresh water also have built in siphon breaks and backflow preventers, so just tapping into the cold water line to the sink and inserting a solenoid valve--even one with a built in vented loop--isn't enough to protect the fresh water supply.
There's a much easier--and very inexpensive--way to "convert" your toilet to use fresh water safely that works on any boat on which the head sink and toilet are on the same side of the keel and the sink drain is below the waterline that will even allow you to switch between sea water and fresh at will :
Re-route the toilet intake line to tee or wye it into the sink drain line as close to the seacock as possible because the connection must be below waterline to work.This will allow you to flush normally with sea water. After you’ve closed the sink drain seacock in preparation to close up the boat (you do close all seacocks before leaving the boat to sit??), fill the sink with clean fresh water and flush the toilet. Because the seacock is closed, the toilet will draw the water out of the sink, rinsing the sea water out of the entire system—intake line, pump, channel in the rim of the bowl and the discharge line,(Water poured into the bowl only rinses out the toilet discharge line). If your toilet is electric, be careful not to let it run dry…doing so can burn out the intake impeller. Or you can keep the sink drain seacock closed except when it's needed to drain the sink and flush with fresh water down the sink all the time...your choice.
It may also be necessary to keep the sink plugged except when in use, with a rubber sink plug or by installing a conveniently located shut-off valve in the drain hose. Otherwise the toilet may pull air through the sink when you try to flush, preventing the pump from priming.
--Peggie