Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

**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

...

JSON Files for VesselLocations and RankBasedValues

RankBasedValuesByRank ([OrgName]).json

VesselLocations ([OrgName]).json

Import NavPageAttributes

Page attributes for CUK org page:

...

You will need a repository to get the PDR Generator (GIT repository: psdev/CUK/PdrGenerator) http://gitlab.docker.marinels.local/marinels/psdev  (ssh://git@gitlab.docker.marinels.local:222230100/marinels/psdev.git)

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>

...

  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

...