Hi, I tried to look for this in the forums but I get an error when I click on "search". I will try to explain myself as clear as possible:
1. I created a package and integrated it with dotlrn
2. The way I chose to differentiate the information between different instances is by getting the package_id [ad_conn package_id], and store the package_id in my tables.
3. I want to let a professor add a "file" to multiple classes (from the same page). I already know how to get all the classes (community_ids) that the professor is teaching, BUT, the problem is that I don't know how to relate the community_id with the package_id that I stored in my tables. The table dotlrn_communities_all has a column named "package_id", but that package_id is not the same that the one I get by doing [ad_conn package_id] inside my package instance.
I need a way to relate the community_id with the package_id that I get calling [ad_conn package_id] from my package pages.
I hope I made myself clear, thanks for your help!