Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 16, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 16, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 16, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 16, 2025

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025

      Minecraft licensing robbed us of this controversial NFL schedule release video

      May 16, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The power of generators

      May 16, 2025
      Recent

      The power of generators

      May 16, 2025

      Simplify Factory Associations with Laravel’s UseFactory Attribute

      May 16, 2025

      This Week in Laravel: React Native, PhpStorm Junie, and more

      May 16, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025
      Recent

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»A Comprehensive Guide for Package Creation and Upload in AEM

    A Comprehensive Guide for Package Creation and Upload in AEM

    July 27, 2024

    The package allows the import and export of repository contents. You can use packages to install new content, install new features, change event content, and restore saved content for development.

    A package is a zip file that saves data stored in a serialized file system (called vault serialization) and provides an easy-to-use and maintainable representation of files and folders. What is included in a package is defined using filters. Additional content not used to extract the material, such as descriptions, images, or illustrations, may be included in the material. This additional content is for customer package content and informational purposes only.

    Key Takeaways

    Content and configurations are bundled using packages in AEM.
    You can create, build, and manage packages using AEM’s Package Manager.
    AEM packages can be applied to various tasks, including content deployment between various environments.
    Carefully selecting the assets and filters to add to the package is crucial.

    Required Authorizations for Package Creation

    To create, modify, download, and install packages, users must have appropriate permissions on:

    All permissions, unless removed from /etc/packages
    The node containing the contents of the package

    Package Manager UI

    Package Manager is divided into four main functional areas which include the left navigation panel, Package list, Activity log, and toolbar. where Packages can be filtered and sorted using the Left Navigation Panel. All installed packages in our instance will be displayed in the package list. And activity log contains the Clear log and Hide/Show buttons. whereas the toolbar contains refresh buttons for the Left Navigation Panel and Package list and buttons for searching, creating, and uploading packages.

    Package Manager UI


    The Process of Package Creation, Installation, and Package Upload

    Creating a package in AEM involves many steps; below is a step-by-step guide to help you create the package in AEM.

    Accessing the Package Manager Console

    To begin, Navigate to the Package Manager Console. This can be found in three different ways: From the AEM main menu > Tools > Deployment > Packages OR From CRXDE Lite using the top switcher bar OR Directly by accessing  http://<host>:<port>/crx/packmgr/

    Create a New Package in Package Manager

    Click on “Create a package” next to the search bar in the top navigation bar.
    Enter the correct package name and other details, and then click OK
     A package will be created.

    Create Package

    Package Name: Give the package a clear and understandable name that will help you and others recognize its contents.

    Version: You can indicate a version in this text-based field. This is added to the package name to create the zip file’s name.

    Group: This indicates the target group (or folder) name. Groups assist you in package organization. If there isn’t a folder for the group already, one is created. If the group name is left empty, the package will be created in the main package list.

    Editing General Settings and Defining Package Filters

    We edit the packages to change various package settings, such as the General information and Filter settings. The general setting allows us to manage information such as the package description, dependencies, and provider details. The package filters define the content you wish to include in the package.

    Open the newly created package and click on the edit button
    Edit the general information you want to change, like the package description and version, in the “General” tab.
    Switch to the Filter Tab, click “Add Filter,” and enter the root path of the content you wish to include.
    To save the changes, click “OK.”

    Edit Package Setting

    Building the Package

    Usually, a package is built while it is being created, but you can come back later to rebuild or rebuild the package. This is helpful when the package filters or the content within the repository have changed.

    We mostly build the package after applying the package filter.

    Build: Click on the “Build” button present on the package. This will build the package according to the filters you have defined.

    Package Build

     Downloading the Package

    Once the package is built, you can download it. The package will be downloaded as a zip file.

    Click the package name to open the package details from the package list.
    Click the Download button or the package’s linked file name in the package details section.
    AEM downloads the package to your computer.

    Uploading and Installing the Shared Package

    To upload the shared package, open the Package Manager and click the “Upload Package” button. Provide the relevant details regarding the uploaded package and click OK. The uploaded package will be displayed in the package list. Now Click the Install button to install the uploaded package.

    Uploading Package

    Package: Choose the necessary package from your local file system by using the “Browse” button.

    Force Upload: This option forces the upload and overwrites any existing packages with this name if there are already any.

    Conclusion

    Creating a package in AEM is a simple process involving accessing the Package Manager, creating a new package, defining package filters, and creating the package. Packages are a key component of AEM, allowing content and configuration to be effectively structured and configured across different environments. Knowing how to build these well is important for any AEM developer and tester.

    Source: Read More 

    Hostinger
    Facebook Twitter Reddit Email Copy Link
    Previous ArticleAn Overview of DataRaptors in OmniStudio
    Next Article Salesforce Data Cloud – Introduction on Salesforce Data Cloud

    Related Posts

    Machine Learning

    Salesforce AI Releases BLIP3-o: A Fully Open-Source Unified Multimodal Model Built with CLIP Embeddings and Flow Matching for Image Understanding and Generation

    May 16, 2025
    Security

    Nmap 7.96 Launches with Lightning-Fast DNS and 612 Scripts

    May 16, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    I tested the MSI Claw 8 AI+ and Intel’s handheld chips annihilate its AMD rivals — So why can’t you buy it?

    News & Updates

    Build a scalable, context-aware chatbot with Amazon DynamoDB, Amazon Bedrock, and LangChain

    Databases

    Best Free and Open Source Alternatives to Parallels Desktop

    Linux

    CVE-2025-4108 – PHPGurukul Student Record System SQL Injection Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    News & Updates

    CodeSOD: Leap to the Past

    May 8, 2025

    Early in my career, I had the misfortune of doing a lot of Crystal Reports…

    AI’s Greatest Threat? Elon Musk Sounds the Alarm on the ‘Woke Mind Virus’ – Part 4 of the Research Article

    March 16, 2025

    Glory Casino – Top-Tier Betting and Gaming Experience in Bangladesh

    January 16, 2025

    Edge will soon launch Copilot pane automatically when you open the browser

    March 16, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.