[AEM Gems | 19th June 2024] Improving the developer experience for AEM Assets with our new APIs and Events

Session Details
AEM developers will have the opportunity to explore the newly introduced Assets Open APIs and cloud-native I/O Events that we are offering. These advancements enable the creation of out-of-process AEM extensions. During this session, we will demonstrate how to effectively implement these tools. This demonstration will show developers how they can streamline their workflows, enhance their development speed, and reduce ongoing maintenance efforts. Additionally, we will dive into practical use cases and best practices, providing a comprehensive understanding of how these innovations can be leveraged to optimize development processes.
Housekeeping details:
- Duration: 60 minutes including 10 minutes of Q&A
- Audience: Customers, Partners, and Adobe Employees
- Recording and slides will be made available to the public after the session
- The session is free of charge, registration will be required
Session Recording
Session Q&A
| Questions | Answers |
| recently we came to know that createAsset may not work on cloud. this api is not suitable for cloud, works fine for onprem. Need to know the replacement for this. | See https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/admin/developer-reference-material-apis and https://github.com/adobe/aem-upload. All assets should be uploaded directly into the blobstore from code running outside of the JVM. |
| Are these new apis available for on-prem? | These APIs are for Cloud Service only |
| what is the command for creating this project? | Use this as an entry point: App Builder and Adobe I/O Runtime https://developer.adobe.com/app-builder/docs/overview/firefly_and_runtime/ |
| Is it possible to query AEM resources like GraphQL? What is different in AEM Events regarding querying resources? | We haven't yet implemented a search API in the Open API but will likely do so some time next year. We don't have a GraphQL API available for Assets, but there is one available for Content Fragments. I'm not clear on how AEM Events relate to querying resources; they are sent to you when some event occurs on a resource, such as asset processing being completed, and the ID of the asset is included in the event. |
| We have an AEMaaCS project that makes use of the deprecated I/O Events Add-On Module and we have the following questions: 1. How the migration to the new Cloud-Native solution will work? 2. Will we still have the ability to create and use custom events? 3. Will the deprecated I/O Events Add-On Module stop working in cloud services? when will this happen? 4. Will there be support for local development with the AEM SDK? |
1. These new events are different, so if you would like to update code to use the new events, it will need to be rewritten to work with the new event format. 2. Custom events can still be created using the add-on module. Our hope is that eventually we will provide enough events out of the box that custom events will no longer be needed. 3. We have not announced any plans to remove the add-on module. 4. You cannot produce these events from the AEM SDK - they are cloud-native. There is no need for an SDK to consume them, they should be consumed _outside_ of AEM. |
| What is the difference between these new API's and the Assets HTTP API's for use cases like update asset metadata? | New APIs follow OpenAPI spec and align with other AEM APIs being developed for Sites and Forms. |
| is there event if asset got published into DM? | A few more events for Publish/Unpublish and Asset Deleted are being released in the next few weeks |
| From: Juan Sanchez Is there an api that can be use for search assets? |
Not at the moment, we will work on it in the future |
Session Schedule
Wednesday, June 19, 2024, | 8 am PDT OR 5 pm CEST OR 8.30 pm IST
Speaker(s)
Ramya Reddy, Computer Scientist at Adobe
