JI
JiriLojda/kontent-custom-app-bulk-actions
Kontent.ai custom application for custom bulk actions. This app expects to be displayed in the dialog mode in Kontent.ai content item listing.
Kontent.ai Bulk Actions Custom App
A custom app for Kontent.ai that enables bulk operations on content items from the item listing page.
Features
- Select multiple items in the Content Inventory
- View list of selected items with their names
- Assign Contributors: Bulk assign contributors to multiple items
- Clone Items: Clone items to different collections
- Assign Taxonomy: Bulk assign taxonomy terms to multiple items (with override or append options)
- Real-time progress tracking
- Error handling with detailed error messages
- Continue processing on error (collect all failures)
Prerequisites
- Node.js 18+
- pnpm
- Kontent.ai account with Management API access
Setup
-
Install dependencies:
pnpm install
-
Link the custom app SDK (if using local version):
pnpm link @kontent-ai/custom-app-sdk
-
Configure environment variables:
cp .env.example .env
Edit
.envand add your Management API key:VITE_KONTENT_MANAGEMENT_API_KEY=your_management_api_key_here -
Start the development server:
pnpm dev
The app will run on
https://localhost:3001with a self-signed certificate.
Usage
- Install the custom app in your Kontent.ai project
- Navigate to the Content Inventory (Item Listing page)
- Select the items you want to perform bulk actions on
- The app will display the selected items
- Choose an action from the dropdown:
- Assign Contributors: Select contributors to assign to all selected items
- Clone Items: Clone items to a target collection (with optional full variant copying)
- Assign Taxonomy: Select a taxonomy element and terms to assign to all selected items (with option to override or append to existing values)
- Click the action button to start the bulk operation
- Monitor the progress bar to see the operation status
- Review any errors that occurred during processing
Technology Stack
- Solid.js - Reactive UI framework
- TypeScript - Type-safe development
- Vite - Build tool with HTTPS support
- CSS Modules - Scoped styling with type-safe imports
- Kontent.ai Custom App SDK - Context observation
- Kontent.ai Management SDK - Content management operations
Project Structure
src/
├── components/ # React-like components
│ ├── *.tsx # Component logic
│ └── *.module.css # Component styles
├── services/ # API integrations
│ ├── sdk.ts # Custom App SDK wrapper
│ └── managementApi.ts # Management SDK operations
└── utils/ # Helper functions and types
├── types.ts # TypeScript type definitions
└── itemSelection.ts # Selection logic
Development
pnpm dev- Start development serverpnpm build- Build for productionpnpm preview- Preview production buildpnpm typecheck- Run TypeScript type checking
On this page
Languages
TypeScript81.0%CSS18.6%HTML0.4%
Contributors
MIT License
Created November 18, 2025
Updated November 19, 2025