AnsweredAssumed Answered

How do I find the module_item_id?

Question asked by C. Blaise Mitsutama on Jul 21, 2017
Latest reply on Sep 25, 2017 by C. Blaise Mitsutama

I inherited a course in which lectures are offered in five formats: video, audio, handout, slides, and transcript. Unfortunately, this means I don't know exactly how some elements of the course were created.


The image below shows how the links are displayed for Module 4 Lecture b. 


Screenshot showing the selection buttons for the five formats: video, audio, handouts, slides, and transcript.

For some reason, some of the buttons link to the wrong files. For example, the Audio, Handout, Slides, and Transcript buttons link to the content for Lecture a instead of Lecture b. 


An example of the HTML code for the Audio button is:


<td style="padding-right: 1em;"><a class="btn btn-lg btn-info" href="" target="_blank" rel="noopener noreferrer">Audio</a></td>


I believe that "3256" refers to the audio file that will be played when the button is selected. 


I have tried inserting the desired file into a new Page. When I view the HTML code, the link shows 

.../13/files/15888/... which is a different number and also references "/files/" and not "/modules/items/."


I have opened the module and clicked on the Audio button as a test. When I check the URL in the browser address bar, I see:


This is the correct item ID, but it seems that I'd have to launch the item by going to the module, opening the page, and clicking on the item link. Since it's the wrong item, however, I wouldn't get the item ID that I want (which isn't linked on the page).


Does anyone know where I can find the module_item_id when the item isn't linked to the page?


I hope my question isn't too confusing. I'm stumped.