Sleeping in cradle

Angela
My LO will not sleep anywhere other then his swing or on Mommy/Daddy. At his check up today the Dr said it isn't safe for him to sleep in the swing and that I have to get him to somehow start sleeping in jos cradle or pack n play. He said I will have to just let him cry it out. I'm doing that right now and it's breaking my heart. Anyone have any suggestions to get him to sleep in his cradle or pack n play? I would appreciate any help. The pictures shows the 5 minutes he actually slept in there for me today until he started screaming.