Follow module IDs from one course copy to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2016
03:10 PM
So, I have a problem. I have been experimenting with ways to skin Canvas with different interfaces and I've had a lot of success. However, in each case, I use the module api to pull in module data, including IDs, and then tie meta data to a module ID. This works great! However, when I copy a course, the module IDs change and I have to start from scratch to reconfigure dozens and dozens of settings. My question is, how can I get a module's new ID after a course? Some how I need to know the old ID and the new ID so I can update my database.
I hope that is clear, any suggestions? I looked at the content migrations API but I didn't see anything. Hopefully one of your creative minds can help me out!