9 votes
Accepted

How do I access the HTTP request from a custom Ambient processor?

You cannot access the request object directly, as cartridges are web-application-agnostic (i.e. the .NET request object is very different from the JSP one). Instead, you can access the headers and ...
Peter Kjaer's user avatar
  • 19.8k
6 votes
Accepted

Is there any Documentation available for Context Engine?

Context Engine Cartridge documentation can be found here and within that information on how to download the latest device database is here EDIT (Nuno) Also check out Eric Huiza's excellent Community ...
David Forster's user avatar
5 votes
Accepted

Error in cd_client.log file for DXA 1.5 Application

The error is not specific to DXA; it occurs in the Ambient Data Framework. Looking at the Stack Trace, it seems that there is some claim with an unexpected type (HttpResponseStream ?!) which cannot ...
Rick Pannekoek's user avatar
4 votes
Accepted

Accessing a user's Claim Store from another application

I would probably look into passing any relevant claims that are currently in the claimstore as parameters to this external service - which is very similar to what SmartTarget is doing. Basically, ...
Nuno Linhares's user avatar
  • 29.1k
4 votes

Configure XPM Footprints to overwrite claims in Web 8

Ok apparently we need claims to be declared both in the <ForwardedClaims> and <GloballyAcceptedClaims> in the staging site's cd_ambient_conf.xml. Here is a working config file: <?...
Philippe Conil's user avatar
4 votes
Accepted

ADF <globallyacceptedclaims>

It sounds from your question that you want to specify a wildcard in a Globally Accepted Claim and allow processing any forwarded claims that match this wildcard. Unfortunately you cannot specify ...
Nickoli Roussakov's user avatar
4 votes
Accepted

using the ADF server variables (querystring data)

The ADF stores a couple of the taf:request:parameters entries as a HashMap<String,String[]>>. These are: CONTENT_LENGTH CONTENT_TYPE QUERY_STRING PATH_INFO In addition, the ADF stores the ...
Raimond's user avatar
  • 7,253
3 votes

using the ADF server variables (querystring data)

I think this is returned as a List<string> object. You may want to check how I do some of this claim reading on the Context Engine Wrapper.
Nuno Linhares's user avatar
  • 29.1k
3 votes
Accepted

The target class does not match the specified target type

A ClassCastException happens when you try to cast objects of one type to a different type and the two aren't compatible. I would guess that either you accidentally installed the wrong version of a ...
Peter Kjaer's user avatar
  • 19.8k
3 votes
Accepted

XPM FootPrint not overriding current claims

The most likely reason is that it is not whitelisted in cd_ambient_conf.xml. You will need to make sure that the IP and the user account (if applicable) is whitelisted -- as well as the new claim. ...
Peter Kjaer's user avatar
  • 19.8k
3 votes

Context Engine not returning the proper device version information

@Sayantan, in this case the issue is related to the iPhone's user-agent being vague. The discover-min.js can only discover the information that is made available by the vendors. In this case we can ...
Phil Medcraft's user avatar
3 votes

Where are OData/ADF Access Tokens stored?

The data can be shared across machine using following: In the cd_storage_conf.xml, in session wrappers give the same machine name across all the servers that are sharing the access token. Given ...
Hiren Kaku's user avatar
  • 3,728
2 votes

Update Preview issue in Experience Manager, Using Tridion 2013 SP1, DD4T 2.0 (JAVA)

1) Have you verified on your staging website that the appropriate session preview claim(s) are present in the ADF? You can find a java page to dump the contents of the claimstore here. 2) Are you ...
Bjørn van Dommelen's user avatar
2 votes

XPM FootPrint not overriding current claims

Do you have the footprint cartridge configured in your ambient data configuration, as per step 9 of Quick Guide to installing Experience Manager (Session Preview)?
David Forster's user avatar
2 votes

NULL Claim Store JAVA DXA1.4

The problem is likely that the AmbientClientFilter is not enabled. It should not be needed to do that in code like you tried; it should be done through DXA properties configuration. This config has ...
Rick Pannekoek's user avatar
2 votes

Configure XPM Footprints to overwrite claims in Web 8

There are basically two parts to the forwarding of claims: the client needs to know which claims to attempt to forward (ForwardedClaims section) and the server needs to know which claims to accept (...
Peter Kjaer's user avatar
  • 19.8k
2 votes

Ambient Data Filter Performance Issue

Answer to your question, yes, Indeed It's expected and executed when a new session starts, onRequestStart at the beginning of each request, onRequestEnd at the ending of each request if ADF enabled, ...
Velmurugan's user avatar
  • 7,930
2 votes
Accepted

ADF behaviour in Web 8+

Functionally, there is no difference in the new version. The session data is gathered from the website and forwarded to the content service. So all of the data is from the website session, hence a lot ...
Peter Kjaer's user avatar
  • 19.8k
1 vote

No triggers getting returned from Ambient data Helper

This issue was resolved by referencing session_cartridge.jar and session_cartridge_conf.xml file in content service. Details about how to reference session cartride can be found at https://docs.sdl....
Rites's user avatar
  • 301
1 vote
Accepted

Ambient Data Framework Throws 500 Status Code

I was working in an SDL Cloud implementation which made it difficult to troubleshoot this issue. I reached out to SDL and they've provided a hotfix (CD_8.5.0.6337) which worked.
Tim Alonso's user avatar
1 vote

XPM Update Preview issue | SDL web 8.5 with DXA 1.8

Try Troubleshooting the XPM issue by following steps: To ensure Installation done with correct Jars and version of the preview service and session-content services and register with discovery double ...
Velmurugan's user avatar
  • 7,930
1 vote

Preference Management Examples

Preferences Cartridge One approach would be to only set and use Claims based on options a user specifically chose. For example: Create one or more custom "Preferences" or "Contact" Cartridge(s) Set ...
1 vote

Can we enable AmbientFrameworkModule based on url filter in .net

The short answer is no. There is no way to configure an HTTP module to only run for certain requests (it would have to be a Handler instead). I do want to point out, though, that preCondition="...
Peter Kjaer's user avatar
  • 19.8k
1 vote
Accepted

About ADF solution for Update Preview issue in XPM

There's a lot of parts of this question, but I'll just try to answer your last question about why the log files are 0 bytes. I think this is caused by you not closing the file correctly. I believe ...
Peter Kjaer's user avatar
  • 19.8k
1 vote

Context Engine Cartridge - Initial Load Scenario

Perhaps is possible to try and detect the cookie in your app code, if it's not found, send the user to a page where this value is set ("proxy page"). Once set, then you can redirect to the relevant ...
johnwinter's user avatar
  • 14.3k
1 vote

XPM FootPrint not overriding current claims

Mukesh as Peter and Devid suggested please check your cd_ambient_conf.xml file. But before you move to the detail check just verify once again have you updated your claim into that cd_ambient_conf....
Sayantan Basu's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible