Ir al contenido principal

Making multiple edits using AEM's Bulk Editor - Tips and Tricks

Here are some tips and tricks about Adobe Experience Manager's Bulk Editor with some usage scenarios, above is the vid and below you will find some useful notes.
  • The Bulk Editor allows you to make several content changes at once without having to go page by page using the siteadmin or sites console or node by node using crx de lite.

  • In this Tips and Tricks video I show you a couple of scenarios like:

    How to replace the Resource Type for pages and components when you renamed a component or template

  • Add content into multiple instances of a component inside a page when you have to update several pieces of content and you already have them on a spreadsheet for example

  1. 1.

    Pre-reqs

    • Have access to an Adobe Experience Manager instance
  2. 2.

    Using different query parameters

    • Inside AEM 6.2 you can look directly for the resource type
          aem-bulk-changes-examples/components/structure/page
      
          "sling:resourceType":aem-bulk-changes-examples/components/structure/page
      
          "resourceType":aem-bulk-changes-examples/components/structure/page
      
      You can also search for a partial match
          resourceType:aem-bulk-changes-examples/components/
      
    • In aem 6.3 or 6.4 given that this won’t work, you can use a different query parameter that might return what you need. Bear in mind that some properties won't work as you might expect, like, searching using the jcr:primaryType, in this case you have to just say "type" instead and then it will work. Also if the property has a colon as part of it use quotes around them.
          type:"cq:PageContent"
      
          type:"nt:unstructured"
      
    • You can also mix multiple query parameters, in this case it will try to find nodes that math both query parameters
          type:"nt:unstructured", "sling:resourceType":aem-bulk-changes-examples/components/structure/page
      
  3. 3.

    Adding Custom Properties to the results

    • You can add the properties that you want to be able to modify, here you have to use the complete name.
          cq:template
      
          jcr:primaryType
      
    • You can include more that one column/property too
          cq:template,order,newText
      
  4. 4.

    Enabling the import button

    • To enable the import button on the bulk editor just add “hib=false” into the url, this will instruct AEM to show the import button,
          ?hib=false
      
    • Don't forget to add the root path used for exporting the tsv file
  5. 5.

Comentarios

  1. Other than "type" have you found any other query keys that work?

    ResponderEliminar
  2. why would they remove sling:resourceType as a query parameter? need that the most right now. is there no other way to query for this?

    ResponderEliminar

Publicar un comentario

Entradas populares de este blog

How to copy files from and to a running Docker container

Sometimes you want to copy files to or from a container that doesn’t have a volume previously created, in this quick tips episode, you will learn how. Above is the vid and below you will find some useful notes. 1. Pre-reqs Have Docker installed 2. Start a Docker container For this video I will be using a Jenkins image as an example, so let’s first download it by using docker pull docker pull jenkins/jenkins:lts

How to create an AEM component using Reactjs

In this tutorial, I will show how to use use Adobe's archetype to create an AEM application with React.js support and also how to add a new React.js component so that it can be added into a page, above is the vid and below you will find some useful notes. In the second part we will see how to configure the Sling Model for the AEM React component. 1. Pre-reqs Have access to an Adobe Experience Manager instance. You will need aem 6.4 Service Pack 2 or newer. Have Maven installed, understand how it works and also understand how to use Adobe's archetype, you can watch my video about maven here: Creating an AEM application using Maven and Adobe's archetype 2.

House price prediction 3/4: What is One Hot Encoding

A series about creating a model using Python and Tensorflow and then importing the model and making predictions using Javascript in a Vue.js application, above is the vid and below you will find some useful notes. Here, in part 3 of this series, I will show what is and how does one hot encoding works. In the first post, called House price prediction 1/4: Using Keras/Tensorflow and python , I talked about how to create a model in python, pre-process a dataset I've already created, train a model, post-process, predict, and finally about creating different files for sharing some information about the data for use on the second part. Then in part 2, called House price prediction 2/4: Using Tensorflow.js, Vue.js and Javascript , I took the model, the data for pre and post processing and after loading everything we were finally able to predict