Running Internal and External Training Events with LDE - Partner Program Training or Internal Company Training

External training is run in the standard way with knowledge categories and events as public, or visible to everyone.

Internal training is hidden using the field "

NOTE: We can now use Custom Catalog Views to run internal training and partner training use-cases. Although if you want to list events on a custom page, you could still use this code (although we don't recommend it)

  1. Log in as an Administrator
  2. Navigate to Catalog > Knowledge Category
  3. Create a New Knowledge Category called "Internal Training" (or similar) and set the Visibility to "Everyone with the URL"
  4. Create a catalog of ILT's and Events and set their Visibility to "Everyone with the URL"
  5. Then create a custom page called "Internal Training Catalog"
  6. Set the Body to Dynamic
  7. Add the Body code of:

    <h2>Upcoming Internal Training Events</h2>
    <p>sample text here</p>
    <@s.getKnowledgeCategory var="category" name="Internal Training" />
    <@s.getCourseEvents var="upcomingCourseEvents" maxResults=100 category=category>
        <div class="row-fluid upcomingClasses">
            <div class="span3">Course</div>
            <div class="span2">Duration</div>
            <div class="span2">Date</div>
            <div class="span3">Location</div>
            <div class="span2">Register</div>
        </div>
        <#list upcomingCourseEvents as courseEvent>
            <div class="row-fluid upcomingClass" style="margin-bottom: 5px;">
                <div class="span3">
                    <a href="<@s.courseUrl course=courseEvent.course/>">${courseEvent.course.preferredName}</a>
                </div>
                <div class="span2">
                    ${courseEvent.repeatDayCount}
                    <#if courseEvent.repeatDayCount==1>
                        Day
                    <#else>
                        Days
                    </#if>
                </div>
                <div class="span2">
                    <a href="<@s.publicCourseEventUrl publicCourseEvent=courseEvent/>">${courseEvent.startTime?string("EEE, MMM d")}</a>
                </div>
                <div class="span3">
                    <a href="<@s.locationUrl location=courseEvent.location/>">${courseEvent.location.name}</a>
                </div>
                <div class="span2">
                    <a href="<@s.publicCourseEventUrl publicCourseEvent=courseEvent/>" class="pull-right btn btn-large btn-success">Register Now</a>
                </div>
            </div>
        </#list>
    </@s.getCourseEvents>

    In this line of the code "<@s.getKnowledgeCategory var="category" name="Internal Training" />", the name is equivalent to that of the Knowledge Category created.

  8. Save the Page
  9. View the page by clicking the "Website" link from the menu on the right and review the events appearing. 
  10. Feel free to adjust the HTML to include any relevant text or links to guides or specific ILT types.