Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

davidjgonzalezzzz
Community profile davidjgonzalezzzz Level 4
Job title here
Location here
16 BADGES
Level 4

Level 4

Learn more
Joined the community 21-10-2020 6:23:39 AM
Offline
Top badges earned by davidjgonzalezzzz
Customize the badges you want to showcase on your profile
Re: REQUIRED METADATA MISSING
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager Assets
Can you share your solution with the community? I'm interested to hear what you figured out!

Views

72

Likes

0

Replies

0
Re: Dispatcher filter to allow only mapped post content
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
@Keerthi97 there is no magic bullet for this, since there are any number of ways the HTTP POST endpoints maybe have been defined in AEM. In the best case, all your HTTP POST endpoints are bound with well-known Sling selectors -- so like, HTTP POST /content/site-1/page.my-custom-submisssion.json, where `my-custom-submission` is the identifying selector. If you have a set of well-known selectors, you can allow POST whose URLs contain that Selector or Path pattern .. some examples are here [1] If y...

Views

119

Like

1

Replies

0
Re: External AEM POST Requests renders Content Modified R...
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
The best practice to secure AEM Publish endpoints via Dispatcher is to: 1. First Deny EVERYTHING2. Then Allow only what you need to This is why the first rule in the OOTB AEM Publish Dispatcher is "DENY *" [1] In terms of identifying what URL end-points need to be ALLOWED in Dispatcher for POST'ing depends on your application's design. Hopefully custom POST end-points are bound to servlets registered to Servlets by Resource Type and Selector/Extension, and the resource that has the respective sl...

Views

121

Like

1

Replies

0
Re: Servlet Calls 204 error in AEM 6.5
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
@santhoshm687661 Note that the UI says it shows a maximum of 20 requests at a time. So here's what you need to do (and do these steps in rapid succession).1. Tap the clear button on the Requests console (top right)2. Trigger a POST to the end-point3. Refresh the Requests console page4. Click on the POST to the end-point If this is a local instance, you can also use AEM Chrome Plugin to capture this data on a per-request basis (its actually immensely hands for development, IMO)https://chrome.goog...

Views

264

Like

1

Replies

19
Re: AEM Assets Keyword vs. metadata
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager Assets
An asset's Tags and Keywords *ARE* Metadata. Both are data about the asset. Generally, it's best to align to industry-standard namespaces/properties. You'll see AEM even does this OOTB; instead of inventing its own custom "dam:title" metadata property, it uses the Dublin Core's "dc:title". Using industry-standard namespaces/properties certainly makes your metadata more portable across applications that might use your assets (these apps might be able to reason about industry standard fields that ...

Views

76

Likes

2

Replies

0
Re: External AEM POST Requests renders Content Modified R...
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
Are you attempting to block POST's on AEM Author or AEM Publish? If you are trying to block POST's on AEM Author, don't 🙂 .. AEM uses POSTS and especially those handled by the Sling Default POST servlet liberally. Blocking anything that isn't a POST to a very specific URL is asking to break AEM's OOTB functionalities. You should instead, use ACLs to control what content/content trees an AEM Author can write to via the POSTs (which will result in a 403, not a 200 if the user does not have permis...

Views

148

Like

1

Replies

1
Re: Servlet Calls 204 error in AEM 6.5
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
Sorry - I was talkinbg about the Request Progress Log in AEM available via the OSGi console (http://localhost:4502/system/console/requests) ... What you've posted is your Dispatcher log (which is good to know but wont give us detailed info on how AEM is processing the request)

Views

322

Like

1

Replies

0
AEM CS + Cloud Manager Chrome Extension
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
Figured yall might find this useful. I made a little Chrome Extension for AEM as a Cloud Service development with Cloud Manager; It's not too interesting but reduces some of the friction jumping between AEM CS and Cloud Manager concerns. I tend to add/update/adjust it as I find annoyances in my day-to-day that I can work around w/ this. Do note that this currently only works on adobeaemcloud.com domains (since that's all I use right now :)). Anyhow - this is not an Adobe-supported tool, but feel...

Views

246

Likes

4

Replies

1
Re: Servlet Calls 204 error in AEM 6.5
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
Delete me: ExL Forums double-posted comment

Views

359

Like

1

Replies

0
Re: Servlet Calls 204 error in AEM 6.5
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
@santhoshm687661can you please provide the Request Progress Log for this request? This should help shed quite a bit of light of what's going on - ex. does it stop processing at the CORS filter, or some other Filter, or is it resolving to the incorrect servlet, etc.There is no known issue with any version of AEM that turns non-204 responses to 204 responses. I understand that this used to work pre-upgrade and doesn't now - but you'll have to help w/ the investigation if you want to pinpoint and r...

Views

359

Like

1

Replies

21
Re: Session Handling
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
@Jai1122-1) if you are creating the JCR Session in your code (ie. calling repository.login(..)) then you are responsible for closing that JCR Session (preferably in a finally block). Your JCR Session used to create a cq:User and/or its Token has nothing to do with the security context the user gets when they login with the token. 2) Yes, again, since your code is creating the resource resolver that calls your RepoUtil, you need to also close that resourceResolver when you are finished with it (i...

Views

137

Likes

0

Replies

0
Re: Session Handling
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
Yes, but only if you create that new JCR session/resourceResolver (aka get a service user resourceresolver) you should close it as quickly as possible, ie. when you're done with it. Don't leave them hanging around for any longer than you need them. As Ideally you re-use the resource resolver from with sling request, and since you dont make the resource resolver from the sling request, you wouldnt close that (youd let Sling close that one when its done processing the request)

Views

159

Likes

0

Replies

0
Re: How to order assets in an Orderable folder in AEM 6.5.7?
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager Assets
Hi, Unfortunately, this looks like a regression. Please log an issue with Adobe Support so AEM Engineering team can resolve. You could look at injecting some CSS that resolves this issue in the interim. 1. Make a new cq:ClientLibraryFolder under /apps to hold your temp fix. Assign this ClientLibrary the following category: cq.listview.coral.columns.personalization2. Add a new CSS file (ex. fix.css) to this folder with the CSS rule:.coral-Table-wrapper.is-sorted .coral-Table-row button[icon="drag...

Views

267

Like

1

Replies

0
Re: Session Handling
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
100% don't initialize a resource resolver in your activate method. Keep your ResourceResolvers/JCR Sessions short-lived as you can. Also, rememeber resourceResolvers and JCR Sessions are NOT thread-safe. So if you had a servlet being hit by 2 ppl at the same time, and they both invoke the RepoUtil service using the same resourceResolver, bad things will happen (like end up w/ lost data due to unresolvable state conflicts) Here's what you should do (in order of generic preference), 1. Pass in the...

Views

193

Likes

2

Replies

2
Re: Servlet Calls 204 error in AEM 6.5
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
I think youll need to investigate more. Does this happen on your local dev? Does this happen if you hit your custom servlet directly on AEM (vs. going through dispatcher)? What is the Request Progress log for this request (available in OSGi console)? Does your custom servlet have any code that could return a 204 response?

Views

666

Like

1

Replies

0
Re: Servlet Calls 204 error in AEM 6.5
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
Deleted response. See response in comment below.

Views

669

Like

1

Replies

0
Re: Cloud manager
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
I assume by "sonar properties" you mean setting blanket exclusions at the POM level? It's typically unwise to blanket exclude entire packages/classes from code quality checks. What you should do is:1. Review violations reported by Cloud Manager, and fix the ones you can1. There may be reported issues that aren't for whatever reason you do not want to/cannot change, for these, it is better to explicitly suppress that exact warning for just that method/class similar to [1]. This way if you evolve ...

Views

131

Like

1

Replies

0
Re: Servlet Calls 204 error in AEM 6.5
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
Can you please add more details to this? Which POST requests exactly? What servlets are you hitting? What's going in the error.log?

Views

694

Like

1

Replies

0
Re: Unit test(using osgi-mock.junit5) to read osgi config...
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
Do you have anything in your >/core/target/classes/OSGI-INF folder? You should have a number of XML files, and a metatype folder with more XMLs. Does this exist?

Views

200

Likes

0

Replies

0
Re: Custom search results for global search
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager Assets
Another interesting solution could be the following: 1. For each role/path combo - create a  Hidden predicate on the Assets Search Form 1. Use the excludespaths QueryBuilder predicate to exclude a specific path/path-pattern -- test this out as excludepaths seems like it might be a little slower, you might be able to figure out how to do the inverse using the paths predicate as well.1. Permission those hidden predicates nodes in the JCR to be only read-able by members in the role that shouldn't b...

Views

128

Like

1

Replies

0
Re: Is there a way to report on search terms entered on A...
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager Assets
This data is not persisted OOTB anywhere. If I were to attempt this I would probably start by trying to inject Analytics code (by way of Launch) into the ClientLibrary used for Search. This custom JS would send the searched terms to Adobe Analytics (or whatever web analytics system you have) which would hopefully provide you very easy reporting. If the only place to store this data is in AEM Author, then I might explore a Sling Filter that quickly accepts requests that match a search, and also q...

Views

106

Like

1

Replies

0
Re: Custom search results for global search
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager Assets
Can you simply deny read permissions on the folder for the user group that maps to this role?That will obviously result in these users not being able to browse (or in general, see) these assets, but it sounds like you might not want that anyhow?

Views

117

Like

1

Replies

0
Re: com.google.gson.internal -- Cannot be resolved
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
You're supposed to be directly referencing anything in the com.google.gson.internal package... that's why it's called "internal". See the big warning on the GSON JavaDocs site for these internal packages [1] that reads: Do NOT use any class in this package as they are meant for internal use in Gson. Infact, this package is no longer exported at all in later versions of GSON. The fix is to update your code to depend on Gson's public API space. [1] https://javadoc.io/doc/com.google.code.gson/gson/...

Views

123

Like

1

Replies

0
Re: com.akamai.edgegrid.signer.exceptions,version=[4.0,5)...
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
Adding a depdency in your pom is NOT the same as embedding the dependency and deploying it as part of your package to AEM. You need to do the latter. You can do this in a similar fashion as you embed your Core OSGi bundle in your ui.apps content package.

Views

165

Likes

0

Replies

0
Re: Unit test(using osgi-mock.junit5) to read osgi config...
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
After following the POM updates in the linked blog update, try the following maven commands: $ mvn clean package -DskipTests$ mvn test IIRC I would occasionally run into this issue if the OSGi SCR metadata XML files weren't generated when the tests ran; doing the `mvn clean package` would generate this for me and then allow my tests to run (you could try dialing it back to `mvn clean compile` or other phases/goals)

Views

219

Like

1

Replies

4
Re: Hide Asset Metadata for all user except admin
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager Assets
You can overlay the menu node and add a rendition condition to it. Overlay: /libs/dam/gui/content/assets/jcr:content/actions/secondary/create/items/metadata at /apps/dam/gui/content/assets/jcr:content/actions/secondary/create/items/metadata Add a rendition condition at: /apps/dam/gui/content/assets/jcr:content/actions/secondary/create/items/metadata/granite:renderconditionYou can do something like:sling:resourceType: granite/ui/components/coral/foundation/renderconditions/privilegeprivileges: jc...

Views

100

Like

1

Replies

0
Authenticating to AEM as a Cloud Service from an external application
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager Assets
Use this thread to ask any questions related to the Authenticating to AEM as a Cloud Service from an external application on Experience League. Experts are monitoring this thread to ensure your questions are answered.

Views

158

Like

1

Replies

1
Re: Repository Modernizer error
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
Try version 0.0.8+ of the repo modernizer plugin. The prior version exhibited this symptom, and the way to work around it was to perform a non-global install of @adobe\aem-cs-source-migration-repository-modernizer in the same folder in which you're running the aio plugin from. Ex.$ cd project-to-modernize$ npm i @adobe\aem-cs-source-migration-repository-modernizer But that said, that was fixed in v0.0.8 so just upgrade to the latest version and you should be set.

Views

100

Like

1

Replies

0
Re: Configure access to AEM for Administrators
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
Thanks, @Taishi_Yamada - I've asked the support team to take a look into these issues. Sorry for the inconvenience.

Views

226

Likes

0

Replies

0
Re: Unable to access Package share
Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
- Adobe Experience Manager
Just to avoid confusion for folks that might stumble upon this thread in the future ... Package Share has been replaced with Adobe Software Distribution: https://experience.adobe.com/#/downloads/content/software-distribution/en/general.htmlTo access Software Distribution, you must log in with your Adobe account (Adobe ID/Federated/Enterprise) that is associated with the corresponding Adobe Products (via Adminconsole.adobe.com) that you wish to download items for. For example, to download the AEM...

Views

195

Like

1

Replies

0