Akumina Developer Documentation

Akumina Developer Documentation

  • API
  • Docs
  • Blog

›Widget Info

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

Widget Views

Using Configuration Values for Paths

You can easily use any value in the configuration context (or other) to prevent hardcoded paths in views. In your view, you would have the following:

{{configurationcontext "TemplateURLPrefix"}}

An example:

<img class="circlet rounded-imag-white imag"  src=’{{configurationcontext "TemplateURLPrefix"}}/somepathtoimage.jpg’ />

You can also use other values to fill out the path to the style library, such as

• TemplateURLPrefix • AssetLibraryName • TemplateCoreFolderName

Example:

<img class="circlet rounded-imag-white imag"  
src='{{configurationcontext "TemplateURLPrefix"}}/{{configurationcontext "AssetLibraryName"}}/{{configurationcontext "TemplateCoreFolderName"}}/images/ia-loader.gif’ />

Quick Edit in a view

NOTE: This only works if you have a content app created for the list

To enable quick edit, you need an attribute with the item id. This must be in the attribute named ak-item, and use the SharePoint List Item id. In addition a class is needed to enable the quick edit, ak-item.

Single item An example of quick edit for a single item:

List An example of quick edit for a list of items; each item has its own separate trigger for editing. Note the class ak-item:

Quick Edit for a Quicklinks or Slider app.

A quicklinks and/or slider app is a combined editing experience, where there is only one page to edit all items. Due to this, all that is required is to add the class ak-widget-item to the outermost element in the view:

<div class="menu ak-widget-item">
    ...
</div>

NOTE: There should be no ak-item classes in your quiclinks or slider view, as they are unnecessary.

← Building a New Widget InstanceWidget Properties →
  • Using Configuration Values for Paths
  • Quick Edit in a view
  • Quick Edit for a Quicklinks or Slider app.
Akumina Developer Documentation
Docs
Akumina Framework 5.0Akumina Widget BuilderAkumina Yeoman GeneratorSite Deployer
Community
Akumina Community Site
More
GitHubStar
Copyright © 2024 Akumina