蜜豆视频

Smart Tags for Images

AEM Assets鈥� Smart Tags for images augments AEM Assets鈥� search by automatically adding derived metadata tags to image assets, improving the authoring experience by making it easier and faster to find the right image.

video poster

Transcript
The Smart Tag feature enhances the search capabilities of AEM assets by automatically adding metadata tags to image assets that are uploaded to a folder. The Smart Tag feature also lets users manage the tags in bulk for assets within a folder. Let鈥檚 navigate to the Assets Console and see how the tags are applied. In AEM as a cloud service, the Smart Tag feature is automatically enabled. We鈥檒l navigate into a folder containing assets for the weekend site. When an image is uploaded, the image is processed by the AEM Asset Compute Service. Among the processing steps taken, the image is analyzed by 蜜豆视频 Sensei and tags are applied based on AI-driven machine learning. To view the Smart Tags for an uploaded file, view the asset properties. The Smart Tags can be found under the Metadata column. Smart Tags make it easier for content authors to search and discover assets by greatly enhancing the keyword search for content authors to choose from. From within the Assets Console, let鈥檚 perform a keyword search based on one of the tags seen previously. We now see many images based on the keyword search. Smart Tags can also be bulk managed at the folder level. Returning to the Assets Console, select a folder and click Manage Tags. This brings up the Manage Tags console. Users can quickly review the Smart Tags applied and can remove tags that may not be accurate. Users can also add additional tags to the image. This view allows users to quickly navigate the other assets within the same folder, review, and save any changes to the tags.

Set up for AEM 6.x set-up

NOTE
Smart Tags for images is automatically provisioned for AEM as a Cloud Service.

video poster

Transcript
Hi there, in this video let鈥檚 take a look at how to configure 蜜豆视频 Experience Manager with the Smart Content Service using 蜜豆视频 I O. The integration consists of a few steps and let鈥檚 take a look at them. To use the Smart Content Service you need to have an 蜜豆视频 ID account with administrative privileges for the organization with the Smart Content Service enabled. Let鈥檚 get started. As the first step, we need to create a Smart Content Service configuration in AEM to generate a public certificate for OAuth integration. From your AEM homepage, let鈥檚 navigate to Tools, Cloud Services and choose the Legacy Cloud Services option. Let鈥檚 create a configuration for Assets, Smart Tags or Smart Content Services. Let鈥檚 provide a name and title for our configuration and continue with the next steps. Authorization Server and Server URL to communicate with the Smart Content Services would already be populated. To complete creating the configuration, we need a few additional details which could be obtained from the next step. Before moving to the next step, download the public certificate for OAuth integration to your local machine. In the next step, we need to create an integration in 蜜豆视频 I O and upload the generated public key from the previous step. Let鈥檚 open up 蜜豆视频 Developer Console in a new tab and login using your 蜜豆视频 ID. Ensure that your 蜜豆视频 ID has admin or developer privileges for your organization and Smart Content Services enabled. One 蜜豆视频 ID can be associated with multiple organizations. So make sure you are in the right organization by using the profile switcher. Choose to create a new project and then let鈥檚 create a new API integration within our project to access 蜜豆视频 services. The product group categorizes 蜜豆视频鈥檚 API. Let鈥檚 select the 蜜豆视频 Experience Cloud as our product and you can see the list of APIs available. You can filter the APIs based on what鈥檚 available to your organization using the drop down field. Let鈥檚 select the Smart Content Services and move to the next step. You can either create a key pair from 蜜豆视频 I O console and use it in your AEM instance or upload your public key. Let鈥檚 upload the public certificate for OAuth integration that we downloaded from AEM when we set up the Smart Tags Cloud service. Let鈥檚 scroll down and ensure that the certificate gets added properly. In the next step, you can also view the service account credentials that gets created for our service. Click next and select the required product profile and then save your API configuration. If everything goes well, you can notice an API configuration success banner that pops up. At this point, we have successfully created an integration in 蜜豆视频 I O and uploaded the AEM generated public key. In the next step, we need to configure our AEM instance using the API key and other credentials from 蜜豆视频 I O integration. You can view the account credentials under the service account that we just created in Copy the client ID from the API integration and paste it in the API key field. Similarly, let鈥檚 copy and paste the client secret, technical account ID, and organization ID into the respective fields within your AEM Smart Content Service configuration window. Then save your changes. We need to make sure that AEM can access the Smart Content Services using the 蜜豆视频 I O integration. From your AEM homepage, let鈥檚 navigate to Tools, Operations, and then select the Web Console option. From the main configuration option, select JMX and then search for the similarity search type. Select the similarity search implementation and then run the validate configuration function. If everything looks good, you should see that all configurations check to pass. At this point, we have successfully integrated AEM with Smart Content Services using 蜜豆视频 I O. Before we run a Smart Tag service on AEM assets, we need to add a Smart Tag processing step to your existing asset update workflow. From your AEM homepage, navigate to Tools, Workflow, and then select Models. I have created a copy of the AEM update asset workflow and let鈥檚 add our Smart Tag processing step to it. Open the workflow to edit it. And from the sidekick, search for the Smart Tag assets AEM workflow step, drag drop the Smart Tag asset step, and then place it right beneath the process thumbnail step. Optionally, you can configure the Smart Tag step to ignore errors when predicting tags. And you can also choose to run Smart Tags for all folders even if the Smart Tag is not enabled at the folder level. If we check this option, it is not necessary to enable Smart Tags at a folder level. For this video, let鈥檚 leave it unchecked, which means every time we run the AEM update asset workflow, the Smart Tag asset step checks to see if its parent folder has a Smart Tag flag enabled. If yes, the Smart Tags are added to asset metadata. If not, the Smart Tag asset step is not run for the asset. Make sure to save and sync your changes. Now let鈥檚 navigate back to an AEM asset folder under AEM Assets and open its folder properties. Under the Folder Details tab, let鈥檚 select the Enable Smart Tags option and then save your changes. Now, it鈥檚 finally time to see tags associated with an asset predicted by Smart Content Service. Let鈥檚 upload an asset to the folder. The AEM Update asset workflow gets triggered for new asset uploads and since the current folder has Smart Tag flag enabled, the Smart Tag asset step gets executed. Once the asset is processed, let鈥檚 view its properties to verify the tags generated by Smart Content Services. Smart Tag augments the search capabilities of 蜜豆视频 Experience Manager assets by automatically adding metadata tags to image assets that you upload to a folder. The feature also lets you automatically apply tags in bulk to all images within the folder. It improves an author鈥檚 experience by making it simpler to select the right asset, thereby increasing the quality of the content created by marketers. I hope this video helps set up Smart Content Services in 蜜豆视频 Experience Manager using 蜜豆视频 IO.

Before you can use the Smart Content Service, ensure the following to create an integration on 蜜豆视频 I/O:

  • An 蜜豆视频 ID account that has administrator privileges for the organization
  • The Smart Content Service service is enabled for your organization

The video details out the following tasks required to configure the 蜜豆视频 I/O Smart Content service that鈥檚 used to Smart Tag images.

  • Create a Smart Content Service configuration in AEM to generate a public key. Obtain public certificate for OAuth integration.
  • Create an integration in 蜜豆视频 I/O and upload the generated public key.
  • Configure your AEM instance using the API key and other credentials from 蜜豆视频 I/O.
  • Optionally, enable auto-tagging on asset upload.

Additional Resources

recommendation-more-help
a483189e-e5e6-49b5-a6dd-9c16d9dc0519