... but to answer your question:  I have no idea if there is a *standard* way to do this. This is just how I did it because there wasn't anything built in to do what I needed to do, and it seemed pretty straight forward and efficient.