Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated headings

**The following guide assumes familiarity with the MarineLMS and use of the Client tool on /Pages/Dev, as well as the /wiki/spaces/CMD/pages/5432378246 system**

...

  • /Root/Carnival/CCL

  • /Root/Carnival/HAG

  • /Root/Carnival/CMG

  • /Root/CUK


Files located at Carnival EO PDRs

Setup Batch Size for importCarnivalUsers

...

Use pages/dev file upload to upload the VesselLocations and RankBasedValues files for the specific org path.

JSON Files for VesselLocations and RankBasedValues

RankBasedValuesByRank ([OrgName]).json

VesselLocations ([OrgName]).json

Import NavPageAttributes

Page attributes for CUK org page:

...

PDR Generator configuration

Open the PDR Generator solution in Visual Studio

Program.cs

In the  function Main in the Program.cs; set the following variables:

Code Block
languagec#
titleProgram.cs
var targetFolder = @”D:\temp\EO”;     // Generated PDR files will be put here
var rank = “EO”;                      // Short Rank title
var title = “Environmental Officer”;  // Full Rank title
var noVesselPDR = false;              // Flag to NOT generate any vessel PDRs


RankPdrLevels = new List<int>() {2, 3};  // Specify the Rank PDR levels
VesselPdrLevels = new List<int>() {3};   // must be a sub-set of RankPdrLevels

 

App.Config

In the App.config you will find a list of all the vessels by OL.  Note if sections are not commented out, this will generate for all the uncommented OLs.


Code Block
languagexml
titleApp.Config
<configuration>
	<appSettings>
		<add key="OrgUserName" value="[OrgName]-Users"/>
		<add key="organizationPath" value="[OrgPath]"/>
		<add key="PDRLocationPath" value="[PDR Location Path]"/>
	</appSettings>
	<Vessels>
		<!-- vessel names -->
		<add key="[Vessel 1]" value="[Vessel 1]" />
		<add key="[Vessel 2]" value="[Vessel 2]"/>
		...
	</Vessels>
</configuration>

...

Note: style.css must be in org’s file collection folder /PDRs/AssessmentGuidelines

Org NavPage Attributes (Rule Mapping Variables)

The PDR generator created a file which client commands to add NavPage attributes.

setNavPageAttributesCommandLines.txt

Org Link Attributes

The PDR generator created a file with client commands for permissions attributes at [OrgPath]

setLinkAttributesCommandLines.txt

CanView Permissions for Sign Off

The PDR generator created a file with client commands for CanView link attributes. Those will be added at the level of the PDR location [PDR Location Path].

canViewPermissionsForSignOffLinkAttributesCommandLines.txt

Course Registration Rules

The PDR generator created a file with client commands with all registration rules

regCompletionRuleCommandLines.txt

Course Completion Rules

The PDR generator created a file with client commands with all course completion rules

...

Note:For release version 3.0, this command will error out but Mike has fixed the bug; so if on version 3.0 the offering registration rule will be inputted using the User Interface Edit Page Attribute function

Example Completion Rule:

KeyValue
System.SetOfferingRole.RuleSetOfferingRole(Instructor,/Root/Carnival/CCL/PDRs/$CanAssessRank$/$EOCourseLevel$):ProfileNameMatch(Can Assess Rank[\s]*[2-4]*$,$CanAssessRank$)

Import Questions

Import to Question Repository using the command client tool or User Interface:

...

           use the import Question tool on the page.

Create Assessments      

Create an Assessment in the Assessment Repository using the User Interface.

...

  1. Make sure a course offering exists for the selected PDR level 
    1. e.g PDR level : EO Rank PDR2
  2. Add user to the required PDR level. Go to Manage user and edit user properties.
    1. e.g Set User’s rank : EO ; Rank PDR Level : 2

...

  • CCL-Notification-Users:CaptainBreeze,CaptainDream

  • SIRMapping:EO:Captain

Notifications

  • Complete ‘Assess Criteria’ for Rank PDR

...