creating an internal course link
This is related to https://community.d2l.com/brightspace/discussion/bookmark/2669/TYoBYf7pJykUUkgh, but that solution doesn't do what I'm hoping to do.
Thanks!
Best Answer
-
Hi Sarah,
Yes, in all content experiences you can use the HTML editor to link to existing course content (HTML files/Course Files etc.) You can see the format of these links by selecting the Source Code symbol </> from the HTML Editor navbar. They will appear in the HTML code similar to the following:
<a rel="noopener" href="/content/enforced/24930-course123/Riding%20against%20the%20wind.pdf" target="_blank">The snippet from the URL 24930-course123 is a combination of the OrgUnitID and Course Offering Code.
When copying course content from one course into another this code is dynamically updated to reflect the new course offerings information, meaning there is no need to update the file references as it is done as part of the course import/copy.
You can also use this URL format to reference other files in the Manage Files area as long as the file name is properly encoded as displayed above, e.g. Riding%20against%20the%20wind.pdf is a file named Riding against the wind.pdf These URLs can be added to any content item or activity created in the course offering if correctly formatted.
Hope that helps!
Answers
-
Thank you! Very helpful to understand the structure of the URL, so thanks for explaining that.