# Content Services

todo

Configuration to control/enable briefing services.

<?php

// config/briefing_services.php

return [

    'unique_name_of_your_service' => [
        'label' => 'Aprimo Adam Image Picker',                  
        'icon' => 'bars',                                       
        'entry_points' => ['images'],                           
        'enabled' => false,                                     
        'endpoints' => [
            'init' => 'http://service.com/init',
            'start' => 'http://service.com/start',
        ],
        'configuration' => [                                    
            // your configuration
        ],
    ],
];

Config Key: external_links

<?php

// config/external_links.php

return [
    [
        // this is one "external_link"
        'id' => 'vault',
        'label' => 'Veeva Vault',
        'image' => 'static/external-links/veeva-vault.png',
        'url' => 'https://bi.veevavault.com/ui/#doc_info/%_reference.document.id%',
        'filter' => [],
    ],
];

# Example With A Placeholder

The rendered text for the label will therefore change, depending on the set status.









 






<?php

// config/external_links.php

return [
    [
        'id' => 'vault',
        // usage of a placeholder
        'label' => 'Veeva Vault: %_reference.document.status__v%',
        'image' => 'static/external-links/veeva-vault.png',
        'url' => 'https://bi.veevavault.com/ui/#doc_info/%_reference.document.id%',
        'filter' => []
    ]
];

# Options

# id

ID will be used as unique identifier for the specific link – it is also used to check if there is an entry in the external_references table (column: key).

  • Required
  • Type: String

# label

The label will be displayed as a tooltip if a user hovers the icon on the material card.

# image

The image URL (or base64) to be used as Icon for the Material Card.

  • Required
  • Type: String

# url

The URL will be opened in a new tab if the user clicks the icon.

# filter

The Material Filter which controls the visibility of the external link