Quantcast
Channel: Adobe Community: Message List
Viewing all 140765 articles
Browse latest View live

Replacement for Crypto library

$
0
0

Hi everyone,

 

I am looking for similar function on AC for Crypto library.

 

So, this piece of code should be adapted/translated to run on AC Classic:

...

const crypto = require('crypto');

sig = crypto.createHmac('sha1', appsecret).update(text).digest('bin');

...

 

I have found this AC function below but not sure is that good replacement.

 

Any suggestion?

 

Regards,

Milan


Re: Webapp overriding standard dependencies

$
0
0

Adding one more point to this questions. Can we complete remove everything that adobe campaign adds to the webapp by default.

Re: How to revert changes

$
0
0

You can add or remove resources, and toggle between revisions of those resources as long as you are working with a library in Development. If your library has been moved out of Dev, you'd have to first reject it from its current environment and move it back into Dev which will enable you to make changes again. This is meant as a way to help streamline the publish workflow, but it has some major inconveniences. However, it sounds like Adobe is making improvements to this and they're working on a rapid rollback functionality. I think this thread may be relevant to your question: https://forums.adobe.com/ideas/10273

Re: AEM Adaptive Forms - Date auto-formatting not working

$
0
0

Hi iabhisheksinha

 

As per my observation, when you write the display date pattern make sure you are entering the date same as the provided format i.e. MM/DD/YYYY [including '/' as well] in your case. If you enter 12042019 instead of 12/04/2019[As mentioned in above pattern] then it will be counted as invalid.

 

Also, if you want to make 12042019 format working, then you have to provide pattern in the format i.e MMDDYYYY or for an alternative you can add custom java script code that will convert the entered number in the date pattern format and output the result.

 

Hope it helps!

Re: Translation Project stuck in “Translation in Progress” stage

$
0
0

I am facing similar issue. but with NPE .

04.12.2019 05:54:53.066 *ERROR* [192.245.162.36 [1575456891753] POST /content/projects/samiksha-test1/jcr:content/dashboard/gadgets/translationjob HTTP/1.1] com.adobe.cq.wcm.translation.impl.servlet.TranslationJobUpdateServlet Error while taking action

java.lang.NullPointerException: null

 

Could this be related to repository status ?

NOTE : I am working with admin account.

Re: How to delete thousand separators in numeric field? (display pattern)

Anchor tag Non-youtube video tracking milestone inside an Iframe

$
0
0

I wanted to understand how can I get video tracking milestones under my following conditions:

video URL mentioned in an anchor tag

 

<a src="some vodeo url"><a/>

 

After playing the video, it generates an Iframe next to the anchor tag. Under the Iframe, I can see #document, html code and video tag inside the body tag.

 

<a src="some vodeo url"></a>

<iframe src="some vodeo url">

#document

<HTML><BODY><video src="some vodeo url" media></video></body></html>

</iframe>

 

But I am not able to access video tag in DTM or browser console unless i go to browser elements(inspect elements) and expand Iframe until the 'video' tag is visible.

 

Also, if I try to edit the iframe (without expanding the iframe in inspect elements) , i am not able to see #document and further inline HTML code.

 

please, provide a solution how can i track this "non-youtube video" without affecting the iframe.

Re: Migrate data of Google Search Console to Abobe Analytics


MIMEType for excel files (.xlsx) in JCR Node

$
0
0

Hi,

 

I am trying to create a nt:file node for excel file. I am trying to add property of mimetype as "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet".

 

But I am getting exception "javax.jcr.nodetype.ConstraintViolationException: No matching property definition: mimeType = application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"

 

Code : node.setProperty("mimeType", mimeTypeService.getMimeType("xlsx"));

 

However if I upload an excel file in dam , jcr:content under original node has property "jcr:mimeType" with value "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"

 

Please provide some pointers.

Re: Coral 2 to coral 3 conversion in AEM 6.5

Re: logging with a data element (custom js)

$
0
0

Your data element needs to be called from somewhere, such as a rule or extension, in order to output the message. This is why you don't see anything automatically when you load a page even though there is nothing syntactically wrong with your code. As this guide explains, a data element's value will attempt to be reset any time it is called:  https://jimalytics.com/tag-management/adobe-launch-data-elements-guide/

 

Also, If you must to log messages to the console, it is recommended to always use the _satellite.logger.log syntax since console.log is not compatible on every browser and has the potential to throw errors. 

Recommendation - Criteria People Who Viewed This, Viewed That - user.viewedEntities

$
0
0

Hi Guys,

 

I am using an Adobe Recommendation based on the People Who Viewed This, Viewed That Algorithm.

I am actually surprised to see pages I have already visited recommended.

I can see my previous pages correctly recorded in my $profile (user.viewedEntities)

 

Is this expected?

 

My workaround would be to remove these pages from the design.

 

Rgds,

Jerome

How to dynamically do the data binding (two-way binding as it happens when we do data binding through binding tab) through javascript?

$
0
0

Is there any other method rather than using the following code, for populating and binding the data at the same time:-

 

this.rawValue=xfa.resolveNode("$record.aaa.bbb").value;

 

The other way to bind data to the fields could be:-

Form.MyForm.bind.match="dataRef";

Form.MyForm.bind.ref="$record.aaa.bbb";

But, this code is not working. It's written at initialize event.

Even if have written the following at form:ready event, with this:-

$form.remerge();

What is the significance of this code? If this is not the right code, please describe any other javascript code/method.

In anyway, I want to bind the data with field as we do in binding tab in AEM Designer. By two way binding I mean that on changing the record the value for field gets updated and also the vice-versa should happen, as it happens when binding is done through binding tab.

Virtual report suite creation

$
0
0

Hi, I was trying to follow up your guide to create a Virtual Report Suite.

I already have Admin account however from the drop down menu, I don't have option for Virtual Report Suite.

From your guide explanation the option should appear as a drop down menu in Components section.

 

Is anyone able to guide me in creating the VRS, please?

 

Many thanks,

 

Iwona

Re: Replace function in query editor

$
0
0

Hi,

 

thank you for helping, but i think i was not expressing myself clear enough, sorry. I only would like to replace the first two characters, if the value is '33' as condition. Would that work as a part of a case when function?

 

Thank you!


Re: at.js via Google Tag Manager?

$
0
0

I do get the same error which prevents GTM from publishing.

Re: Replace function in query editor

$
0
0

And what does the datalenght function do with datalenght(field)-2. Does it produce all the characters of the field minus the first two of them?

 

Thank you

Re: AEM QueryBuilder 'type=cq:Page' condition is not working

$
0
0

It has nothing to do with jcr:mixinType. As per a Query Explanation, your query should be served by oak:index/lucene:

/libs/granite/operations/content/diagnosistools/queryPerformance.html

 

 

Try to employ checkConsistency MBean to verify that /oak:index/lucene is valid

 

/system/console/jmx/org.apache.jackrabbit.oak%3Aname%3DLucene+Index+statistics%2Ctype%3DLu ceneIndex

 

If it is not valid, re-index /oak:index/lucene

Re: Custom made error validation

Re: Coral 2 to coral 3 conversion in AEM 6.5

Viewing all 140765 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>