since ‎01-03-2016
‎20-10-2020
grantc99475970
Level 2
6.4 "Invalid SAML token" error
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
I am working through this tutorial, trying to get SAML SSO to work.I am using Azure AD as the identity provider, and I have a local instance of AEM 6.4 running on my machine. To expose it to the internet, I am using a tool called ngrok. I have also followed the instructions here to configure the SAML logger When I attempt to log in, the logger reports these errorscom.adobe.granite.auth.saml.util.SamlReader Signature verification failed. No signature. com.adobe.granite.auth.saml.model.Assertion I...

Views

271

Likes

0

Replies

3
Re: Create a new "Asset Report" template?
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
The first link: Asset ReportsThis is what I used to generate the first report. As I mentioned, I find it's a lot of work to add in all the custom fields in order to create the report that I need, and I don't see an option to save all those fields so that I can reuse them. That's what I want, the "add a bunch of custom fields and reuse them later" functionality. I don't see instructions on how to do that on this page.The second link: https://helpx.adobe.com/experience-manager/6-3/sites/developing...

Views

1.1K

Likes

0

Replies

1
Create a new "Asset Report" template?
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
At localhost:4502/mnt/overlay/dam/gui/content/reports/createreportwizard.html there are a list of report types that you can use to generate reports.How can I create a custom type. Is that possible?I find it's a lot of work to add in all the custom fields in order to create the report that I need, and I don't see an option to save all those fields so that I can reuse them.

Views

1.2K

Like

1

Replies

3
Re: Scheduler created through archetype 19 doesn't seem to ever run OOTB
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
I compared your files with mine, and see no major differences. I updated a few plugin/dependency versions, but that didn't seem to help.My issue is that the plugin activates, but the run function is never hit. Does yours run?EDIT: Oh, I think it has to do with my cron-expression. I was using " * * * * * * " and never saw it run. Then I changed it to "0 * * * * ?" and then I saw it running. I guess I didn't understand how cron expressions work.

Views

722

Likes

0

Replies

0
Scheduler created through archetype 19 doesn't seem to ever run OOTB
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
Using AEM 6.5, I'm trying to create a Scheduler, similar to this: Adobe Experience Manager Help | Scheduling Adobe Experience Manager Jobs using Apache Sling But these linked instructions appear to not work with 6.5.So instead, I'm basing my scheduler off the archetype 19 available here: https://github.com/adobe/aem-project-archetype , however, I'm still having issues.To create a new bundle, I run:mvn archetype:generate -DarchetypeGroupId="com.adobe.granite.archetypes" -DarchetypeArtifactId=aem-...

Views

844

Likes

0

Replies

2
Re: Is there a way to recover from this compilation error
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
Yep, that works! Thanks for saving me a lot of time restarting AEM!

Views

644

Likes

0

Replies

0
Is there a way to recover from this compilation error
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
AEM 6.4Let's say I make a mistake when compiling Java. I'm missing a semicolon on line 3<%! private String Test(){ System.out.println("Test print") return "Test"; }%>And let's say I @include this file inside of /libs/dam/gui/coral/components/admin/contentrenderer/base/base.jsp%><%@include file="/apps/test/test.jsp"%><%It'll get into an error state telling me of my Java syntax error. If I fix it by adding in the missing semicolon and refreshing the page, it'll throw the same error again and won't...

Views

1.0K

Like

1

Replies

5
Re: AEM 6.4 Servlet POST request not hitting servlet
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
arunp99088702I think I'm using the new osgi annotation. I have also tried the solution in Jorg's answer on the related post before asking this question.My imports for the servlet are these:import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.api.SlingHttpServletResponse;import org.apache.sling.jcr.api.SlingRepository;import org.apache.sling.api.servlets.SlingAllMethodsServlet;import org.osgi.service.component.annotations.Component;import org.osgi.service.component.annotati...

Views

3.3K

Likes

0

Replies

0
AEM 6.4 Servlet POST request not hitting servlet
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
My problem is similar to the one described here: AEM 6.4 - Java sling servlet does not work with uber 6.4 jar, but does with uber 6.3 I have the following Servlet:@Component(service=Servlet.class, property={ Constants.SERVICE_DESCRIPTION + "=Video servlet", "sling.servlet.methods=" + HttpConstants.METHOD_POST, "sling.servlet.paths="+ "/bin/damUpload/video" })public class VideoServlet extends SlingAllMethodsServlet {// ... @Override protected void doPost(SlingHttpServletRequest request, SlingHttp...

Views

7.0K

Like

1

Replies

9
Can't edit node properties in crx/de after asset is checked in
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
In the terminology I'm familiar with, "to check something out" is to reserve it. "To check something in" is to commit your changes and free it for future use.I have some server-side code that performs some operations and creates a new node after a file is uploaded. After I check this new node out and check it back in again, I'm getting an error when attempting to tweak it in crx/de:Could not save changes. Received 409 (Conflict) for saving changes in workspace crx.default. Cannot set property. N...

Views

980

Like

1

Replies

1
Re: Anonymous user missing css
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
Fixed it. I needed to change my Apache Sling Authentication Service and add allow specific routes to be accessible without authorization:-/apps/dam/gui-/libs/granite/ui-/apps/granite/core/contentThis enabled the CSS.

Views

1.0K

Likes

0

Replies

0
Anonymous user missing css
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
I'm attempting to configure AEM so that you can share assets with anonymous users through sharing a link or a collection, and it works somewhat, only anonymous users aren't seeing the CSS:In the browser console I get two errors from the linkshare.html page: linkshare.html?path=/content/dam/collections/4/4qh_B3kBIUAA3KDxP_d0/shared_collection&sh=f9efa7e1_e…:11 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:4502/apps/granite/core/content/login.html?r...

Views

2.1K

Likes

0

Replies

2
Re: Clientlib is pulled in twice
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
smacdonald2008 wrote... Name your new clientlib category something unique like foo. Then reference that unique name in your component. It will not load other clientlibs. I renamed the share page to something unique (dam.gui.adhocshare.sharepagecustom), but the problem persists. Pictured: the categories property of /apps/dam/gui/components/admin/adhocassetshare/clientlibs/landingpage

Views

2.6K

Likes

0

Replies

0
Re: Clientlib is pulled in twice
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
smacdonald2008 wrote... Try changing the name of the clientlib in your overlayed component and ensure you update the name of it in the component - there should be no link back to the original client lib. I changed the name of the file/apps/dam/gui/components/admin/adhocassetshare/clientlibs/landingpage/js/landingpage.jsto/apps/dam/gui/components/admin/adhocassetshare/clientlibs/landingpage/js/landingpage2.jsI also changed the reference inside of js.txt, and now everything works as expected. I wa...

Views

2.6K

Likes

0

Replies

2
Re: Clientlib is pulled in twice
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
nupurj17891248 wrote... What I can possibly think of is that you have copied the content from libs to apps i.e now there are two clientlib folders 1. /libs/dam/gui/components/admin/adhocassetshare/clientlibs/shareembeddedpreview 2. /apps/dam/gui/components/admin/adhocassetshare/clientlibs/shareembeddedpreview with category : embeddedadhocassetsharepreview This category embed your landing page clientlib : dam.gui.adhocshare.sharepage Somewhere in your page you are including clientlib : embeddedad...

Views

2.6K

Likes

0

Replies

0
Re: Clientlib is pulled in twice
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
smacdonald2008 wrote... Try changing the name of the clientlib in your overlayed component and ensure you update the name of it in the component - there should be no link back to the original client lib. I'm not sure what you're referring to. I don't think I have an overlayed component. I just copied the folder and structure from /libs into /apps and begun modifying my copy in apps.Also, if it were hitting the original client lib, it shouldn't be logging "console.log('test')", since that code on...

Views

2.6K

Likes

0

Replies

0
Clientlib is pulled in twice
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
I've taken the adhocassetshare folder from /libs and made a copy inside /apps so that I now have " apps/dam/gui/components/admin/adhocassetshare " Inside of /apps/dam/gui/components/admin/adhocassetshare/clientlibs/landingpage/js/landingpage.js I put console.log('test'); inside the first few lines, like so:(function (document, $) { "use strict"; console.log('test'); function createModal(modalId, modalHeader) { When I view the browser console, I see two "tests", one from shareembedded.js:93229, a...

Views

3.1K

Like

1

Replies

7
Re: Why isn't my value being @Injected?
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
I'm not trying to use the variable `executionID` in my html, I'm trying to set the value in java. I'd like to include the property for `executionID` on a node, then @Inject it in a java class. The current problem is that the value always appears as the default. See my code above.

Views

2.5K

Likes

0

Replies

3
Re: Why isn't my value being @Injected?
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
I reviewed that article and the working package, but it's not apparent where the problem is.

Views

2.5K

Likes

0

Replies

1
Why isn't my value being @Injected?
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
I have this property called "executionID" set on my node. In Helloworld.html I have this line:I then read "hello.value" My TestModel looks like this: package test.core.models; //imports... @Model(adaptables = Resource.class) public class TestModel { @Inject @Default(values="0000000000000") private String executionID; public String value; private final Logger logger = LoggerFactory.getLogger(getClass()); @PostConstruct protected void init(){ try{ logger.info("executionID is " + executionID); // m...

Views

7.4K

Likes

0

Replies

9
I've written a Servlet with a resourceType. How do I use it?
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
I have this Servlet that merely returns some data from an external server. package com.realeyes.testapp.core.servlets; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.SocketTimeoutException; import java.net.URL; import java.net.URLConnection; import javax.servlet.ServletException; import org.apache.felix.scr.annotations.sling.SlingServlet; import org.apache.sling.api.SlingHttpServletRequest; import org.apache.sling.api.SlingHttpServlet...

Views

1.6K

Likes

0

Replies

1
Re: Cannot create a new page?
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
This is because I had the sling:resourceSuperType for the page set wrong. Once I fixed that, I was able to set the properties.

Views

771

Likes

0

Replies

0
Cannot create a new page?
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
I'm working with AEM 6.2I've created a template, and would like to create a page based off of it.However, when I go to create my page, I get a blank screen after I click "Next".How can I fix this, or otherwise create a page based off of a template?

Views

1.8K

Likes

0

Replies

1
Re: Cannot publish certain projects to server?
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
bump

Views

604

Likes

0

Replies

0
Cannot publish certain projects to server?
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
Eclipse v4.5.2Maven v3.2.5 Java version: 1.8.0_101OS: Windows 10 After I create a new project in AEM 6.2 using the Eclipse plugin, I cannot publish certain components of my project to the server. Here's an image of my workspace, showing the only two components that I am able to add in the "Servers" tab: Here's my "Add and Remove servers" screen. It shows that .core, launcher, and tests aren't even options: To create this project, I went to File > New Project... > AEM > AEM Sample Multi-Module Pr...

Views

1.1K

Likes

0

Replies

4
Error connecting to server in debug mode
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
After starting the server with java -jar cq-author-4502.jar -debug 10123:$ java -jar cq-author-4502.jar -debug 10123Loading quickstart properties: defaultLoading quickstart properties: instanceLow-memory action set to forkUsing 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork arguments=[-Xmx1024m, -XX:MaxPermSize=256m]The JVM reports a heap size of 2715 MB, meets our expectation of 1024 MB +/- 20Debugging requested on port 10123, forcing forkPreparing to fork JVM, OS name=Wind...

Views

994

Likes

0

Replies

0
http://localhost:4502/example/structure/page returns 404
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
When I create a sample project in Eclipse, deploy it, and attempt to navigate to the sample page, http://localhost:4502/example/structure/page , I get a 404 errorAfter:Going through the process described in this topic,Naming my project "example"Connecting "example.ui.apps" and "example.ui.content" to the Serverdoing a "Clean and publish"I can see my project in the "apps" folder at localhost:4502/crx/deAt this point I get the 404 error when connecting to http://localhost:4502/example/structure/pa...

Views

642

Likes

0

Replies

0
Missing class?
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
In the "Writing Sling Servlets" video, this is what I see when watching the video:When I attempt to add this class, it doesn't come up in the autocomplete for me:According to the documentation, this is apparently part of org.apache.sling.api.servlets class.Inside of the "company" sample project, I don't see the org.apache.sling.api class in the POM.xml, so it makes sense that the sub-class doesn't exist.I attempted to add the dependency by adding this to the end of my dependencies list inside my...

Views

673

Likes

0

Replies

1
Error when creating an AEM project in Eclipse
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
When attempting to follow along with the Back-end Developer Workshop video: "Using the AEM Eclipse Plug-in", I get errors that I don't see represented in the video.First I create a project.Next I choose the archetypeThen I set up my properties like they are in the videoThen I start up my server and wait until I an access the page at localhost:4502Then I set up my new serverHere's what happens after I hit "Finish":Here is the expanded "Problems" tab.If I do as Eclipse suggests and update the proj...

Views

3.4K

Likes

2

Replies

4
AEM 6.1: Back-end Developer Workshop: The "company" project won't deploy to the server
Avatar

grantc99475970

grantc99475970
- Adobe Experience Manager
When I follow the video "Installing and configuring Eclipse", my output at the end does not match what is shown in the video. The "company" project does not appear in the "apps" list.After running into, and solving this problem, the project does not appear to deploy correctly. Is there anything I'm doing wrong? How can I get it to appear?mvn --version output:Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T09:41:47-07:00)Maven home: C:\Program Files\apache-maven-3.3.9-bin...

Views

985

Like

1

Replies

1