Skip to content

akeneo/extension-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

Akeneo PIM JavaScript SDK

Overview

The Akeneo PIM JavaScript SDK is designed to help you build applications that are compatible with the UI extension Custom Component feature.

How the UI extension Custom Component feature works?

The Custom Component feature is a type of UI Extension allowing PIM users to upload JavaScript applications directly into the PIM. With its intuitive methods, it simplifies interactions with the Akeneo PIM API by abstracting the complexities of API calls, authentication, and data transformation. It is designed to provide a uniform experience for developers, featuring robust typing support through TypeScript declarations. This enables you to focus on developing your integration without being hindered by API intricacies.

If you're unfamiliar with the UI Extension feature, you can find more information in the Akeneo documentation.

For more information about the available features, integration architecture, constraints, permissions and access control or development workflow you can look at the Advanced Extension in depth documentation.

For more information about the SDK deployment you can look at the Advanced Extensions API deployment or UI deployment.

Quick Start Example

Here's a simple example showing how to use the SDK to list assets from a specific family:

// Access the Asset API
const assetApi = PIM.api.asset_v1;

// List assets with filters
const listParams = {
  assetFamilyCode: 'packshots',
};

// Call the API and handle the response
try {
  const assetList = await assetApi.list(listParams);
  console.log('Assets found:', assetList);
} catch (error) {
  console.error('Error fetching assets:', error);
}

Further Documentation

For more detailed information about the Akeneo PIM API, please refer to the official Akeneo API documentation.

About

Repository hosting the skeleton of SDK based extension for Akeneo PIM with example use-case implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors