BlueCielo Meridian Enterprise 2018 Configuration Guide

Modifying the new project event script

If you added the Meridian Portal page as a wizard page as described in Configuring the project folder type, then you also need to adjust the script event handler M360FolderGenericEvent_AfterNewFolder for your vault. This event handler is called after each new project is created and it does two things:

  • Makes a call to Meridian Portal to create a corresponding new project. Ensure that the Meridian Portal project name is set properly, for example, in vaults based on the BlueCielo Industry Template:

    '<ITBS>
    projectName = Folder.Property("psProject.ProjectName")
    '</ITBS>
    
  • Adds the Meridian Enterprise project path to the table tblM360Projects. Ensure that the folder path is calculated properly, for example, in vaults based on the BlueCielo Industry Template:

    '<ITBS>
    ProjectFolderPath = IIf(Folder.ParentFolder.Path <> "\", Folder.ParentFolder.Path & "\" & CalculateName, "\" & CalculateName)
    '</ITBS>