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

Entradas populares de este blog

Creating a Mongo replicaset using docker: Mongo replicaset + Nodejs + Docker Compose

This is a Docker tutorial for creating a Mongo replica set using docker compose and also a couple more containers to experiment with the replica set, above is the vid and below you will find some of the steps followed.
StepsPre-reqsHave node.js installedAnd docker installed (make sure you have docker-compose as well)Create a container for defining configurations for a mongo instanceCreate a container for setting up the replica setCreate a simple node app using expressjs and mongoose (A modified version from the previous video)Create a docker-compose file with the mongo and setup containers and two additional containers for experimenting with the replica setBuild, Run and experiment with your new containers Create a dockerfile for the first mongo container (not really needed but you could configure more stuff if needed)Include container with mongo preinstalled: FROM mongoCreate default/working directory: WORKDIR /usr/src/configsCopy mongo's configurations file into the container
C…

Creating Docker containers for Adobe Experience Manager

This is a Docker tutorial for creating a docker image for the Galen framework, above is the vid and below you will find some of the steps followed. Adobe experience manager is a content management system which in a nutshell is an application that allows us to create web sites to be consumed by end users. You might be familiar with other such applications like wordpress or drupal which serves the same purpose A typical deployment would be comprised of two AEM instances, the author instance used for creating and modifying content, the publish instance which serves the content and finally we have a dispatcher which is a static web server used for caching, load balancing and some security purposes. We can configure an AEM instance to work as an author or publish instance by either changing the file name for the jar file java -jar cq-author-450…

Creating a Docker container for a NodeJs application: Express + Mongo + Docker Compose

This is a Docker tutorial for creating a NodeJs container using expressjs and mongoose, above is the vid and below you will find the steps followed.
StepsPre-reqsHave node.js installedAnd docker installed (make sure you have docker-compose as well)Create an simple node app using expressjs and mongooseModify your container and create a docker-compose fileBuild and Run your new container Create your simple node appInitialize the node appnpm initInstall the dependencies for our appnpm install --save express mongoose Create the database.jsCreate the index.js Create a dockerfileInclude container with node preinstalled: FROM nodeCreate default/working directory: WORKDIR /usr/src/appCopy package.json to workdir and install dependencies (which we will need in this case😊): COPY package.json .RUN npm install Copy the rest of the app (just the index.js file in this case)COPY . .Expose the port required for reaching our expressjs appEXPOSE 3000Add a command to run when this container is star…