since ‎30-05-2017
‎10-12-2019
RobertBailey201
Level 3
Is it possible to temporarily 'lock' content authoring while packages / bundles are installed?
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,Is it possible to temporarily 'lock' content authoring during an installation / maintenance window , for example while packages / bundles are being installed?Thank you for your time.

Views

887

Likes

0

Replies

2
Is it possible to view pages on Author server without logging in?
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,Is it possible to view pages on Author server without logging in?Thank you for your time.

Views

645

Likes

0

Replies

2
Rich Text Editor , full screen mode , image icon greyed out?
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,Does anyone know how to enable the image icon in the Rich Text Editor , full screen mode , on AEM 6.4 ?Thank you for your time and expertise.

Views

1.8K

Like

1

Replies

2
How to create content node from Java Servlet on AEM 6.3 ?
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,How can I create a new content node (or edit an existing content node) from a Java Servlet on AEM 6.3 ?I have attached below the Servlet source code.Thank you for your time and best regards.--------import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.api.SlingHttpServletResponse;import org.apache.sling.api.resource.Resource;import org.apache.sling.api.resource.ResourceResolver;import org.apache.sling.api.servlets.HttpConstants;import org.apache.sling.api.servlets.Sl...

Views

1.8K

Likes

0

Replies

2
Re: resourceResolver.commit() , works on Author server , throws "Access denied" on Publish server
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
THANK YOU ALL!! Got there eventually using the steps below to create a System User , and then "map" System User with OSGi bundle :-1.1. Goto http://localhost:4542/crx/explorer/index.jsp1.2. Login as admin1.3. Click "User Administration"1.4. Click "Create SYSTEM User"1.5. Input UserID (for example "content-writer")1.6. Click green tick to create System UserRepeat above process for Publish server (http://localhost:4543/crx/explorer/index.jsp)2.1. Goto http://localhost:4542/system/console/configMgr...

Views

997

Likes

0

Replies

0
Re: resourceResolver.commit() , works on Author server , throws "Access denied" on Publish server
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Thank you for your replies. I have tried running the following Java code , to get a ServiceResourceResolver , for EVERY User listed in http://localhost:4502/useradmin :- private void getServiceResourceResolverForUser(final String user) { try { final Map param = new HashMap<>(); param.put(ResourceResolverFactory.SUBSERVICE, user); final ResourceResolver rr = resourceResolverFactory.getServiceResourceResolver(param); log("SUCCESS: " + rr.toString()); } catch (Exception e) { log("FAIL: " + e.getMes...

Views

1.1K

Likes

0

Replies

0
Re: resourceResolver.commit() , works on Author server , throws "Access denied" on Publish server
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi,Thanks for your replies.The ResourceResolver is injected using the following :- @Inject private ResourceResolver resourceResolver;

Views

995

Likes

0

Replies

0
resourceResolver.commit() , works on Author server , throws "Access denied" on Publish server
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,I have a Java component bean which creates a child resource and then calls resourceResolver.commit().It is working fine on the 6.3 Author server.But on the 6.3 Publish server it is throwing the following exception:-org.apache.sling.api.resource.PersistenceException: Unable to commit changes to session.Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakAccess0000: Access denied at org.apache.jackrabbit.oak.security.authorization.permission.PermissionValidator.checkPermissio...

Views

3.1K

Like

1

Replies

12
Re: How to include an HTL list inside an HTL list
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Thanks Arun.....Very strange.....Does not work on my AEM 6.3 server. Only displays outer list and does not display inner list.....

Views

590

Likes

0

Replies

0
Re: How to include an HTL list inside an HTL list
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
I have also tried the HTL code below which produces the same result.Example 1 works.Examples 2 and 3 only render outer loop and don't render inner loop.Why are examples 2 and 3 not showing the inner loop?How can I include an inner loop inside an outside loop?Thanks.-------------------------EXAMPLE 1 (WORKS)------------------------- 3:${outerListItem} 4:${innerListItem}-------------------------EXAMPLE 2 (FAILS TO RENDER INNER LOOP)------------------------- 3:${outerListItem} 4:${innerListItem} ...

Views

579

Likes

0

Replies

0
How to include an HTL list inside an HTL list
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,I have the following Java code in my Java component bean :-public List getOuterList(){ final List outerList = new ArrayList(); outerList.add("Outer1"); outerList.add("Outer2"); outerList.add("Outer3"); return outerList;}public List getInnerList(){ final List innerList = new ArrayList(); innerList.add("Inner1"); innerList.add("Inner2"); innerList.add("Inner3"); return innerList;}The HTL below (examples 2 and 3) is not producing the expected result :--------------------------EXAMPLE 1 (WORK...

Views

1.0K

Likes

0

Replies

4
Re: Recursive HTL template language
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Resolved. Thanks.____ ${menuNavItem.title} ${menuNavItem.title}

Views

569

Likes

0

Replies

0
Recursive HTL template language
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,Is there any way I can convert the code below to be recursive?Thanks for your help,Best regards,Robert____ ${menuNavItem.title} ${menuNavItemB.title} ${menuNavItemC.title} ${menuNavItemD.title} ${menuNavItemE.title} ${menuNavItemF.title}

Views

659

Likes

0

Replies

1
Re: How to add image selector or image picker to AEM 6.3 page properties?
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Resolved. Thanks.

Views

641

Likes

0

Replies

0
How to add image selector or image picker to AEM 6.3 page properties?
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,How do I add an image selector or image picker to AEM 6.3 page properties?I have attached example page properties below.Thank you for your help.__________________________________________________________________

Views

887

Likes

0

Replies

1
How to add dialog options (page properties) to AEM 6.3 page template?
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,How do I add dialog options (page properties) to an AEM 6.3 page template?Thank you for any advise.

Views

397

Likes

0

Replies

1
Re: Problem adding Java component bean to AEM 6.3 component in Eclipse
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Thanks. It is working now. If I have any more questions I will open a new questions.

Views

684

Likes

0

Replies

0
Re: Problem adding Java component bean to AEM 6.3 component in Eclipse
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Thanks Arun,I've had a look in http://localhost:4502/system/console/bundlesThe package is "Installed" but not "Active".In the Imported Packages section is the following error :-org.apache.commons.lang3,version=[3.7,4) -- Cannot be resolvedDo you know how I can resolve this error?Thank you again for your time.

Views

640

Likes

0

Replies

0
Problem adding Java component bean to AEM 6.3 component in Eclipse
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,I am trying to add a Java component bean to an AEM 6.3 component in Eclipse.I have added the following Java class to the "core" section in the Eclipse project :-package test;import com.adobe.cq.sightly.WCMUsePojo;public class TestComponentBean extends WCMUsePojo{ @Override public void activate() throws Exception { } public String getContent() { return "TEST CONTENT"; }}I have added the following HTML to the page template in the "ui.apps" section in the Eclipse project :- ${componentBean....

Views

1.2K

Likes

0

Replies

4
How to add new page template to Eclipse AEM 6.3 project
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,How do I add a new page template to an Eclipse AEM 6.3 project ?Are there step-by-step instructions explaining how to add a new page template to an Eclipse AEM 6.3 project ?I created the Eclipse AEM 6.3 project using Creating an Adobe Experience Manager 6.3 Project using Adobe Maven Archetype 12 In Eclipse I can see the following folders amongst other folders :-project.coreproject.it.launcherproject.it.testsproject.ui.appssrc/main/content/jcr_rootapps.project.components.structure.pageapps...

Views

966

Likes

0

Replies

2
Where is global template in AEM 6.1 ?
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,I am trying to follow the following instructions using an AEM 6.1 server :-Adobe CQ/Adobe AEM: How to find component load time on a page in CQ In step 2 it says Make sure that timing.jsp is included in your global template.Does anyone know where the global template is in AEM 6.1 or how I can find it?Thanks for your help and best regards,Robert

Views

1.3K

Likes

0

Replies

2
Unit testing component bean which calls this.getWcmMode().isDisabled()
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,I am trying to unit test an AEM component bean using JUnit 4.The component bean extends AbstractSightlyComponentBean and it calls this.getWcmMode().isDisabled().When unit testing, this.getWcmMode() is returning null.Does anyone know how I can set or mock WCM Mode within JUnit 4 testing enviromnnent?Thanks your your time,Best regards,Robert

Views

564

Likes

0

Replies

1
Upgrading from AEM 6.1 to AEM 6.3
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,I am trying to upgrade an AEM 6.1 application to AEM 6.3 using the following instructions :-https://docs.adobe.com/docs/en/aem/6-3/deploy/upgrade.htmlAfter invoking "runAllPreUpgradeTasks()" , the following is reported in crx-quickstart/preUpgradeHCStatus.properties :-areAllPreUpgradeHealthChecksOK=falseMaintenance Task com.day.cq.wcm.core.impl.VersionPurgeTask=OKMaintenance Task WorkflowPurgeTask=OKMaintenance Task RevisionCleanupTask=OKModified Deprecated Indexes=OKMaintenance Task com....

Views

1.2K

Likes

0

Replies

2
Re: How to show recent changes on page or changes which have not been published / approved?
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Thank you kautuksahni,I also found the following documentation :-https://docs.adobe.com/docs/en/aem/6-3/author/page-authoring/working-with-page-versions.htmlhttps://docs.adobe.com/docs/en/aem/6-3/author/site-page-features/page-diff.html

Views

557

Likes

0

Replies

0
How to show recent changes on page or changes which have not been published / approved?
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,Is there any way in AEM to show or high-light recent changes on a page or changes which have not been published?For example draw a red border around components which have had edits made to them which have not been approved?Thanks.

Views

788

Likes

0

Replies

2
Re: Author&publisher attempting to use same port AEM 6.3
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
I have the same problem on AEM 6.3. Cannot publish (activate) pages from 6.3 Author server to 6.3 Publish server.It works on 6.2 (previous version) but it does not work on 6.3 (newest version).No information in the documentation.

Views

3.1K

Like

1

Replies

1
<cq:include> for an AEM 6.3 HTML file?
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,Does anyone know how I can do a "" on am AEM 6.3 HTML file?I am trying to import an old AEM 6.2 JSP Component into an AEM 6.3 project.The old AEM 6.2 JSP Component contains the following line :- When I include this in the AEM 6.3 HTML file , it is including in literally when I view the output page source in the BrowserI have tried adding the following to the top of the AEM 6.3 HTML file but this does not solve the problem :- <%@taglib prefix="cq" uri="http://www.day.com/taglibs/cq/1.0" %>...

Views

4.0K

Like

1

Replies

1
AEM 6.3 , get the current Page from Java 'Model' class
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,In an AEM 6.3 project , how can I get the current Page reference from a Java 'Model' class , for example 'HelloWorldModel' (see example source below).I would like to pass reference to current Page to Navigation (com.day.cq.wcm.foundation.Navigation).On AEM 6.1 there was method getCurrentPage() defined in com.adobe.cq.sightly.WCMUsePojo which was the parent class for a Component bean class.On AEM 6.3 I don't have access to getCurrentPage() from the 'Model' class (see example below).Thanks,...

Views

10.7K

Likes

0

Replies

3
Re: Updating tagging languages property (http://localhost:4522/crx/de/index.jsp#/etc/tags) from an AEM Eclipse project?
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Thanks Nupur.   That has solved the problem!Best regards.

Views

612

Likes

0

Replies

0
Updating tagging languages property (http://localhost:4522/crx/de/index.jsp#/etc/tags) from an AEM Eclipse project?
Avatar

RobertBailey201

RobertBailey201
- Adobe Experience Manager
Hi All,Is it possible to update the tagging languages property from an AEM Eclipse project?The tagging languages property is located under http://localhost:4522/crx/de/index.jsp#/etc/tagsI can manually update it using CRX/DE but I don't seem to be able to update it by deploying Eclipse project to the AEM Server.I have added the following file to my Eclipse project in location /src/main/jcr_root/etc/tags/.content.xml :- Thanks,Robert

Views

931

Like

1

Replies

3