Skip to content

Installation Instructions

Preparations

Installation

  1. Add limepkg-ff-portal to your solution.

  2. Add limepkg-transactional-message-library to your solution.

  3. Add tables, fields and localizations by running lip.installFromZip in the VBA Immediate Window in the desktop client. The lip file is found under the Legacy folder in the Github repository.

  4. Make sure VBA Modules found in the Leagcy folder are added. Also add the following snippets:

    Private m_ControlsHandlerReport As ControlsHandlerReport
    

    in the top of GeneralControlsHandler.cls and

    Case "report"
        Set m_ControlsHandlerReport = New ControlsHandlerReport
    

    to GeneralControlsHandler.m_Application_AfterActiveControlsChanged

  5. Actionpads

    Add the button that initiates the TRAML sendouts to the actionpad of the helpdesk object.

    <!--The parameters for th li data-binds are: localize.owner, localize.code, config_name , text, icon-->
    <div class="btn-group btn-group-lime ">
        <button class="btn btn-lime btn-default dropdown-toggle" data-toggle="dropdown">
            <span data-bind="text:'Skicka meddelande till installatör', icon: 'fa-caret-down'"></span>
        </button>
    <ul class="dropdown-menu" >
        <li
            data-bind="vba:'FfPortal.ShowDocumentForm, FF-Portal, ok_installer, installation_approval', text:'OK till ny installatör', icon:'fa-mobile'">
        </li>
        <li
        data-bind="vba:'FfPortal.ShowDocumentForm, FF-Portal, installation_approval, installation_approval', text:'Installationsmedgivande', icon:'fa-mobile'">
    </li>
    <li
    data-bind="vba:'FfPortal.ShowDocumentForm, FF-Portal, message_installer, installation_approval', text:'Meddelande till installatör', icon:'fa-mobile'">
    </li>
    <li
    data-bind="vba:'FfPortal.ShowDocumentForm, FF-Portal, retake_installation_approval, retake_installation_approval', text:'Återta installationsmedgivande', icon:'fa-mobile'">
    </li>
    <li
    data-bind="vba:'FfPortal.ShowDocumentForm, FF-Portal, connect_electrical_cabinet, connect_electrical_cabinet', text:'Inkoppling elskåp beställt', icon:'fa-mobile'">
    </li>
    <li
    data-bind="vba:'FfPortal.ShowDocumentForm, FF-Portal, new_connection_connected, new_connection_connected', text:'Nyanslutning kopplad', icon:'fa-mobile'">
    </li>
    </ul>
    </div>
    
  6. Compile and save the VBA.

  7. Publish Actionpads.