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

Re: Mapping variables (evars and props) in AEP sdk5

$
0
0

Processing rules to map variables and metrics are always applied to a report suite. Mobile Services UI and Processing Rules UI (within Adobe Analytics) use the same APIs to manage rules for a given report suite.

 

As you point out, using Mobile Services UI requires extra steps - however, for some users, the MS UI may be easier to use. You may accomplish mapping in either of the two UIs you find comfortable.


Re: Anonymous Access Not Enabled Need to Log Into AEM To View Public Content

$
0
0

Since you have corrected the replication now, please try pushing the form again. Both the approaches are ok but using replication to publish is the preffered one.

Re: How to exclude PAID traffic from NATURAL SEARCH

$
0
0

Here is an Idea I used very succesfuly.

 

For each Paid SEM advertiser have them embed under a custom URL variable in your SEM account a  custom ID. If you use Google and Bing for example. One for each. Then in all PAID search the IDs will be present. You then can filter on referrer contains the IDs or not including the ids, you could even do a Adobe Tracking ID for each as part of the custom variable. Then map users behaviour to organic vs paid via adobe IDs

 

 

 

good luck

Re: Salesforce DMP/Audience Studio segments in Adobe Target

$
0
0

SivaK You can still target anonymous users the same way using the mbox parameters. You can capture the category the user is viewing as an mbox parameter and then target based on that. This would be real time.

 

Information on this use case can be found at

 

Pass Parameters to a global mbox and Methods

Adobe Target VEC error

$
0
0

In Chrome, I'm receiving a VEC error when creating an activity saying the page was refused by the server. I'm able to create activities with no issues in Firefox and Edge. See attached screenshot.

target-vec-error.PNG

Re: AEM Preicate query with cq: tags

$
0
0

Hi,

Try below:

 

path=/content/mobile-apps

path.self=false

type=cq:Page

property=jcr:content/cq:tags

property.value=jurassicworldfacts:featured

Re: QueryBuilder with cq:tags not working as expected

$
0
0

Hi,

Try below:

 

path=/content/mobile-apps

path.self=false

type=cq:Page

property=jcr:content/cq:tags

property.value=jurassicworldfacts:featured

Re: render infinity.json with child nodes


Re: Disable CSRF on AEM 6.3

$
0
0

You can write a redirect at apache server to return response of empty file when token.json is requested.

e.g.

 

RewriteEngine  on
RewriteRule   "^/libs/granite/csrf/token\.json$"  "/emptyfile.json"[PT]

OOTB Navigation component model class error

$
0
0

Hi All,

I am using OOTB navigation component on my local AEM6.4 instance and its working fine as per the behavior but when I am using the same component on my client AEM6.4 instance( DEV and all instances) , I am getting model class missing error:

 

 

As compared with my client machine AEM6.4 and my local machine AEM6.4, I am using SP6.4.2 and acs-aem-commons-content-3.16.1-SNAPSHOT.zip on my local machine but both the package were not available on client machine. I have tired to install both the package also even after that I am getting the same error.

Please suggest which supporting package is missing here for navigation component.

 

thanks

Creating custom exception class

$
0
0

As a part of some library, I want to be able to throw some custom exception. I define my exception class like this:

 

loadLibrary("xtk:shared/nl.js")

 

LibException = function(message, data) {

  this.message = message

  this.data = data

}

 

LibException.getMessage = function() {

  return this.message

}

 

LibException.getData = function() {

  return this.data

}

 

LibException.prototype.toString = function() {

     return "Library Exception: " + this.message

}

 

LibException.isLibException = function(obj) {

  return NL.isObject(obj) && obj.constructor === LibException

}

 

//...

 

throw new LibException("Test Exception", { test: 1 })

 

It works, but I cannot see any error message in the log. All I can see there is:

 

16/09/2019 14:21:56 js SCR-160012 JavaScript: error while evaluating script 'WKF11906/js'.

 

Now, if I throw Error class, the message will be written into the logs:

 

try {

 

  //...

throw new LibException("Test Exception", { test: 1 })

//...

} catch (e) {

  if (LibException.isLibException(e)) {

     throw new Error(e.toString())

}

throw e

}

 

logError also works but the result log message will not be so verbose.

 

catch (e) {

  if (LibException.isLibException(e)) {

     logError(e.toString())

}

logError(e)

}

 

I need custom class, so I can provide extra data, check for error type and potentially re-try the process if it has been network issue or something similar.

 

NB. I understand, that I can simply modify Error object, something like this:

 

But

var error = new Error("Network Error")

error.type = "NetworkError"

error.extraData = { port: 9999 }

 

throw error

 

 

//..

 

catch(e) {

if (e.type === "NetworkError") {

    //sleep for some time and re-try

} else {

   // any other error

   throw e

}

}

 

But I looking for a more structured solution.

Re: Error while exporting report in excel format

Re: Screen Width - Sightly/HTL

$
0
0

Hi,

 

Can someone help with the above?

 

Thanks.

Re: Old Forms Forums archived?

$
0
0

Hey Tim Goodman_BTES, thanks for reporting this! Our team received this feedback at the end of last week and confirmed this was an incorrect redirect - we're working on getting this fixed. You should be able to access those links at http://forums.adobe.com after the fix. Thanks again for reporting!

Re: Identify opt-out delivery_id

$
0
0

Hi ,

 

*Thinking out loud*

 

In delivery schema under indicator there is one attribute

<attribute desc="Total count of clicks on the unsubscription link" label="Opt-Out" name="optOut" type="long"/>

This calculates total count of click on Unsub links, So if you use this and build you logic like

 

if indicators/@optOut >0, select deliveryID .

 

Thanks,

Kapil


Re: Creating custom exception class

$
0
0

Hey,

 

How about using String groups?

 

Use below in your library

 

// Infos, errors or warnings

var Test_STRING_GROUP = new StringGroup("namespace:schema")

try

{

//....

}

catch (e)

{

    if (e.soapFault)

      logError(Test_STRING_GROUP .error000_1(e.soapFault.faultstring))

    else

      logError(Test_STRING_GROUP .error000_1(e))

  }

 

Once done, then you can set message and  Text in String groups , something like

Message : error000_1

Text : An error occurred: {1}

 

Thanks,

Kapil

Re: Error while exporting report in excel format

Add a new button to assetdetails Screen

$
0
0

Hi All,

 

I need to add a new button on to the "assetdetails" screen below. Click action on this would open a new tab with URL like

https://<author-instance>/content/aemreview/en/documentreview.

html/content/dam/review/assets.jpg

 

 

 

 

It would be very help if someone can share a document or pointer on how to achieve this.

Re: How to enable crxde light in author instance via domain.

$
0
0

Hi Ruchi,

 

Please confirm whether your instance is running in production ready mode Running AEM in Production Ready Mode

 

In order to ensure that AEM installations are as secure as possible, the security checklist recommends disabling WebDAV in production environments.

 

However, CRXDE Lite depends on the org.apache.sling.jcr.davex bundle to function properly, so disabling WebDAV will effectively disable CRXDE Lite as well.

 

As stated by Jaideep , crx/de lite can be enabled by Enabling CRXDE Lite in AEM .

 

I hope it helps.

Re: Error while exporting report in excel format

$
0
0

Hi,

1. Don't you have any errors in the web.log file about this report?

2. can you please check other export options like PDF,office. Is error same for PDF as well?

3. I am assuming OpenOffice installed on the frontal web server and  applicative server as well? Is that correct?

 

-Kapil

Viewing all 150094 articles
Browse latest View live