I am trying to write some code to help our admins elevate Courses to be blueprints on bulk and i'm having trouble differentiating between Courses that we want to convert and those who already have a blueprint applied just haven't had any enrollments added yet.
The following will give me what i want but from the perspective of the BluePrint but not the child course.
Is there a way to get the BluePrint id from a single child course? I cant seem to see any way to link these two objects up. I need to be able to tell if there is a BluePrint already associated to the course before proceeding.
Any assistance is greatly appreciated.