since ‎05-08-2015
‎10-12-2019
Gdubz-57m2mu
Level 4
ConstraintViolationException {internal}policy is protected. | Eclipse AEM Dev Tools
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
I've got a problem when attempting to publish/export from Eclipse to my local 6.2 AEM author instance.I'm attempting to migrate some old JSP page templates to a new Arch10 project, we've got a custom page property dialog tab, that is specifically for admins only, so we have some rep:policy information in the dialog.xml file. Here's a snippet of that dialog: ...Here's the AEM console log from Eclipse:[September 28, 2016 10:13:07 AM CDT] AddOrUpdateNodeCommand (CREATE_ONLY_WHEN_MISSING)...

Views

3.2K

Likes

0

Replies

5
Re: Connecting to AEM from JAVA
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
According to this[0], any http(s) URI would use the org.apache.jackrabbit.jcr2dav.Jcr2davRepositoryFactory [1] and I'm not seeing that as one of the RepositoryFactory classes that were consulted. Not exactly an answer, but maybe that'll help you further troubleshoot the issue.[0] https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/commons/JcrUtils.html#getRepository(java.lang.String)[1] https://jackrabbit.apache.org/api/2.2/org/apache/jackrabbit/jcr2dav/Jcr2davRepositoryFactory.html

Views

337

Likes

0

Replies

0
Re: Metadata Schemas vs Metadata Profiles
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
kaushal_mall wrote... If you are adding custom properties, you'll definitely need to update the metadata schema. Whether you create a profile or not depends on whether you want the metadata values to be populated automatically. For example, if you wanted to add a new property to PDFs called mydam:gDubz and want it to be automatically populated with the value "Gdubz is awesome" for all PDFs uploaded to "Gdubz" folder. You would have to Update the PDF metadata schema to add a new filed and map it ...

Views

785

Like

1

Replies

0
Metadata Schemas vs Metadata Profiles
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
What is the difference between these two things and how do they tie together? From what I've read in the documentation:Metadata Schemas have more form field types and they define what values can be entered by an author for a particular asset?Metadata Profiles are the same thing but they're defined automatically when an asset is uploaded?I'm trying to determine the best way to add extra metadata properties for PDFs in a particular folder in the DAM. So I'm guessing Metadata Schemas would be the w...

Views

3.3K

Likes

2

Replies

6
Re: Activate No Longer Works (ActivationReferenceSearchServlet)
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Figured this out -- posting here for anyone else in case they search and land here.This particular case was due to a tag that was being used in the page properties. It's a tag that was deployed from our SVN via maven build. For some reason the date wasn't formatted correctly so the TypeHint was ignored and thus it ended up with the incorrect property type.incorrect date format (there's no 16th month):cq:lastReplicated="{Date}2015-16-08T16:04:04.542-05:00"(this resulted in the property being stor...

Views

334

Likes

0

Replies

0
Re: Activate No Longer Works (ActivationReferenceSearchServlet)
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
smacdonald2008 wrote... Greg - this looks like some sort of bug - not a 'How To' community resource that i can point you to - like an ask the experts or article. I would recommend opening a ticket for this so support and Eng teams are aware of this issue. Roger that, I just opened a daycare ticket, thanks!If I had to guess, it's some asset that's referenced on the page that the activation servlet can't find (thus the NPE), but I've checked every asset that I know is being referenced and they all...

Views

334

Likes

0

Replies

0
Activate No Longer Works (ActivationReferenceSearchServlet)
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
When attempting to activate a page, nothing happens, no error is thrown in the top-right as it usually does. Opening the browser inspector / console, I can see the following error (removed hostname and path to page but they are correct in the console log)widgets.js:3319 GET http://:4502/libs/wcm/core/content/reference.json?path=&_charset_=UTF-8&_dc=1472235528530 500 (Server Error)When I attempt to visit that URL, here is the output log:{"assets":[ java.lang.NullPointerException Cannot serve requ...

Views

811

Likes

0

Replies

3
Re: [BROKEN LINK] Data Modeling - David Nuescheler's Model
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Pretty sure it's not a problem with the docs, it's just that the target destination appears to be down, so it's probably not making it a link because of that?http://www.betaversion.org/~stefano/linotype/news/93/My bad, please disregard.

Views

285

Likes

0

Replies

0
[BROKEN LINK] Data Modeling - David Nuescheler's Model
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Not sure where else to put this, but the link to "Stefano pretty much sums this one up." in the Data Modeling docs is broken, for every single version of the documentation.https://docs.adobe.com/docs/en/aem/6-2/develop/the-basics/model-data.html#Seven Simple Rules

Views

325

Like

1

Replies

2
Re: Solr 6.1.0 not supported for AEM 6.2?
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
JK Kendall wrote... To be safe, stay with Solr 5.4. - JK Just for grins, I tried out Solr 5.5.2 and managed to get MSRP working with both the OOTB Community Components testing sitearea and the We.Retail sample community content:/content/community-components/en/comments.html/content/we-retail/community/en/questions.htmlWas able to query for new test UGC in both Solr admin panel as well as mongo shell!> db.content.find({ author_username:'aparker@geometrixx.info' }).pretty() { "_id" : "b4ed87dc5552...

Views

281

Likes

0

Replies

0
Re: Solr 6.1.0 not supported for AEM 6.2?
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
JK Kendall wrote... Hi Greg, Currently, only Solr 4 and 5 are supported for MSRP. I do not know what are the plans. BTW - I'm moving this to the AEM Communities topic so others might see it. - JK Just to be clear, do you know if it's fully supported with the latest version of Solr 5 (v5.5.2)?

Views

280

Likes

0

Replies

0
Re: Solr 6.1.0 not supported for AEM 6.2?
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Sorry again for wrong forum, thanks for the answer!

Views

281

Likes

0

Replies

0
Solr 6.1.0 not supported for AEM 6.2?
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
No worries!You're more than welcome.Good questions!- JK

Views

1.0K

Like

1

Replies

7
Re: From CollabUtils to SocialUtils to ... ?
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
JK Kendall wrote... Gdubz wrote... On the "Social Component Framework" page under the "Component Customization and Extension" section, those links to OperationExtension, SlingPostOperation, and OperationServices don't work. I can look them up in the javadocs, just thought I'd point that out, that they don't actually go anywhere or do anything. 😞 Thank You for pointing that out. I fixed the links - they go to the client-customize and server-customize pages. I'll keep looking through the links yo...

Views

409

Likes

0

Replies

0
Re: From CollabUtils to SocialUtils to ... ?
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Don't know why the link in my original post doesn't work anymore, but this is where I found "prepareUserGeneratedContent()":https://docs.adobe.com/docs/en/aem/6-2/develop/ref/javadoc/com/adobe/cq/social/ugcbase/SocialUtils.html#prepareUserGeneratedContent(org.apache.sling.api.resource.ResourceResolver,%20java.lang.String)It's a method we've been using since we built our site originally on CQ 5.5: https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/collab/commons/CollabUtil.html#prepareUse...

Views

316

Likes

0

Replies

0
From CollabUtils to SocialUtils to ... ?
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Planning upgrade from CQ 5.6.1 to AEM 6.2 and we've got a considerable number of social components that we wrote from scratch heavily utilizing some now extremely deprecated packages/classes. The most common of which, I'm having trouble tracking down a replacement for: prepareUserGeneratedContent(); Found that it still exists in the 6.2 documentation but can't exactly use it how we're using it today in CQ 5.6.1... In the past we would create/get the UGC node from the path of the resource/page ca...

Views

973

Like

1

Replies

5
Re: AEM + SiteCatalyst Customization
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Thank you Gigazelle and kautuksahni, I'll review with our Adobe Analytics team to see if DTM is an option.

Views

192

Likes

0

Replies

0
Re: AEM + SiteCatalyst Customization
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
smacdonald2008 wrote... I have asked our Analytics Community Manager to look at this question. Thank you so much Scott! Despite all the training I've taken, there seems to be nothing concrete about how to customize SiteCatalyst integration. This is the best I've found so far and I'm not sure if I can make a call to a back-end Java class to get the variables' values that I need... Adding Custom JavaScript to a SiteCatalyst Framework

Views

188

Likes

0

Replies

0
Re: How does sightly code excess global objects in AEM6
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
That's all available still, check out https://docs.adobe.com/docs/en/htl/docs/global-objects.htmlThat link lists all of the global objects you can use within your sightly component.

Views

324

Likes

0

Replies

0
Re: Number Of Templates for a site
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
I think the answer is really up to how much customization you want the final author to have to do. You could establish a base page that has a hardcoded (but still configurable header/footer) and then a parsys on the page itself (for columns or whatever you want) and then be done with it, but that's leaving all the work on an author to configure the layout for the page (via column components) for every. single. page.Whereas if you defined a "left rail template" (for example), that extends your ba...

Views

246

Like

1

Replies

0
AEM + SiteCatalyst Customization
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Hi all,I've recently been trying to configure our AEM 6.0 project in such a way that it reports custom page variables to SiteCatalyst using some of the predefined eVars. I've setup an Adobe Analytics Framework page that successfully logs in to SiteCatalyst server and even created an Adobe Analytics Configuration page. I've also created an "analytics" node under my base page component with the property "cq:trackVars" and the variables of the custom clientcontext datastore that I've created. The p...

Views

425

Like

1

Replies

6
Re: Main differences between the System User and the normal User which is created from useradmin console.?
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Would say a major difference between rep:User and rep:SystemUser is that one doesn't explicitly have a password set, nor is one really needed... The system user is configured in such a way that it can only be used by sub-services that have been mapped with the org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl OSGi Config Factory. This allows you to use a resource resolver that isn't an individual end user/author, nor is it the full-access admin resolver.TL;DR; Why do this? What are ...

Views

604

Likes

0

Replies

0
Re: AEM Queries
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
squid267 wrote... Interested in hearing about assets sitting on DAM. Starting to become a problem for us. You too, huh?

Views

407

Likes

0

Replies

0
Re: Event listener with a Workflow Launcher
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Have you given any thought to writing a WorkflowProcess step and including it at the end of the DAM Update Asset workflow? Maybe create a copy of the DAM Update Asset workflow first and the modify the Launchers to use your custom DAM Update Asset workflow instead of the OOTB one.

Views

687

Likes

0

Replies

3
Author (4502) Session Timeout after making an anonymous GET request on Publish (4503)
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Version: AEM 6.0.0 SP3I hope I phrased the title clearly enough... I had just started up a local author (on 4502) and local publish (on 4503), logged in to my author instance as admin and then loaded up the default content page for my publish instance (without logging in). As soon as I tabbed back to my author tab, I was logged out. I thought this was odd, so I logged in again. My session was fine until I went back to check a page on the Publish side and next action I took in Author again, I was...

Views

215

Likes

0

Replies

0
Re: User generated content access (community)
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Juan Camacho I. wrote... Hi, thank for the help. I have tried to use: "import com.adobe.cq.social.srp.utilities.api.SocialResourceUtilities;" but eclipse cannot resolve the incluse, is there a jar or something to be done before using that class? Regards, Juan C I believe you may need to include the social API as it appears to have been separated from the Uber JAR. (Documentation: https://docs.adobe.com/docs/en/aem/6-1/develop/communities/code-guide/maven.html#Communities API Jar Artifact) com.ad...

Views

990

Likes

0

Replies

2
Re: User generated content access (community)
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
If you're just reading information from the JCR and not writing to it, no need to adapt away from Resource. Per the AEM - Quick Reference, it's best practice to use Resource and ValueMap to retrieve information.Also, you could continue to traverse the resource tree as you're trying to do now, or you could use QueryBuilder to search for what you want. There's a good usage example in the documentation I linked.

Views

990

Likes

0

Replies

0
Re: AEM 6.0 Tagging Count Usage
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
For reference to anyone else who may find this thread. The Tag Administration site's (http://localhost:4502/tagging) Count usage button appears to only count tags that are used in the "Tags/Keywords" dialog of a page's properties.Per Adobe's recommendation, if you need to count the usage of tags used in a custom component's TagInputField ("tags" xtype), the best way would be to create a Sling Servlet or a service to fetch that information using the TagManager API. Scott (smacdonald2008) put toge...

Views

187

Likes

0

Replies

0
Re: Searching for Adobe Experience Manager Tags using the TagManager API
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Hi Scott,Are there any benefits to fetching a TagManager via a Session using JcrTagManagerFactory over say...adapting the resolver directly?// invoke the adaptTo method to create a TagManager ResourceResolver adminResolver = resolverFactory.getAdministrativeResourceResolver(null); TagManager tMgr = adminResolver.adaptTo(TagManager.class);I'm just curious what the difference is, if any. Both methods would effectively use the permissions of the chosen resolver (admin, user, or service) anyway, rig...

Views

321

Likes

0

Replies

1
Re: AEM 6.0 Tagging Count Usage
Avatar

Gdubz-57m2mu

Gdubz-57m2mu
- Adobe Experience Manager
Hi Scott,This was strictly an example I setup to test why the count usage wasn't working in any of our project's custom components that utilize the out-of-the-box tags xtype. I can try to package up the component but the Java logic is in our project bundle. Do you want me to extract the java and place it in a scriptlet in the component's JSP before sending or should I just paste everything in code snippets here? It's all pretty straightforward/simple stuff.Thanks for the speedy reply!- Greg

Views

180

Likes

0

Replies

0