Akumina Developer Documentation

Akumina Developer Documentation

  • API
  • Docs
  • Blog

›Virtual Page Builder

Akumina

  • Quickstart

Yo Akumina

  • Yo Akumina
  • Start with Yeoman
  • React
  • Simple template

Widget Builder

  • Widget Builder Structure
  • Akumina Widget Builder
  • Skipping instances
  • Token replacement for widget properties

Widget Development Quickstart

  • Setting up the Project
  • Configuring .env file
  • Configuring - akumina.sitedployer.config.json file
  • Configuring - akumina.config.json file
  • Extras

Widget Info

  • Akumina Widgets Overview
  • Building a New Widget Instance
  • Widget Views
  • Widget Properties
  • Global vs Local widgets (Widget Scoping)
  • Akumina React Widgets
  • Callbacks
  • RenderChildWidgets
  • Vendor Package List

Virtual Page Builder

  • Akumina Virtual Page Builder
  • Using Virtual Page Layouts
  • Creating a Custom Layout

Stream Card Builder

  • Installation
  • Stream Card Builder
  • Custom Cards
  • Activity Comments Config
  • Akumina Activity Stream PUSH Subscription using PowerAutomate to connect to ServiceNow
  • Akumina Activity Stream PUSH Subscription using PowerAutomate to connect to Dynamic 365

Site Deployer

  • Overview
  • Version 6.0
  • List Attribute Deployments
  • NPM Commands
  • SPA Updates and Deploying to multiple sites

Authoring

  • Content Action Event
  • Publish Validation Integration
  • Field Event Integration
  • CK Editor external plugins

Headless

  • Quickstart
  • Headless Teams support
  • Headless Troubleshooting

Modern

  • Overview
  • FAQ
  • Single Page Application
  • Modern Web Part Library
  • Google Analytics for Modern Pages

Site Creator

  • Overview
  • Adding A Custom Site Definition
  • Core Step Classes
  • Custom Site Definition Components
  • Custom Site Definition XML
  • Custom Subsite Definitions
  • Sample Step Code
  • Supported Tokens

Azure DevOps

  • CI/CD using Azure DevOps
  • Setting up a build to deploy a site package
  • Setting up a build to deploy file to App Manager hosted in an app service

Configuration

  • Configuration Context Overview
  • Edit the Redis cache timeout
  • Using a key vault for the client id and client secret

Debugging

  • Debugging in Akumina

Advanced

  • Central Site Collection Support
  • Eventing OOB Digital Workplace Events
  • Working with custom JSX Views
  • Page Indexing

Service Hub

  • Quickstart

Patch Notes

  • Patch Notes

Creating a Custom Layout

Applies to

Akumina Framework 5.5+

Overview

In the event you want to load custom layouts in the page builder to provide different html,css.. (see ContainerLayouts_AK) Making a Custom Layout

With the performance improvements introduced in 5.5 the use of seperate container view layouts (.html) have been deprecated with inline pre-compiled views

Usage

Existing container layout .html should be run through the JSX Compiler (CTRL+UP, choose JSX Compiler on the left menu)

<div class="one-z-sm12 row">
  <div class="cell small-12 medium-12 columns col-12" key="1">
    {(showZoneTitle) ?
    <h1 class="ak-zone-heading">
      {Akumina.Digispace.Language.TryGetText("pagebuilder.column1")}
    </h1>
    : ("")} {validateZone(children[0])}
  </div>
</div>

Place the results of the ouput below in your switch statement that matches your custom zonelayoutid

This code will most likely be placed in a digitalworkplace.custom.js file - but feel free to put where ever your custom code is loaded from

window.AkCustomZoneLayoutCallback = function (zoneLayoutId) {
  var ret = null;

  switch (zoneLayoutId) {
    case "one-z-sm12": //your custom zone defined in CustomLayouts_AK (LayoutId Column)
      ret = `React.createElement("div",
    { "class": "one-z-sm12 row" },
    React.createElement(
        "div",
        { "class": "cell small-12 medium-12 columns col-12", key: "1" },
        showZoneTitle ? React.createElement(
            "h1",
            { "class": "ak-zone-heading" },
            Akumina.Digispace.Language.TryGetText("pagebuilder.column1")
        ) : "",
        validateZone(children[0])
    )
)`;
      break;
  }

  return ret;
};
← Using Virtual Page LayoutsInstallation →
  • Overview
    • Usage
Akumina Developer Documentation
Docs
Akumina Framework 5.0Akumina Widget BuilderAkumina Yeoman GeneratorSite Deployer
Community
Akumina Community Site
More
GitHubStar
Copyright © 2024 Akumina