since ‎02-02-2015
‎10-12-2019
bfvaughn
Level 2
Re: Sling Model error, not injecting property
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
Sorry, I should have included the imports:import com.citytechinc.cq.component.annotations.Componentimport org.apache.sling.models.annotations.ModelSo the wierd part is that NOT_SELECTED is the value for the property bottomMargin.The property bottomMargin in an enum defined below.public enum Margin { @Option(text = "Not Selected") NOT_SELECTED("") private String cssClass; private Margin(String cssClass) { this.cssClass = cssClass; }}

Views

525

Likes

0

Replies

0
Sling Model error, not injecting property
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
Here is the warning...08.11.2017 08:46:03.433 *WARN*org.apache.sling.models.impl.injectors.ResourcePathInjector Could not retrieve resource at path NOT_SELECTED for field bottomMargin. Since it is required it won't be injected.here is the groovy code:@Component(value="Thumbnail",tabs = [@Tab(title = "General"), @Tab(title = "Advanced"), @Tab(title = "Override")],group="Basic")@Model(adaptables=Resource,defaultInjectionStrategy=DefaultInjectionStrategy.OPTIONAL)@Slf4jclass Thumbnail implements Bo...

Views

1.5K

Likes

0

Replies

4
Permissions for AssetShare on Publisher
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
Hello,We sre trying to use the Asset Share functionality on a publisher instance. We are seeing errors when we try to use the Lightbox functionality on the AssetShare page or viewing an asset in the assetviewer page. Here is the exception: 06.11.2017 10:19:52.377 *ERROR* [0:0:0:0:0:0:0:1 [1509985192298] GET /content/dam/client/client-dot-com/cmsimages/120145_wl_MATLABtoC_figure2_wl.jpg.form.html/content/asset-share/assetviewer.html HTTP/1.1] com.day.cq.dam.core.impl.lightbox.LightboxServiceImpl ...

Views

517

Likes

0

Replies

5
Re: Permissions for AssetShare
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
Is this still an issue in AEM 6.2?

Views

1.7K

Likes

0

Replies

0
Re: AEM 6.2 Text component anchor issue
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager Forms
Turns out the linkPlugin was overridden. Fixed the issue.

Views

374

Likes

0

Replies

0
AEM 6.2 Text component anchor issue
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager Forms
We are in the process of upgrading to aem 6.2 and we found an issue with the general Text component. When saving changes that includes an anchor tag we see the below error in the browser console. rte.min.js:6622 Uncaught TypeError: k.getConfig is not a function at e.handleAnchor (rte.min.js:6622) at e.handleSpecificTags (rte.min.js:6728) at e.traverse (rte.min.js:6886) at e.traverse (rte.min.js:6891) at e.traverse (rte.min.js:6891) at execute (rte.min.js:6936) at e.postprocess (rte.min.js:6946) ...

Views

713

Likes

0

Replies

2
Re: Orderhistory json from ContextHub
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
We found that com.adobe.cq.commerce.impl.OrderHistoryServlet returns a very special message in AEM 6.1 when you have geometrix-all package uninstalled. For now we are stopping the cq-commerce-core bundle to ensure this message is not served up publicly.

Views

425

Likes

0

Replies

0
Orderhistory json from ContextHub
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
Hello, We have an issue were someone overrode the content returned from /contexthub.commerce.orderhistory.json and we need to remove it. Problem is we can't find the content in the repo. Any idea where that content is getting retrieved from? Thanks, Brian

Views

892

Likes

0

Replies

1
ConextHub Segments/Store cleanup for production servers
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
Is there a webpage that says what segments and stores we can remove from your production aem servers? I want to get rid of the contexthub.commerce stores and the default segments.

Views

1.5K

Likes

0

Replies

2
Re: AEM Personalization events
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
The solution was to target 'segment-engine:teaser-loaded' event.

Views

5.6K

Likes

0

Replies

4
Re: AEM Personalization events
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
So target-dom-loaded event fires as long as I do not set the engine.

Views

5.6K

Likes

0

Replies

0
Re: AEM Personalization events
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
My engine choice is ContextHub and I'm using the default target option on the component. I don't see 'teaser-loaded' getting called either.

Views

5.6K

Likes

0

Replies

1
AEM Personalization events
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
I need to perform some logic after a targeted component had been rendered on the page. We are using a campaign, segments to display targeted content. Is there a dom event I can listen to to know the personalized component has been added to the page? I have the below code but it no long seem to work. $CQ('div').on('target-dom-loaded', function(event) { console.debug("******************* target-dom-loaded ****************"); });

Views

6.1K

Like

1

Replies

10
Authored segments for custom ContextHub SessionStore
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
I am having difficulty creating a context hub segment that works off my custom session store. Here is my segment: json model:"profileData" : { "rxUserV2" : { "accountId":"ACTIVE", "carrierId":"PSI2659", "carrier":true, "demographics" : { "group6":"ACTIVE", "groupId":"ACTIVE" } }, "uuid":"a91e2f02-9d11-47a1-a910-02bd045c808d" }My session store:ContextHub.console.info(ContextHub.Shared.timestamp(), '[loading] customstore.member-profile-store'); (function($) { 'use strict'; /* default co...

Views

557

Likes

0

Replies

2
Re: Personalization with AngularJS
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
Did this solve your problem? I'm working on an AngularJS project and after targeting a component that contains a controller, it no longer is gets invoked when Angular runs on the page.

Views

396

Likes

0

Replies

0
Re: Oak - No indexes were used.
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
So this has helped a lot but I'm still not seeing the index get used. Looks like the execution plan is using the index.Indexes UsedNo indexes were used.Execution Plan[dam:Asset] as [p] /* lucene:mwRelatedVideosIndex(/oak:index/mwRelatedVideosIndex) :ancestors:/content/dam/mw/videos where (isdescendantnode([p], [/content/dam/mw/videos])) and ([p].[jcr:content/metadata/mw/primaryProduct] = 'product:EC') and ([p].[jcr:content/metadata/mw/asset_language] = 'asset-language:de') */

Views

508

Likes

0

Replies

0
Oak - No indexes were used.
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
Hello, I'm working with a long running query. I've used the Query Explanation feature in AEM 6.1 to review my query. It is not hitting my index. Any help would be appreciated. Query:[nt:base] as [parent] /* traverse "/content/dam/mw/videos//*" where (isdescendantnode([parent], [/content/dam/mw/videos])) and ([parent].[primaryProduct] = 'product:AT') and ([parent].[asset_language] = 'asset-language:en') */ Index A:Index B:

Views

744

Likes

0

Replies

3
Display Node name instead of jcr:title in admin console
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
My client wants to display the node name instead of jcr:title in side the sites section of the admin console. Is there a way to configure this or does it require coding?

Views

476

Likes

0

Replies

2
Re: Using I18N inside a Transformer class
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
The solution was to inject a ResourceBundle Provider then use that to find the resourceBundle. The request wouldn't find it for some reason. @Reference(target="(component.name=org.apache.sling.i18n.impl.JcrResourceBundleProvider)")private ResourceBundleProvider resourceBundleProvideResourceBundle resourceBundle = resourceBundleProvider.getResourceBundle(locale)

Views

305

Likes

0

Replies

0
Re: Using I18N inside a Transformer class
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
I've been banging my head on this for a while. Our i18n node is just 'de' not de_DE. I believe the issue is with the request coming from the ProcessingContext. I've moved the code above to a servlet and it works just fine.

Views

310

Likes

0

Replies

0
Using I18N inside a Transformer class
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
I'm trying to translate text inside a Transformer class. The page's locale is coming out at de but I'm never getting the German string. My i18n libraries are correct because I can get the translated string out via the groovy console. Any idea why the resourceBundle isn't loading the translations? ... class TranslationTransformer extends AbstractSAXPipe implements Transformer { ... @Override public void init(final ProcessingContext context, final ProcessingComponentConfiguration config) throws IO...

Views

469

Likes

0

Replies

3
Re: Extending the AEM console in 6.1
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
smacdonald2008 wrote... I will test this on AEM 6.1 - it could be a bug. I ended up switching the button to a link and it worked.

Views

289

Likes

0

Replies

0
Re: Extending the AEM console in 6.1
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
I cloned aem-admin-extension-new-console to my local, deployed it and it doesn't seem to work in 6.1.

Views

293

Likes

0

Replies

0
Extending the AEM console in 6.1
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
Have there been changes in 6.1 that affect how you extend the AEM admin console in 6.1? I've tried to install the Launches demo from https://docs.adobe.com/docs/en/aem/6-1/develop/extending/customizing-consoles-touch.html#Create%20a%20custom%20console but the plus button is not allowing me to create launches. Am I missing a step somewhere?

Views

444

Likes

0

Replies

4
Re: Content Transformer
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
I think that is the solution but I can't seem to get the raw html to display.

Views

439

Likes

0

Replies

0
Re: Content Transformer
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
kunal23 wrote... You can make use of Sling Output rewriting pipeline for this use case. There are few examples available for rewriting links in the HTML of a page. You can use the same concept to rewrite the title tag in the HTML. https://sling.apache.org/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.html https://helpx.adobe.com/experience-manager/using/creating-link-rewrite.html https://gist.github.com/ryanlunka/5336471 This is the road I originally went down but di...

Views

401

Likes

0

Replies

0
Re: Content Transformer
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
This use case is more like they want to enter {product_abc} in the Page Title field. I need to transform the product title to the local of the page.

Views

404

Likes

0

Replies

0
Content Transformer
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
Is there a way to transform content authors have entered in a component? The ask is that we allow the authors to enter a formatted {} with translation key into our components and then we render the page with the translated text for the page's language. We want to do this on a global scope, not a component to component effort.

Views

1.0K

Likes

0

Replies

5
Re: SIghtly ClientContext conflict on custom components
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
No joy. It is just weird that the mouse over actions work for the parsys but not the custom components. There must be some conflict in the javascript causing the mouse over events to not trigger.

Views

377

Likes

0

Replies

0
Re: SIghtly ClientContext conflict on custom components
Avatar

bfvaughn

bfvaughn
- Adobe Experience Manager
Same issue.  In touch UI the components are not editable.  

Views

379

Likes

0

Replies

0
Likes from